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

Medium 5.5 Published Updated

A race condition in the Linux kernel wm97xx power supply driver causes a NULL pointer dereference, leading to a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45869?

CVE-2026-45869 is a medium-severity vulnerability in Linux kernel, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2026-45869?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-45869?

Apply the vendor's patch.

Is CVE-2026-45869 being exploited?

There is no known exploitation of CVE-2026-45869 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-45869, DEBIAN-CVE-2026-45869, GHSA-7c8r-gw7p-h2xw, ROOT-OS-DEBIAN-11-CVE-2026-45869, ROOT-OS-UBUNTU-2204-CVE-2026-45869, ROOT-OS-UBUNTU-2404-CVE-2026-45869 and 1 more.

Is CVE-2026-45869 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free