CVE-2026-46246 power: supply: pm8916_lbc: Fix use-after-free for extcon in IRQ handler

High 7.8 Published Updated

A race condition in the Linux kernel power supply driver allows a use-after-free, potentially causing system crashes or memory corruption.

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-46246?

CVE-2026-46246 is a high-severity use after free vulnerability in Linux kernel, published on 3 Jun 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: pm8916_lbc: Fix use-after-free for extcon in IRQ handler

Using the `devm_` variant for requesting IRQ _before_ the `devm_` variant for allocating/registering the `extcon` handle, means that the `extcon` handle will be deallocated/unregistered _before_ the interrupt handler (since `devm_` naturally deallocates in reverse allocation order). This means that during removal, there is a race condition where an interrupt can fire just _after_ the `extcon` handle has been freed, *but* just _before_ the corresponding unregistration of the IRQ handler has run.

This will lead to the IRQ handler calling `extcon_set_state_sync()` with a freed `extcon` handle. Which usually crashes the system or otherwise silently corrupts the memory...

Fix this racy use-after-free by making sure the IRQ is requested _after_ the registration of the `extcon` handle.

Weakness: CWE-416

Which versions are affected by CVE-2026-46246?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-46246?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-46246 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-46246, DEBIAN-CVE-2026-46246, GHSA-r949-42x5-fm64, UBUNTU-CVE-2026-46246.

Is CVE-2026-46246 in your software?

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

Check your SBOMs for free