{"id":"AZL-115055","aliases":[],"title":"CVE-2026-99540 affecting package kernel 6.6.161.1-1","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":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99540","type":"web"}],"sources":[{"name":"osv","at":"2026-11-20T14:46:49.365Z","url":"https://osv.dev/vulnerability/AZL-115055","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T14:46:49.365Z"}],"firstSeenAt":"2026-11-20T14:46:49.365Z","publishedAt":"2026-11-19T15:18:10.000Z","modifiedAt":"2026-11-20T14:17:19.272Z"}