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

Published

2025-01-01

·

Updated

2026-05-07

·

CVE-2025-39901

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The i40e driver in the Linux kernel contains a flaw related to debugfs files ('command' and 'netdev ops'). These files expose a debugging interface with questionable logic and potential for information disclosure. Specifically, the 'netdev ops' file could allow reading beyond the bounds of an allocated buffer due to the use of snprintf and a lack of proper locking mechanisms when handling simultaneous writes from multiple devices. The 'command' file also uses a static buffer, wasting space and potentially leading to memory access issues. The issue stems from the read handlers in these debugfs files, which use static buffers and lack adequate protection against overflows. The vulnerability could be exploited by carefully crafting command input to cause snprintf to truncate, leading to out-of-bounds reads during copy to user. The 'command' file is susceptible to similar issues, although the risk is lower due to the static buffer always being zero.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Buffer Overflow

Out of bounds Read

Weakness Enumeration

Related Identifiers

AZL-68010
AZL-72355
BDU:2026-03317
CVE-2025-39901
ECHO-890A-0E16-46C2
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-8165-1
USN-8261-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu
I40E