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.
Published: 2026-06-03
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability is a use‑after‑free in the Linux kernel power supply driver for the pm8916_lbc chip. During module removal the extcon handle is freed before the interrupt request handler is unregistered. A stray interrupt can therefore invoke extcon_set_state_sync() on a dangling pointer, leading to a kernel panic or memory corruption.

Affected Systems

All systems running a Linux kernel that includes the pm8916_lbc power‑supply driver prior to the commit that reorders the IRQ request after extcon registration. Devices such as embedded boards or handsets that employ the PMIC chip managing the power rails are particularly affected.

Risk and Exploitability

The CVSS score is 7.8, and the EPSS score is less than 1%, indicating a high severity but low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that a local user who can trigger a power event while the driver is unloading could activate the race condition, potentially producing a kernel crash or leveraging memory corruption toward privilege escalation. The lack of publicly documented exploitation lowers the immediate risk, yet a local privileged attacker could still cause catastrophic kernel failure if the exploitation conditions are met.

Generated by OpenCVE AI on June 9, 2026 at 23:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that requests the IRQ after the extcon registration
  • If a kernel upgrade is not currently possible, unload or disable the pm8916_lbc driver to prevent execution of the vulnerable code
  • Consider temporarily suppressing power‑supply events that could trigger extcon handling while a patch is pending

Generated by OpenCVE AI on June 9, 2026 at 23:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 04 Jun 2026 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 04 Jun 2026 00:15:00 +0000


Wed, 03 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 03 Jun 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title power: supply: pm8916_lbc: Fix use-after-free for extcon in IRQ handler
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-03T15:49:41.607Z

Reserved: 2026-05-13T15:03:33.107Z

Link: CVE-2026-46246

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-03T18:16:24.793

Modified: 2026-06-09T20:36:32.680

Link: CVE-2026-46246

cve-icon Redhat

Severity :

Publid Date: 2026-06-03T00:00:00Z

Links: CVE-2026-46246 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T23:15:16Z

Weaknesses