Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-40004— net/9p: Fix buffer overflow in USB transport layer

EPSS 0.03% · P8
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-40004

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net/9p: Fix buffer overflow in USB transport layer
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于USB 9pfs传输层中数据包头解析和实际数据复制之间的不一致大小验证,可能导致堆缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux a3be076dc174d9022a71a12554feb4c97b5c4d5c ~ 0da18d49f874d444ad83c8a546fa33bfcf2f582c -
LinuxLinux 6.12 -

II. Public POCs for CVE-2025-40004

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40004

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-10-20 · 13 CVEs total

CVE-2025-40017media: iris: Fix memory leak by freeing untracked persist buffer
CVE-2025-40015media: stm32-csi: Fix dereference before NULL check
CVE-2025-40016media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID
CVE-2025-40013ASoC: qcom: audioreach: fix potential null pointer dereference
CVE-2025-40012net/smc: fix warning in smc_rx_splice() when calling get_page()
CVE-2025-40011drm/gma500: Fix null dereference in hdmi teardown
CVE-2025-40010afs: Fix potential null pointer dereference in afs_put_server
CVE-2025-40009fs/proc/task_mmu: check p->vec_buf for NULL
CVE-2025-40008kmsan: fix out-of-bounds access to shadow memory
CVE-2025-40007netfs: fix reference leak
CVE-2025-40006mm/hugetlb: fix folio is still mapped when deleted
CVE-2025-40005spi: cadence-quadspi: Implement refcount to handle unbind during busy

IV. Related Vulnerabilities

V. Comments for CVE-2025-40004

No comments yet


Leave a comment