Description
In the Linux kernel, the following vulnerability has been resolved:

power: supply: lp8788-charger: fix use-after-free on remove

lp8788_charger_remove() flushes charger_work before unregistering the
IRQs. An IRQ thread can queue charger_work after flush_work() has
returned. The work can then run after devres frees pchg and dereference
it in lp8788_charger_event().

Unregister the IRQs first. free_irq() waits for any running threaded
handler, so no handler can queue more work afterwards. Then use
cancel_work_sync() to cancel pending work or wait for running work to
finish.

This issue was found by an in-house static analysis tool.
Published: 2026-09-11
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel use‑after‑free in the lp8788 charger driver
Action: Immediate Patch
AI Analysis

Impact

A use‑after‑free flaw occurs in the kernel’s lp8788 charger driver when the device is removed. The driver attempts to flush pending work before unregistering interrupts so that an IRQ thread can still schedule work after the flush. As a result, the work may later dereference memory that has already been freed, a classic use‑after‑free scenario under CWE‑364. The symptoms can include a memory corruption that may lead to a kernel panic or other unstable behavior.

Affected Systems

All Linux kernels that compile the lp8788 charger driver are potentially affected. No specific kernel version or distribution is listed, meaning any kernel that includes this driver and does not incorporate the patch could be vulnerable.

Risk and Exploitability

The CVSS score of 4.1 labels the flaw as moderate severity, while the EPSS score of <1% indicates a very low but non‑zero probability of exploitation. Because the bug requires manipulation of driver removal or a power event, it is likely confined to local or privileged actors; remote exploitation is not indicated. The flaw is not listed in CISA’s KEV catalog, which further suggests it is.

Generated by OpenCVE AI on September 13, 2026 at 07:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that incorporates the patch, which unregisters interrupts before flushing work and uses cancel_work_sync to avoid scheduling after memory is freed.
  • If a kernel upgrade is not immediately possible, rebuild the kernel source with the updated driver code and install the patched kernel image.
  • As an interim measure, avoid unloading or removing the lp8788 charger driver during normal operation, for example by disabling hot‑plug‑related driver management or ensuring the device is powered off cleanly before removal.

Generated by OpenCVE AI on September 13, 2026 at 07:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-364
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: power: supply: lp8788-charger: fix use-after-free on remove lp8788_charger_remove() flushes charger_work before unregistering the IRQs. An IRQ thread can queue charger_work after flush_work() has returned. The work can then run after devres frees pchg and dereference it in lp8788_charger_event(). Unregister the IRQs first. free_irq() waits for any running threaded handler, so no handler can queue more work afterwards. Then use cancel_work_sync() to cancel pending work or wait for running work to finish. This issue was found by an in-house static analysis tool.
Title power: supply: lp8788-charger: fix use-after-free on remove
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-09-11T19:43:27.906Z

Reserved: 2026-09-11T19:38:34.709Z

Link: CVE-2026-89468

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:27.910

Modified: 2026-09-11T20:19:27.910

Link: CVE-2026-89468

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-11T19:43:27Z

Links: CVE-2026-89468 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T07:15:17Z

Weaknesses
  • CWE-364

    Signal Handler Race Condition