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

Published

2025-10-15

·

Updated

2026-05-07

·

CVE-2025-39986

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 sun4i can driver within the Linux kernel where a missing check in the ndo change mtu() function allows an attacker to configure an invalid MTU. This can be exploited by sending PF PACKET frames using the ETH P CANXL protocol, potentially leading to a buffer overflow. Specifically, the driver fails to validate the skb length against the interface's MTU, allowing a malicious CAN XL frame with a large length value to bypass checks. The sun4ican start xmit() function then receives this frame and attempts to process it as a standard CAN frame, resulting in a buffer overflow when copying the frame data. The vulnerable code section involves the use of cf->len without proper bounds checking, leading to a potential overflow of 247 bytes when writing data to memory. The issue arises because the driver does not populate its net device ops->ndo change mtu(), enabling the manipulation of the MTU value.
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

BDU:2026-02767
CVE-2025-39986
DLA-4379-1
DLA-4404-1
DSA-6053-1
ECHO-A230-44C4-AA59
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