CVE-2026-98397 in Linux정보

요약

\~에 의해 VulDB • 2026. 10. 15.

리눅스 커널에서 다음 취약점이 해결되었습니다:

platform/x86: x86-android-tablets: 2차 fwnode 해제 시 장치 참조 유지

gpio_secondary_fwnode_init() 함수 내에서 acpi_bus_find_device_by_name()은 장치 참조를 반환하지만, 지역 변수 dev는 __free(put_device)로 선언되어 있어 각 반복문의 끝에서 참조가 해제됩니다.与此同时, devm_add_action_or_reset()는 gpio_secondary_unset()를 위해 dev 포인터를 저장하지만 참조 카운트를 증가시키지 않으므로, 중간에 장치가 해제되면 드라이버 정리 과정에서 use-after-free 취약점이 발생할 수 있습니다.

devres 액션을 등록할 때 get_device()로 명시적인 장치 참조를 획득하고, gpio_secondary_unset() 내부에서 put_device()로 이를 해제합니다.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

출처

Want to stay up to date on a daily basis?

Enable the mail alert feature now!