CVE-2022-49825 in Linux
요약
\~에 의해 VulDB • 2026. 05. 29.
리눅스 커널에서 다음 취약점이 해결되었습니다:
ata: libata-transport: ata_tport_add()의 오류 처리 수정
ata_tport_add() 함수에서 transport_add_device()의 반환값이 확인되지 않습니다. 그 결과, 추가되지 않은 장치를 제거하기 위해 transport_remove_device()가 호출되면서 모듈 제거 시 null-ptr-deref(널 포인터 역참조)가 발생합니다.
Unable to handle kernel NULL pointer dereference at virtual address 00000000000000d0 CPU: 12 PID: 13605 Comm: rmmod Kdump: loaded Tainted: G W 6.1.0-rc3+ #8 pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : device_del+0x48/0x39c lr : device_del+0x44/0x39c Call trace: device_del+0x48/0x39c attribute_container_class_device_del+0x28/0x40 transport_remove_classdev+0x60/0x7c attribute_container_device_trigger+0x118/0x120 transport_remove_device+0x20/0x30 ata_tport_delete+0x34/0x60 [libata]
ata_port_detach+0x148/0x1b0 [libata]
ata_pci_remove_one+0x50/0x80 [libata]
ahci_remove_one+0x4c/0x8c [ahci]
ata_tport_add() 함수에서 transport_add_device()의 반환값을 확인하고 처리함으로써 이를 수정합니다.
If you want to get best quality of vulnerability data, you may have to visit VulDB.