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

CVE-2026-98971 gpio: exar: initialize the ID before registering its cleanup

설명

In the Linux kernel, the following vulnerability has been resolved: gpio: exar: initialize the ID before registering its cleanup devm_add_action_or_reset() invokes the cleanup action immediately when registering the action fails. gpio_exar_probe() currently stores the allocated ID in exar_gpio only after registering the action, so that failure makes exar_devm_ida_free() release ID 0. If the allocated ID is nonzero, this leaks that ID and can free ID 0 belonging to another device. Store the ID before registering the cleanup action so both the immediate failure path and normal device teardown release the correct allocation.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.11

    해결 버전

    • 5.11 미만
    • 5.15.224 이상
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.113 이상
    • 6.18.57 이상
    • 7.2.11 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의