CVE-2026-63960
Received Received - Intake

Buffer Overflow in Linux Kernel USB Type-C Subsystem

Vulnerability report for CVE-2026-63960, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-20

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: wcove: don't write past struct pd_message in wcove_read_rx_buffer() wcove_read_rx_buffer() copies the PD RX FIFO into the caller's struct pd_message with for (i = 0; i < USBC_RXINFO_RXBYTES(info); i++) regmap_read(wcove->regmap, USBC_RX_DATA + i, msg + i); which has two problems: USBC_RXINFO_RXBYTES() is a 5-bit field (max 31) while struct pd_message is 30 bytes (__le16 header + __le32 payload[PD_MAX_PAYLOAD], packed). The byte count latched in RXINFO is the number of bytes the port partner put on the wire, so a malicious partner that transmits a 31-byte frame can drive the loop one byte past the destination if the WCOVE BMC receiver does not enforce the PD object-count limit in hardware. The existing FIXME flagged this as unverified. Independently, regmap_read() takes an unsigned int * and stores a full unsigned int at the destination. Passing the byte pointer msg + i means each iteration writes four bytes; the high three are zero (val_bits is 8) and are normally overwritten by the next iteration, but the final iteration's high bytes are not. With RXBYTES == 30 the i == 29 iteration already writes three zero bytes past msg, which sits on the IRQ thread's stack in wcove_typec_irq(). Clamp the loop to sizeof(struct pd_message) and read each register into a local before storing only its low byte, so the copy can never exceed the destination regardless of what RXINFO reports.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-20
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a buffer overflow vulnerability in the Linux kernel's USB Type-C Power Delivery (PD) subsystem. It occurs in the wcove_read_rx_buffer() function which incorrectly copies data from a hardware FIFO into a fixed-size structure. The issue stems from two problems: the function reads up to 31 bytes but the destination structure is only 30 bytes, and it writes 4 bytes per iteration instead of 1, causing overflow beyond the buffer.

Detection Guidance

This vulnerability is specific to the Linux kernel's USB Type-C PD (Power Delivery) subsystem, particularly in the Intel Whiskey Cove (WCOVE) BMC receiver. Detection requires checking kernel logs for related errors or examining the kernel version for affected code. Commands like 'dmesg | grep wcove' or 'journalctl -k | grep wcove' may help identify issues. Ensure your kernel is updated to a patched version.

Impact Analysis

This vulnerability could allow a malicious USB device to cause memory corruption in the kernel's IRQ handler. This might lead to system crashes, privilege escalation, or arbitrary code execution. Since it occurs during USB PD communication, any device using Type-C with Power Delivery could potentially trigger this issue.

Compliance Impact

This vulnerability involves a buffer overflow in the Linux kernel's USB Type-C PD message handling, which could allow memory corruption via malicious input. Such memory corruption risks could potentially lead to unauthorized data access or system instability, which may impact compliance with data protection standards like GDPR or HIPAA if exploited in systems handling sensitive data.

Mitigation Strategies

Update your Linux kernel to the latest stable version that includes the fix for CVE-2026-63960. If immediate patching is not possible, restrict physical access to systems using USB Type-C PD to prevent malicious exploitation. Monitor kernel logs for unusual activity related to USB Type-C PD.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63960. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart