{"id":"CVE-2026-45869","aliases":["CVE-2026-45869"],"related":[],"kind":"vulnerability","state":"published","title":"power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()\n\nIn `probe()`, `request_irq()` is called before allocating/registering a\n`power_supply` handle. If an interrupt is fired between the call to\n`request_irq()` and `power_supply_register()`, the `power_supply` handle\nwill be used uninitialized in `power_supply_changed()` in\n`wm97xx_bat_update()` (triggered from the interrupt handler). This will\nlead to a `NULL` pointer dereference since\n\nFix this racy `NULL` pointer dereference by making sure the IRQ is\nrequested _after_ the registration of the `power_supply` handle. Since\nthe IRQ is the last thing requests in the `probe()` now, remove the\nerror path for freeing it. Instead add one for unregistering the\n`power_supply` handle when IRQ request fails.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()\n\nIn `probe()`, `request_irq()` is called before allocating/registering a\n`power_supply` handle. If an interrupt is fired between the call to\n`request_irq()` and `power_supply_register()`, the `power_supply` handle\nwill be used uninitialized in `power_supply_changed()` in\n`wm97xx_bat_update()` (triggered from the interrupt handler). This will\nlead to a `NULL` pointer dereference since\n\nFix this racy `NULL` pointer dereference by making sure the IRQ is\nrequested _after_ the registration of the `power_supply` handle. Since\nthe IRQ is the last thing requests in the `probe()` now, remove the\nerror path for freeing it. Instead add one for unregistering the\n`power_supply` handle when IRQ request fails.","source":"cvelist"}],"published":"2026-05-27T12:15:49.107Z","modified":"2026-06-25T21:06:30.297Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"3d7b5391bb95505b3581c1fb77150c467ab92864","status":"affected"},{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"438f9a303ea8b55162b2d5376490c2ab3ec165a0","status":"affected"},{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"9b7d77cb046b4487e8e511e04e62b6f416ce845c","status":"affected"},{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"86183153c299e8bb1839e717286d6c6f39508a59","status":"affected"},{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"93bdf715d33cf5ee01c58e8546c2469c71ce082a","status":"affected"},{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"c0def811ad8d642dca9b6d31a198cc39f5f90837","status":"affected"},{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"dfaf235d5a6b60cbf115a14a656946303ad007b7","status":"affected"},{"type":"git","introduced":"7c87942aef52d2120e95ff1dec739998b9f95a78","fixed":"39fe0eac6d755ef215026518985fcf8de9360e9e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.32","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.32","status":"unaffected"},{"type":"semver","introduced":"5.10.252","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.202","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.32","fixed":"5.10.252"},{"status":"affected","introduced":"5.11","fixed":"5.15.202"},{"status":"affected","introduced":"5.16","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3d7b5391bb95505b3581c1fb77150c467ab92864","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/438f9a303ea8b55162b2d5376490c2ab3ec165a0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b7d77cb046b4487e8e511e04e62b6f416ce845c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86183153c299e8bb1839e717286d6c6f39508a59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93bdf715d33cf5ee01c58e8546c2469c71ce082a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0def811ad8d642dca9b6d31a198cc39f5f90837","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dfaf235d5a6b60cbf115a14a656946303ad007b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39fe0eac6d755ef215026518985fcf8de9360e9e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45869","url":"https://www.cve.org/CVERecord?id=CVE-2026-45869","licence":"CVE Terms of Use","modified":"2026-05-27T12:15:49.107Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45869","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45869","licence":"Public domain","modified":"2026-06-25T21:06:30.297Z"}],"updatedAt":"2026-11-25T22:59:22.481Z","epss":{"score":0.0016,"percentile":0.05457,"date":"2026-12-01T12:00:22.000Z"}}