PT-2024-26823 · Linux+5 · Linux Kernel+5

Hans De Goede

·

Published

2024-04-06

·

Updated

2025-03-28

·

CVE-2024-35986

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the power supply framework in the Linux kernel, which is not designed for long living in-kernel references to power supply devices. Specifically, unregistering a power supply while some other code has a reference to it triggers a warning in power supply unregister(), followed by the power supply still getting removed and the backing data freed anyway, leaving the tusb1210 charger-detect code with a dangling reference. This results in a crash the next time tusb1210 get online() is called. The fix involves only holding the reference in tusb1210 get online() and freeing it at the end of the function, which avoids the issue when manually rmmod-ing the charger chip driver during development. However, this still leaves a theoretical race window.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Out of bounds Read

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-03068
CVE-2024-35986
MGASA-2024-0263
MGASA-2024-0266
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20249-1
USN-6949-1
USN-6949-2
USN-6952-1
USN-6952-2
USN-6955-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu