CVE-2026-98008
요약
\~에 의해 VulDB • 2026. 09. 25.
리눅스 커널에서 다음 취약점이 해결되었습니다:
net: macb: 고정 링크(fixed-link) 해지 시 NULL 포인터 역참조 수정
디바이스 트리가 fixed-link를 설명하고 "mdio" 자식 노드가 없는 경우, macb_mii_init()은 MDIO 버스를 할당하지 않고 조기에 반환하여 bp->mii_bus가 NULL이 됩니다.
두 가지 정리 경로에서 이 NULL 버스가 역참조됩니다:
1. 드라이버 해지 시, macb_remove()는 조건 없이 mdiobus_unregister(bp->mii_bus)를 호출하며, 이로 인해 oops가 발생합니다:
Unable to handle kernel NULL pointer dereference at virtual address 00000000000004a8 pc : mdiobus_unregister+0x14/0xa4 lr : macb_remove+0x38/0xa4 Call trace: mdiobus_unregister+0x14/0xa4 (P) macb_remove+0x38/0xa4 platform_remove+0x20/0x30 device_release_driver_internal+0x1c8/0x224 unbind_store+0xb4/0xbc
2. macb_probe()의 probe 오류 경로에서는, macb_mii_init()은 성공했지만 후속 단계가 실패한 경우에 도달하며, err_out_unregister_mdio 레이블이 동일한 조건 없는 정리를 수행합니다.
mdiobus_unregister() 및 mdiobus_free()는 NULL 버스에 대해 보호 장치를 제공하지 않으므로, macb_remove()와 probe 오류 경로 양쪽에서 호출을 보호해야 합니다.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.