CVE-2025-38051
published high CVSS 3.1 · 7.8smb: client: Fix use-after-free in cifs_fill_dirent
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa364bc0b37f14ffd66c1f982af42990a9d77fa43 to < aee067e88d61eb72e966f094e4749c6b14e7008f · a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < a24c2f05ac3c5b0aaa539d9d913826d2643dfd0e · a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 1b197931fbc821bc7e9e91bf619400db563e3338 · a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < c8623231e0edfcccb7cc6add0288fa0f0594282f · a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 73cadde98f67f76c5eba00ac0b72c453383cec8b · a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 9bea368648ac46f8593a780760362e40291d22a9 · a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 9c9aafbacc183598f064902365e107b5e856531f · a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < a7a8fe56e932a36f43e031b398aef92341bf5ea0 · 0f3da51e7046e2eb28992ba65c22d058f571356c · 2.6.27.4 to < 2.6.28 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.28 (affected) · 0 to < 2.6.28 (unaffected · semver) · 5.4.294 through 5.4.* (unaffected · semver) · 5.10.238 through 5.10.* (unaffected · semver) · 5.15.185 through 5.15.* (unaffected · semver) · 6.1.141 through 6.1.* (unaffected · semver) · 6.6.93 through 6.6.* (unaffected · semver) · 6.12.31 through 6.12.* (unaffected · semver) · 6.14.9 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2944 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-095 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-075 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-103 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| Debian | bookworm | linux | Advisory build | 6.1.147-1 | DSA-5973-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1037 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1052 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.94.1.rt7.435.el8_10 | ALSA-2026:0760 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.94.1.el8_10 | ALSA-2026:0759 |
| Debian | bullseye | linux | Advisory build | 5.10.244-1 | DLA-4327-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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: kasan_save_stack+0x20/0x40 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3b/0x60 __kasan_slab_free+0x37/0x50 kmem_cache_free+0x2b8/0x500 cifs_buf_release+0x3c/0x70 [cifs] cifs_readdir+0x1c97/0x3190 [cifs] iterate_dir+0x1a1/0x520 __x64_sys_getdents64+0x134/0x220 do_syscall_64+0x4b/0x110 entry_SYSCALL_64_after_hwframe+0x76/0x7e The buggy address belongs to the object at ffff8880099b8000 which belongs to the cache cifs_request of size 16588 The buggy address is located 412 bytes inside of freed 16588-byte region [ffff8880099b8000, ffff8880099bc0cc) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x99b8 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 anon flags: 0x80000000000040(head|node=0|zone=1) page_type: f5(slab) raw: 0080000000000040 ffff888001e03400 0000000000000000 dead000000000001 raw: 0000000000000000 0000000000010001 00000000f5000000 0000000000000000 head: 0080000000000040 ffff888001e03400 0000000000000000 dead000000000001 head: 0000000000000000 0000000000010001 00000000f5000000 0000000000000000 head: 0080000000000003 ffffea0000266e01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880099b8080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880099b8100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880099b8180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880099b8200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880099b8280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== POC is available in the link [1]. The problem triggering process is as follows: Process 1 Process 2 ----------------------------------- ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached purely through local syscalls (`getdents`/`getdents64`, `lseek`, `kill`) on a directory file descriptor of an already-mounted CIFS/SMB share; no network peer action is required to trigger the documented race. AC:L - The attacker controls both sides of the race — one thread forces the buffer release via a backward seek on the shared fd while another is inside `query_dir_next()`, and `-ERESTARTSYS` is induced deterministically by sending a fatal signal — and can retry indefinitely, as the upstream PoC demonstrates. PR:L - Only an unprivileged local account with read access to a directory on an existing CIFS mount is needed; no capability check exists anywhere on the `cifs_readdir` → `find_cifs_entry` path. UI:N - The attacker's own threads perform every step; the pre-existing SMB mount is an environmental precondition, not an action a victim must take during exploitation. S:U - The use-after-free corrupts kernel heap state within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - The dangling `last_entry` is read from a recycled `cifs_request` buffer, and the resulting `presume_name` pointer plus attacker-influenced `resume_name_len` are later `memcpy`'d (up to `PATH_MAX`) into a FindNext request sent to the server, disclosing freed kernel heap memory. I:H - This is a use-after-free on a slab object that is promptly reallocated with data the attacker can groom, and the stale pointer/length values are written back into `srch_inf` — a primitive leverageable for heap corruption and control-flow influence. A:H - The KASAN report shows a slab-use-after-free that oopses the kernel; walking the freed buffer with stale offsets/lengths readily produces a panic, and any local user can repeat it at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < aee067e88d61eb72e966f094e4749c6b14e7008f (affected · git)a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < a24c2f05ac3c5b0aaa539d9d913826d2643dfd0e (affected · git)a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 1b197931fbc821bc7e9e91bf619400db563e3338 (affected · git)a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < c8623231e0edfcccb7cc6add0288fa0f0594282f (affected · git)a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 73cadde98f67f76c5eba00ac0b72c453383cec8b (affected · git)a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 9bea368648ac46f8593a780760362e40291d22a9 (affected · git)a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < 9c9aafbacc183598f064902365e107b5e856531f (affected · git)a364bc0b37f14ffd66c1f982af42990a9d77fa43 to < a7a8fe56e932a36f43e031b398aef92341bf5ea0 (affected · git)0f3da51e7046e2eb28992ba65c22d058f571356c (affected · git)2.6.27.4 to < 2.6.28 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.28 (affected)0 to < 2.6.28 (unaffected · semver)5.4.294 through 5.4.* (unaffected · semver)5.10.238 through 5.10.* (unaffected · semver)5.15.185 through 5.15.* (unaffected · semver)6.1.141 through 6.1.* (unaffected · semver)6.6.93 through 6.6.* (unaffected · semver)6.12.31 through 6.12.* (unaffected · semver)6.14.9 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/1b197931fbc821bc7e9e91bf619400db563e3338
- https://git.kernel.org/stable/c/73cadde98f67f76c5eba00ac0b72c453383cec8b
- https://git.kernel.org/stable/c/9bea368648ac46f8593a780760362e40291d22a9
- https://git.kernel.org/stable/c/9c9aafbacc183598f064902365e107b5e856531f
- https://git.kernel.org/stable/c/a24c2f05ac3c5b0aaa539d9d913826d2643dfd0e
- https://git.kernel.org/stable/c/a7a8fe56e932a36f43e031b398aef92341bf5ea0
- https://git.kernel.org/stable/c/aee067e88d61eb72e966f094e4749c6b14e7008f
- https://git.kernel.org/stable/c/c8623231e0edfcccb7cc6add0288fa0f0594282f
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
3Linux · cna
smb: client: Fix use-after-free in cifs_fill_dirent
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 11852eaf42364efe39010bb471855a6fa5decf773fac714499f6d89ee5f20133
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record