CVE
CVE-2025-38051
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix use-after-free in cifs_fill_dirent There is a race condition in the readdir concurrency process, which may access the rsp buffer after it has been released, triggering the following KASAN warning. ================================================================== BUG: KASAN: slab-use-after-free in cifs_fill_dirent+0xb03/0xb60 [cifs] Read of size 4 at addr ffff8880099b819c by task a.out/342975 CPU: 2 UID: 0 PID: 342975 Comm: a.out Not tainted 6.15.0-rc6+ #240 PREEMPT(full) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.1-2.fc37 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x53/0x70 print_report+0xce/0x640 kasan_report+0xb8/0xf0 cifs_fill_dirent+0xb03/0xb60 [cifs] cifs_readdir+0x12cb/0x3190 [cifs] iterate_dir+0x1a1/0x520 __x64_sys_getdents+0x134/0x220 do_syscall_64+0x4b/0x110 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f996f64b9f9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0d f7 c3 0c 00 f7 d8 64 89 8 RSP: 002b:00007f996f53de78 EFLAGS: 00000207 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f996f53ecdc RCX: 00007f996f64b9f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f996f53dea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000207 R12: ffffffffffffff88 R13: 0000000000000000 R14: 00007ffc8cd9a500 R15: 00007f996f51e000 </TASK> Allocated by task 408: kasan_save_stack+0x20/0x40 kasan_save_track+0x14/0x30 __kasan_slab_alloc+0x6e/0x70 kmem_cache_alloc_noprof+0x117/0x3d0 mempool_alloc_noprof+0xf2/0x2c0 cifs_buf_get+0x36/0x80 [cifs] allocate_buffers+0x1d2/0x330 [cifs] cifs_demultiplex_thread+0x22b/0x2690 [cifs] kthread+0x394/0x720 ret_from_fork+0x34/0x70 ret_from_fork_asm+0x1a/0x30 Freed by task 342979:…
受影响版本
- 6.15-rc7仅此版本
- 6.15-rc6仅此版本
- 6.15-rc5仅此版本
- 6.15-rc4仅此版本
- 6.15-rc3仅此版本
- 6.15-rc2仅此版本
- 6.15-rc1仅此版本
- ≥ 6.13, < 6.14.9修复版本 6.14.9
- ≥ 6.7, < 6.12.31修复版本 6.12.31
- ≥ 6.2, < 6.6.93修复版本 6.6.93
- ≥ 5.16, < 6.1.141修复版本 6.1.141
- ≥ 5.11, < 5.15.185修复版本 5.15.185
- ≥ 5.5, < 5.10.238修复版本 5.10.238
- ≥ 2.6.27.4, < 5.4.294修复版本 5.4.294
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/1b197931fbc821bc7e9e91bf619400db563e3338 · Patch
- git.kernel.org/stable/c/73cadde98f67f76c5eba00ac0b72c453383cec8b · Patch
- git.kernel.org/stable/c/9bea368648ac46f8593a780760362e40291d22a9 · Patch
- git.kernel.org/stable/c/9c9aafbacc183598f064902365e107b5e856531f · Patch
- git.kernel.org/stable/c/a24c2f05ac3c5b0aaa539d9d913826d2643dfd0e · Patch
- git.kernel.org/stable/c/a7a8fe56e932a36f43e031b398aef92341bf5ea0 · Patch
- git.kernel.org/stable/c/aee067e88d61eb72e966f094e4749c6b14e7008f · Patch
- git.kernel.org/stable/c/c8623231e0edfcccb7cc6add0288fa0f0594282f · Patch
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。