CVE-2026-45869 Details
Description
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.
A NULL pointer dereference vulnerability has been identified in the Linux kernel's power supply WM97XX battery driver. This issue arises because the 'request_irq()' function is called before a 'power_supply' handle is properly allocated and registered. If an interrupt occurs between these two steps, the uninitialized 'power_supply' handle will be used in the 'power_supply_changed()' function, leading to a NULL pointer dereference. The vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/39fe0eac6d755ef215026518985fcf8de9360e9e | kernel.org | Patch |
| https://git.kernel.org/stable/c/3d7b5391bb95505b3581c1fb77150c467ab92864 | kernel.org | Patch |
| https://git.kernel.org/stable/c/438f9a303ea8b55162b2d5376490c2ab3ec165a0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/86183153c299e8bb1839e717286d6c6f39508a59 | kernel.org | Patch |
| https://git.kernel.org/stable/c/93bdf715d33cf5ee01c58e8546c2469c71ce082a | kernel.org | Patch |
| https://git.kernel.org/stable/c/9b7d77cb046b4487e8e511e04e62b6f416ce845c | kernel.org | Patch |
| https://git.kernel.org/stable/c/c0def811ad8d642dca9b6d31a198cc39f5f90837 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dfaf235d5a6b60cbf115a14a656946303ad007b7 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.32, < 5.10.252 >= 5.11, < 5.15.202 >= 5.16, < 6.1.165 >= 6.2, < 6.6.128 >= 6.7, < 6.12.75 >= 6.13, < 6.18.14 >= 6.19, < 6.19.4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 25, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 27, 2026 | New CVE Received | kernel.org |