A use-after-free vulnerability exists in the Linux kernel's power supply driver for act8945a. (CVE-2026-45867)
A use-after-free vulnerability exists in the Linux kernel's power supply driver for act8945a. The issue arises from the order of resource allocation and deallocation, where the interrupt request (IRQ) is requested before the power_supply handle is registered. This can cause a race condition during device removal or probe, leading to the IRQ handler invoking power_supply_changed() with a freed or uninitialized power_supply handle, potentially causing system crashes or memory corruption.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-45867 involves a use-after-free condition in the act8945a power supply driver. The root cause is the use of devm_ variants for requesting IRQ before allocating/registering the power_supply handle. Because devm_ deallocates resources in reverse order, the power_supply handle may be freed before the IRQ handler is unregistered. This race condition allows an interrupt to trigger after the handle is freed but before IRQ unregistration, causing the IRQ handler to call power_supply_changed() on a freed handle. A similar race can occur during probe if an interrupt fires before the power_supply handle is registered, leading to use of an uninitialized handle. The fix involves requesting the IRQ only after the power_supply handle registration to prevent this race.
Potential Impact
Exploitation of this vulnerability can lead to system crashes or silent memory corruption due to use-after-free of kernel objects. This affects system stability and security, potentially allowing attackers with local privileges to cause denial of service or escalate privileges by exploiting the corrupted state.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves changing the order of resource allocation to request the IRQ after registering the power_supply handle. Until an official patch is available, users should monitor vendor advisories and apply updates once released.
A use-after-free vulnerability exists in the Linux kernel's power supply driver for act8945a. (CVE-2026-45867)
Description
A use-after-free vulnerability exists in the Linux kernel's power supply driver for act8945a. The issue arises from the order of resource allocation and deallocation, where the interrupt request (IRQ) is requested before the power_supply handle is registered. This can cause a race condition during device removal or probe, leading to the IRQ handler invoking power_supply_changed() with a freed or uninitialized power_supply handle, potentially causing system crashes or memory corruption.
CVSS v3.1
Score 7.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-45867 involves a use-after-free condition in the act8945a power supply driver. The root cause is the use of devm_ variants for requesting IRQ before allocating/registering the power_supply handle. Because devm_ deallocates resources in reverse order, the power_supply handle may be freed before the IRQ handler is unregistered. This race condition allows an interrupt to trigger after the handle is freed but before IRQ unregistration, causing the IRQ handler to call power_supply_changed() on a freed handle. A similar race can occur during probe if an interrupt fires before the power_supply handle is registered, leading to use of an uninitialized handle. The fix involves requesting the IRQ only after the power_supply handle registration to prevent this race.
Potential Impact
Exploitation of this vulnerability can lead to system crashes or silent memory corruption due to use-after-free of kernel objects. This affects system stability and security, potentially allowing attackers with local privileges to cause denial of service or escalate privileges by exploiting the corrupted state.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves changing the order of resource allocation to request the IRQ after registering the power_supply handle. Until an official patch is available, users should monitor vendor advisories and apply updates once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-42vv-474v-7pc6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-45867"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a3ef7f327e9c79719036eb9
Added to database: 06/26/2026, 22:06:43 UTC
Last enriched: 06/26/2026, 22:52:40 UTC
Last updated: 07/31/2026, 19:24:47 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.