{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40004","published":"2025-10-20T06:15:36.280000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2025-40004/","html_en":"/en/cve/CVE-2025-40004/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40004","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40004"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p: Fix buffer overflow in USB transport layer\n\nA buffer overflow vulnerability exists in the USB 9pfs transport layer\nwhere inconsistent size validation between packet header parsing and\nactual data copying allows a malicious USB host to overflow heap buffers.\n\nThe issue occurs because:\n- usb9pfs_rx_header() validates only the declared size in packet header\n- usb9pfs_rx_complete() uses req->actual (actual received bytes) for\nmemcpy\n\nThis allows an attacker to craft packets with small declared size\n(bypassing validation) but large actual payload (triggering overflow\nin memcpy).\n\nAdd validation in usb9pfs_rx_complete() to ensure req->actual does not\nexceed the buffer capacity before copying data.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0da18d49f874d444ad83c8a546fa33bfcf2f582c","tags":[]},{"url":"https://git.kernel.org/stable/c/c04db81cd0288dfc68b7a0f7d09bd49b40bba451","tags":[]},{"url":"https://git.kernel.org/stable/c/df8462f0fc045b4475dc494a5787a03c972ba2a2","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10301-1","url":"https://www.suse.com/support/update/","published":"2026-03-07T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-longterm-6.18.16-1.1 on GA media"}}]}