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

CVE-2026-45868 pinctrl: single: fix refcount leak in pcs_add_gpio_func()

설명

In the Linux kernel, the following vulnerability has been resolved: pinctrl: single: fix refcount leak in pcs_add_gpio_func() of_parse_phandle_with_args() returns a device_node pointer with refcount incremented in gpiospec.np. The loop iterates through all phandles but never releases the reference, causing a refcount leak on each iteration. Add of_node_put() calls to release the reference after extracting the needed arguments and on the error path when devm_kzalloc() fails. This bug was detected by our static analysis tool and verified by my code review.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.10

    해결 버전

    • 3.10 미만
    • 5.10.252 이상
    • 5.15.202 이상
    • 6.1.165 이상
    • 6.6.128 이상
    • 6.12.75 이상
    • 6.18.14 이상
    • 6.19.4 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의