CVE-2024-35986: linux Use After Free
Vulnerability summary
CVE-2024-35986 is a high (CVSS 7.0) Use After Free vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 14 · Related 12Timeline
- 20-05-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu92 products
- linux< 6.8.0-40.40
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1013.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 48969a5623ed918713552e2b4f9d391c89b5e838, < 25b3498485ac281e5851700e33b97f12c9533fd8 | ≥ 48969a5623ed918713552e2b4f9d391c89b5e838, < 73224a5d2180066c7fe05b4656647601ba08d588 | ≥ 48969a5623ed918713552e2b4f9d391c89b5e838, < 9827caa5105fb16d1fae2e75c8d0e4662014b3ca | ≥ 48969a5623ed918713552e2b4f9d391c89b5e838, < bf6e4ee5c43690e4c5a8a057bbcd4ff986bed052 | 5.18
- linux_kernel≥ 5.18, < 6.1.90 | ≥ 6.2, < 6.6.30 | ≥ 6.7, < 6.8.9 | 6.9:rc1 | 6.9:rc2 | 6.9:rc3 | 6.9:rc4 | 6.9:rc5
Debian1 product
- linux< 6.1.90-1 | < 6.8.9-1
3 vendors · 95 products