Linux Kernel Power Supply RT9455 Use-After-Free Vulnerability in Power Supply Changed Function

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's handling of the Richtek RT9455 battery charger within the power supply subsystem. This issue arises because the 'devm_' variant for requesting interrupts is used before the 'devm_' variant for registering the power supply handle. As a result, the power supply handle is deallocated before the interrupt handler is unregistered, creating a race condition. During this window, an interrupt can be triggered that calls 'power_supply_changed()' with a freed handle, leading to system crashes or memory corruption. This vulnerability affects several versions of the Linux kernel.

Impact

Exploitation of this vulnerability typically results in a system crash or silent memory corruption.

Reproduction

The vulnerability can be reproduced by loading the RT9455 charger driver in a Linux kernel version that is vulnerable. Once the driver is loaded, an interrupt can be triggered that invokes the 'power_supply_changed()' function before the power supply handle is properly registered, causing a use-after-free condition. This can be done by simulating an interrupt just after the power supply handle is freed but before the IRQ handler is unregistered.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched kernel can be found on the official Linux kernel website.

Added: Jun 3, 2026, 6:22 PM
Updated: Jun 3, 2026, 6:22 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
5.0
exploitability
3.9
remediation
7.7
relevance
9.9
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.