DEBIAN-CVE-2026-99540
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Debian:13 linux
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix parent dentry lifetime in directory enumeration ksmbd_populate_dot_dotdot_entries() builds the ".." entry from the open directory's d_parent and passes that pointer to ksmbd_vfs_fill_dentry_attrs() without taking a reference. That pointer is only valid while the directory stays under this parent. If a concurrent rename moves the directory elsewhere, the old parent loses its last reference; a following rmdir then turns it into a negative dentry with d_inode cleared, and after the RCU grace period the dentry itself is freed. The worker still holds the raw pointer and dereferences d_inode through vfs_getattr() and vfs_getxattr(). A remote SMB client, authenticated or guest, triggers this by listing a directory while that directory is moved under a new parent and the old parent is deleted. It can be done by the client itself with write access or by other concurrent writers, triggering null-ptr-deref and slab-use-after-free on a KASAN build. KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] Workqueue: ksmbd-io handle_ksmbd_work RIP: 0010:xattr_permission+0x9d/0x160 Call Trace: vfs_getxatt
Fixed in
6.12.117-1 · 6.12.117-1~deb12u1 · 7.3.3-1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Debian:12 | linux-6.12 | >=0, <6.12.117-1~deb12u1 | 6.12.117-1~deb12u1 |
| Debian:13 | linux | >=0, <6.12.117-1 | 6.12.117-1 |
| Debian:14 | linux | >=0, <7.3.3-1 | 7.3.3-1 |
Sources
- OSV · first seen 15d ago · CC-BY 4.0