cbcvebase.
CVE-2025-40027
published 2025-10-28

CVE-2025-40027: In the Linux kernel, the following vulnerability has been resolved: net/9p: fix double req put in p9_fd_cancelled Syzkaller reports a KASAN issue as below…

PriorityP340high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.15%
4.7th percentile
In the Linux kernel, the following vulnerability has been resolved: net/9p: fix double req put in p9_fd_cancelled Syzkaller reports a KASAN issue as below: general protection fault, probably for non-canonical address 0xfbd59c0000000021: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0xdead000000000108-0xdead00000000010f] CPU: 0 PID: 5083 Comm: syz-executor.2 Not tainted 6.1.134-syzkaller-00037-g855bd1d7d838 #0 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__list_del include/linux/list.h:114 [inline] RIP: 0010:__list_del_entry include/linux/list.h:137 [inline] RIP: 0010:list_del include/linux/list.h:148 [inline] RIP: 0010:p9_fd_cancelled+0xe9/0x200 net/9p/trans_fd.c:734 Call Trace: p9_client_flush+0x351/0x440 net/9p/client.c:614 p9_client_rpc+0xb6b/0xc70 net/9p/client.c:734 p9_client_version net/9p/client.c:920 [inline] p9_client_create+0xb51/0x1240 net/9p/client.c:1027 v9fs_session_init+0x1f0/0x18f0 fs/9p/v9fs.c:408 v9fs_mount+0xba/0xcb0 fs/9p/vfs_super.c:126 legacy_get_tree+0x108/0x220 fs/fs_context.c:632 vfs_get_tree+0x8e/0x300 fs/super.c:1573 do_new_mount fs/namespace.c:3056 [inline] path_mount+0x6a6/0x1e90 fs/namespace.c:3386 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3584 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 This happens because of a race condition between: - The 9p client sending an invalid flush request and later cleaning it up; - The 9p client in p9_read_work() canceled all pending requests. Thread 1 Thread 2 ... p9_client_create() ... p9_fd_create() ... p9_conn_create() ... // start Thread 2 INIT_WORK(&m->rq, p9_read_work); p9_read_work() ... p9_client_rpc() ... ... p9_conn_cancel() ... spin_lock(&m->req_lock); ... p9_fd_cancelled() ... ... spin_unlo

Affected

32 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
debianlinux-6.1< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
linuxlinux
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < a5901a0dfb5964525990106706ae8b98db098226a5901a0dfb5964525990106706ae8b98db098226
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < 5c64c0b7b3446f7ed088a13bc8d7487d66534cbb5c64c0b7b3446f7ed088a13bc8d7487d66534cbb
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < c1db864270eb7fea94a9ef201da0c9dc1cbab7b8c1db864270eb7fea94a9ef201da0c9dc1cbab7b8
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < 0e0097005abc02c9f262370674f855625f4f3fb40e0097005abc02c9f262370674f855625f4f3fb4
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < 284e67a93b8c48952b6fc82129a8d3eb9dc73b06284e67a93b8c48952b6fc82129a8d3eb9dc73b06
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < 716dceb19a9f8ff6c9d3aee5a771a93d6a47a0b6716dceb19a9f8ff6c9d3aee5a771a93d6a47a0b6
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < 448db01a48e1cdbbc31c995716a5dac1e52ba036448db01a48e1cdbbc31c995716a5dac1e52ba036
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < 94797b84cb9985022eb9cb3275c9497fbc883bb694797b84cb9985022eb9cb3275c9497fbc883bb6
linuxlinux>= afd8d65411551839b7ab14a539d00075b2793451 < 674b56aa57f9379854cb6798c3bbcef7e7b51ab7674b56aa57f9379854cb6798c3bbcef7e7b51ab7
linuxlinux_kernel>= 0 < 5.10.247-15.10.247-1
linuxlinux_kernel>= 0 < 6.1.158-16.1.158-1
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 5.15.0-170.1805.15.0-170.180
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-7.76.17.0-7.7
linuxlinux_kernel>= 3.15.0 < 5.4.3015.4.301
linuxlinux_kernel>= 5.11.0 < 5.15.1955.15.195
linuxlinux_kernel>= 5.16.0 < 6.1.1566.1.156
linuxlinux_kernel>= 5.5.0 < 5.10.2465.10.246
linuxlinux_kernel>= 6.13.0 < 6.16.126.16.12
linuxlinux_kernel>= 6.17.0 < 6.17.26.17.2

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_redhat5.5MEDIUM
vendor_msrc2.5LOW
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.