{"id":"DEBIAN-CVE-2026-99540","aliases":[],"title":null,"originalDescription":"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","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Debian:12","name":"linux-6.12","range":">=0, <6.12.117-1~deb12u1","fixed":"6.12.117-1~deb12u1"},{"ecosystem":"Debian:13","name":"linux","range":">=0, <6.12.117-1","fixed":"6.12.117-1"},{"ecosystem":"Debian:14","name":"linux","range":">=0, <7.3.3-1","fixed":"7.3.3-1"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-99540","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-24T10:12:35.942Z","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99540","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T19:35:34.200Z"}],"firstSeenAt":"2026-11-19T19:35:34.200Z","publishedAt":"2026-11-19T15:18:10.040Z","modifiedAt":"2026-11-23T10:00:18.802Z"}