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

CVE-2026-45869 power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()

설명

In the Linux kernel, the following vulnerability has been resolved: power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed() In `probe()`, `request_irq()` is called before allocating/registering a `power_supply` handle. If an interrupt is fired between the call to `request_irq()` and `power_supply_register()`, the `power_supply` handle will be used uninitialized in `power_supply_changed()` in `wm97xx_bat_update()` (triggered from the interrupt handler). This will lead to a `NULL` pointer dereference since Fix this racy `NULL` pointer dereference by making sure the IRQ is requested _after_ the registration of the `power_supply` handle. Since the IRQ is the last thing requests in the `probe()` now, remove the error path for freeing it. Instead add one for unregistering the `power_supply` handle when IRQ request fails.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.32

    해결 버전

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

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의