PT-2024-21608 · Linux+3 · Linux Kernel+3

Kyle Tso

·

Published

2024-04-04

·

Updated

2025-03-28

·

CVE-2024-26995

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to off-by-one errors in the Linux kernel's USB Type-C TCPM (TCPM - Type-C Port Manager) module, specifically in the pd set function. These errors occur because nr snk pdo and nr src pdo are incorrectly incremented by one. As a result, when doing power negotiation, TCPM relies on the incorrect size of the local sink PDO array (nr snk pdo) to match the Source capabilities of the partner port. This can lead to a wrong RDO being sent, causing unexpected power transfer, such as overvoltage or overcurrent. Similarly, nr src pdo is used to set the Rp level when the port is in Source role and to fill up the buffer with local Source capabilities for Power Negotiation. If an off-by-one overflow occurs, a wrong Rp level might be set, and wrong Source PDOs will be sent to the partner port, potentially causing overcurrent or port resets.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

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

Weakness Enumeration

Related Identifiers

BDU:2025-07486
CVE-2024-26995
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-6893-1
USN-6893-2
USN-6893-3
USN-6918-1

Affected Products

Linuxmint
Linux Kernel
Suse
Ubuntu