Skip to main content

Linux Kernel CVE-2024-35986

HIGH
Use After Free (CWE-416)
2024-05-20 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.0
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local root or CAP_SYS_MODULE
  2. Delivery
    Confirm TUSB1210 and charger PSY drivers loaded
  3. Exploit
    Unload charger PSY driver via rmmod
  4. Execution
    Trigger tusb1210_get_online() poll
  5. Persist
    Dereference freed power_supply memory
  6. Impact
    Kernel panic or memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to a system running Linux kernel with both the TI TUSB1210 USB PHY driver loaded and a separately removable charger power supply driver registered to that PHY. The triggering action is unregistering (rmmod) the charger PSY driver while the TUSB1210 driver retains a persistent reference - this requires CAP_SYS_MODULE or equivalent root-level privilege. Exploitation is also constrained by a race condition (AC:H): the unregistration must occur between the reference being taken and tusb1210_get_online() completing. The vulnerability is further limited to hardware platforms incorporating the TUSB1210 USB PHY chip, which narrows the exposure to specific embedded, automotive, or mobile-adjacent Linux deployments rather than general-purpose servers or desktops.

Impact

The CVSS 3.1 score of 7.0 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) overstates the realistic attack surface: triggering the vulnerability requires unloading (rmmod) the charger power supply kernel module while the TUSB1210 driver holds a reference, an operation that typically requires root privileges, making PR:L a generous characterization. EPSS at 0.21% (11th percentile) confirms minimal real-world exploitation interest. The flaw is not listed in CISA KEV and no POC code has been identified. The practical attack scenario is narrow - hardware must include both a TUSB1210 USB PHY and a separately removable charger chip driver, limiting the affected surface to specific embedded or mobile-adjacent platforms. Real-world risk is therefore low despite the high CVSS impact triad, and this should not be prioritized above actively exploited or broadly applicable vulnerabilities unless the environment matches the specific hardware profile.

Exploit ScenarioDerived

A local attacker with sufficient privilege to unload kernel modules (typically root or a user with CAP_SYS_MODULE) rmmod's the charger chip driver while the TUSB1210 driver is actively using its power_supply reference. When tusb1210_get_online() is subsequently called - for instance during USB charger polling - the driver dereferences the now-freed power_supply structure, causing a kernel panic or potentially allowing controlled memory corruption. No public exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 04, 2026

Use-after-free in the Linux kernel's TUSB1210 USB PHY charger-detection driver allows a local attacker to crash the kernel or potentially escalate privileges when the charger power supply device is unregistered while the tusb1210 driver holds a live reference. The power_supply framework does not protect against long-lived references across unregistration events, leaving tusb1210_get_online() with a dangling pointer that dereferences freed memory on next invocation. No public exploit code exists and EPSS is 0.21%, indicating low exploitation activity; the defect has been patched across multiple stable kernel branches.

Earlier versions of this analysis (1)
v1 Aug 04, 2026 - 12:18 cvss changed CVSS 7.0

Use-after-free in the Linux kernel's TUSB1210 USB PHY driver allows a local attacker or race condition to crash the kernel or potentially execute arbitrary code when the charger power-supply device is unregistered while a dangling reference persists in the tusb1210 charger-detection subsystem. Systems running Linux kernel versions through 6.9-rc5 that include TUSB1210 USB PHY hardware (a Texas Instruments chip found in select embedded and mobile devices) are at risk. No public exploit identified at time of analysis; EPSS of 0.21% (11th percentile) confirms this is not being actively targeted at scale.

RemediationAI

The primary remediation is to apply the upstream kernel patches available at https://git.kernel.org/stable/c/25b3498485ac281e5851700e33b97f12c9533fd8, https://git.kernel.org/stable/c/73224a5d2180066c7fe05b4656647601ba08d588, https://git.kernel.org/stable/c/9827caa5105fb16d1fae2e75c8d0e4662014b3ca, and https://git.kernel.org/stable/c/bf6e4ee5c43690e4c5a8a057bbcd4ff986bed052. No exact downstream release version is confirmed in the available data - distributions should be consulted for their specific versioned packages incorporating these commits. As a compensating control where patching is not immediately possible, restricting CAP_SYS_MODULE privileges (e.g., via seccomp, AppArmor, or SELinux policy preventing module unloading) would prevent the triggering sequence, though this may impact legitimate system operations that rely on dynamic module loading.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the TI TUSB1210 USB PHY driver (drivers/phy/ti/tusb1210.c) within the Linux kernel, confirmed by CPE cpe:2.3:o:linux:linux_kernel across multiple version ranges through 6.9-rc5. The root cause is CWE-416 (Use After Free): the driver retained a reference to a power_supply object beyond the object's lifetime. The Linux power_supply framework emits WARN_ON(atomic_dec_return(&psy->use_cnt)) when unregister is called while a reference count is nonzero, but still proceeds to free the backing structure. The tusb1210 charger-detection code stored this reference persistently, so any subsequent call to tusb1210_get_online() would dereference the freed memory, causing a kernel panic or undefined behavior. The fix scopes the power_supply reference acquisition and release entirely within tusb1210_get_online(), reducing - but not eliminating - the race window.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.4 MEDIUM

Unloading a kernel module requires root/CAP_SYS_MODULE (PR:H), and triggering the race between PSY unregistration and tusb1210_get_online() is non-trivial (AC:H).

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 12:19 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:18 vuln.today
v1 - CVSS changed
Severity Changed
Aug 04, 2026 - 11:23 NVD
MEDIUM HIGH
CVSS changed
Aug 04, 2026 - 11:23 NVD
5.5 (MEDIUM) 7.0 (HIGH)
CVE Published
May 20, 2024 - 10:15 cve.org
MEDIUM 5.5

DescriptionCVE.org

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

phy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered

The power_supply frame-work is not really designed for there to be 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 WARN in power_supply_unregister():

WARN_ON(atomic_dec_return(&psy->use_cnt));

Folllowed by the power_supply still getting removed and the backing data freed anyway, leaving the tusb1210 charger-detect code with a dangling reference, resulting in a crash the next time tusb1210_get_online() is called.

Fix this by only holding the reference in tusb1210_get_online() freeing it at the end of the function. Note this still leaves a theoretical race window, but it avoids the issue when manually rmmod-ing the charger chip driver during development.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's TUSB1210 USB PHY driver (CVE-2024-35986, CVSS 7.0) allows local attackers to crash systems or escalate privileges. No public exploit identified at time of analysis, though the defect enables both denial-of-service and privilege escalation on affected systems. Organizations should prioritize patching on systems with untrusted local user access, particularly development workstations and multi-tenant environments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the vast majority of server, cloud, and embedded deployments
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy