CVE-2024-26995
usb: typec: tcpm: Correct the PDO counting in pd_set
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= cd099cde4ed264403b434d8344994f97ac2a4349, < f3da3192cdd3fefe213390e976eec424a8e270b5; >= cd099cde4ed264403b434d8344994f97ac2a4349, < c4128304c2169b4664ed6fb6200f228cead2ab70
- Anyone running Linux 6.8
Vulnerability facts
- Affected
- Linux >= cd099cde4ed264403b434d8344994f97ac2a4349, < f3da3192cdd3fefe213390e976eec424a8e270b5; >= cd099cde4ed264403b434d8344994f97ac2a4349, < c4128304c2169b4664ed6fb6200f228cead2ab70; Linux 6.8
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-193
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: Correct the PDO counting in pd_set Off-by-one errors happen because nr_snk_pdo and nr_src_pdo are incorrectly added one. The index of the loop is equal to the number of PDOs to be updated when leaving the loop and it doesn't need to be added one. When doing the power negotiation, TCPM relies on the "nr_snk_pdo" as the size of the local sink PDO array to match the Source capabilities of the partner port. If the off-by-one overflow occurs, a wrong RDO might be sent and unexpected power transfer might happen such as over voltage or over current (than expected). "nr_src_pdo" is used to set the Rp level when the port is in Source role. It is also the array size of the local Source capabilities when filling up the buffer which will be sent as the Source PDOs (such as in Power Negotiation). If the off-by-one overflow occurs, a wrong Rp level might be set and wrong Source PDOs will be sent to the partner port. This could potentially cause over current or port resets.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26995. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26995.md Affected: Linux >= cd099cde4ed264403b434d8344994f97ac2a4349, < f3da3192cdd3fefe213390e976eec424a8e270b5; >= cd099cde4ed264403b434d8344994f97ac2a4349, < c4128304c2169b4664ed6fb6200f228cead2ab70; Linux 6.8 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
FAQ
Is CVE-2024-26995 being exploited?
There is no confirmed exploitation: CVE-2024-26995 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26995?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26995?
Linux >= cd099cde4ed264403b434d8344994f97ac2a4349, < f3da3192cdd3fefe213390e976eec424a8e270b5; >= cd099cde4ed264403b434d8344994f97ac2a4349, < c4128304c2169b4664ed6fb6200f228cead2ab70; Linux 6.8.
Is there a fix for CVE-2024-26995?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-26995?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.