CVE-2026-45869
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 27 May 2026
- Last modified
- 25 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 2.6.32, < 5.10.252 | 5.10.252 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.202 | 5.15.202 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.165 | 6.1.165 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.128 | 6.6.128 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.75 | 6.12.75 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.18.14 | 6.18.14 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 6.19.4 | 6.19.4 |
References
- https://git.kernel.org/stable/c/39fe0eac6d755ef215026518985fcf8de9360e9e · Patch
- https://git.kernel.org/stable/c/3d7b5391bb95505b3581c1fb77150c467ab92864 · Patch
- https://git.kernel.org/stable/c/438f9a303ea8b55162b2d5376490c2ab3ec165a0 · Patch
- https://git.kernel.org/stable/c/86183153c299e8bb1839e717286d6c6f39508a59 · Patch
- https://git.kernel.org/stable/c/93bdf715d33cf5ee01c58e8546c2469c71ce082a · Patch
- https://git.kernel.org/stable/c/9b7d77cb046b4487e8e511e04e62b6f416ce845c · Patch
- https://git.kernel.org/stable/c/c0def811ad8d642dca9b6d31a198cc39f5f90837 · Patch
- https://git.kernel.org/stable/c/dfaf235d5a6b60cbf115a14a656946303ad007b7 · Patch
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)