kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-98397 platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown

설명

In the Linux kernel, the following vulnerability has been resolved: platform/x86: x86-android-tablets: hold device reference for secondary fwnode teardown In gpio_secondary_fwnode_init(), acpi_bus_find_device_by_name() returns a device reference, but the local dev variable is declared with __free(put_device), dropping the reference at the end of each iteration. Meanwhile, devm_add_action_or_reset() saves the dev pointer for gpio_secondary_unset() without incrementing its reference count, which could lead to a use-after-free during driver teardown if the device is released in the interim. Acquire an explicit device reference with get_device() when registering the devres action, and drop it with put_device() inside gpio_secondary_unset().

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 7.2

    해결 버전

    • 7.2 미만
    • 7.2.7 이상

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의