PT-2025-42260 · Linux+4 · Linux Kernel+4

Published

2025-10-15

·

Updated

2026-05-07

·

CVE-2025-39985

CVSS v2.0

7.7

High

VectorAV:A/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A flaw exists in the Linux kernel's mcba usb CAN driver related to handling PF PACKET sockets and CAN XL frames. Specifically, the driver lacks proper MTU validation through the ndo change mtu() function. This allows an attacker to configure an invalid MTU, potentially injecting malicious CAN XL frames via a PF PACKET socket using the ETH P CANXL protocol. The vulnerability can lead to a buffer overflow in the mcba usb start xmit() function when processing the frame's length (cf->len) without sufficient checks, specifically when copying data using memcpy. The usb msg.dlc variable is assigned the value of cf->len without validation, and then used in a memcpy operation, leading to a potential overflow of up to 247 bytes if the cf->len value is larger than the expected maximum length of 8. The vulnerable function is mcba usb start xmit(). The API endpoint used is a PF PACKET socket with the protocol ETH P CANXL. The vulnerable parameter is cf->len.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Buffer Overflow

Weakness Enumeration

Related Identifiers

AZL-68474
BDU:2026-02766
CVE-2025-39985
DLA-4379-1
DLA-4404-1
DSA-6053-1
ECHO-6160-2955-60AB
MGASA-2025-0309
MGASA-2025-0310
OPENSUSE-SU-2025:20091-1
SUSE-SU-2025:21040-1
SUSE-SU-2025:21052-1
SUSE-SU-2025:21056-1
SUSE-SU-2025:21064-1
SUSE-SU-2025:21080-1
SUSE-SU-2025:21147-1
SUSE-SU-2025:21180-1
SUSE-SU-2025:4057-1
SUSE-SU-2025:4128-1
SUSE-SU-2025:4132-1
SUSE-SU-2025:4140-1
SUSE-SU-2025:4141-1
SUSE-SU-2025:4301-1
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8141-1
USN-8163-1
USN-8163-2
USN-8165-1
USN-8243-1
USN-8261-1

Affected Products

Debian
Linuxmint
Linux Kernel
Suse
Ubuntu