{"id":"DEBIAN-CVE-2026-99556","aliases":[],"title":null,"originalDescription":"In the Linux kernel, the following vulnerability has been resolved: ksmbd: serialize directory emptiness checks with readdir SMB2 QUERY_DIRECTORY holds fp->readdir_lock while it calls iterate_dir() on fp->filp. An SMB2 SET_INFO request with FILE_DISPOSITION_INFORMATION can resolve the same FileId and call ksmbd_vfs_empty_dir() on the same filp without that lock. iterate_dir()'s inode read lock permits concurrent readers and does not serialize per-file iterator state. ext4 stores its dx readdir cursor and fname RB tree in file->private_data. Concurrent reset or refill can therefore free a fname node while the other worker still traverses it or retains its RB-tree link, resulting in use-after-free accesses. An authenticated SMB client with list and delete rights on a directory in a writable KSMBD share backed by ext4 can trigger this when the directory takes the dx readdir path. The client overlaps an SMB2 QUERY_DIRECTORY request with an SMB2 SET_INFO request carrying FILE_DISPOSITION_INFORMATION on one live FileId. In one x86_64 SMP KASAN multi-shot guest using ksmbd-for-next at 171df27077fb, the unmodified kernel reported a cross-worker use-after-free before a panic. The first repo","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-99556","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-22T01:25:41.054Z","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99556","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T19:35:34.270Z"}],"firstSeenAt":"2026-11-19T19:35:34.270Z","publishedAt":"2026-11-19T15:18:12.100Z","modifiedAt":"2026-11-22T01:00:32.996Z"}