cbcvebase.
CVE-2025-40004
published 2025-10-20

CVE-2025-40004: In the Linux kernel, the following vulnerability has been resolved: net/9p: Fix buffer overflow in USB transport layer A buffer overflow vulnerability exists…

PriorityP429
EPSS
0.25%
16.4th percentile
In the Linux kernel, the following vulnerability has been resolved: net/9p: Fix buffer overflow in USB transport layer A buffer overflow vulnerability exists in the USB 9pfs transport layer where inconsistent size validation between packet header parsing and actual data copying allows a malicious USB host to overflow heap buffers. The issue occurs because: - usb9pfs_rx_header() validates only the declared size in packet header - usb9pfs_rx_complete() uses req->actual (actual received bytes) for memcpy This allows an attacker to craft packets with small declared size (bypassing validation) but large actual payload (triggering overflow in memcpy). Add validation in usb9pfs_rx_complete() to ensure req->actual does not exceed the buffer capacity before copying data.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.17.6-1 (forky)linux 6.17.6-1 (forky)
linuxlinux
linuxlinux>= a3be076dc174d9022a71a12554feb4c97b5c4d5c < 0da18d49f874d444ad83c8a546fa33bfcf2f582c0da18d49f874d444ad83c8a546fa33bfcf2f582c
linuxlinux>= a3be076dc174d9022a71a12554feb4c97b5c4d5c < df8462f0fc045b4475dc494a5787a03c972ba2a2df8462f0fc045b4475dc494a5787a03c972ba2a2
linuxlinux>= a3be076dc174d9022a71a12554feb4c97b5c4d5c < c04db81cd0288dfc68b7a0f7d09bd49b40bba451c04db81cd0288dfc68b7a0f7d09bd49b40bba451
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 6.12.0 < 6.12.536.12.53
linuxlinux_kernel>= 6.13.0 < 6.17.36.17.3
ubuntulinux-aws
ubuntulinux-oracle
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.