CVE-2026-99084

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
23/10/2026
Last modified:
23/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> readdir: take no inode lock on an immutable directory<br /> <br /> iterate_dir() takes the directory&amp;#39;s i_rwsem shared and holds it across<br /> -&gt;iterate_shared(). For a directory that never has an entry and is<br /> never removed the lock keeps nothing still, it only orders every reader<br /> and every writer of that inode behind each other.<br /> <br /> For the directory of a nullfs instance that matters. The instance of<br /> the initial mount namespace is the root of every empty mount namespace<br /> and the private instance is the root of every kernel thread, so one<br /> inode is shared across users who have nothing else in common. And a<br /> reader can hold the lock for as long as it likes: back the getdents()<br /> buffer with a mapping of a file on a FUSE mount of your own, let the<br /> copy of "." and ".." fault and let the server wait. Queue an exclusive<br /> taker behind it, a mkdir() in that directory goes through start_dirop()<br /> before the read-only mount is reported, and from then on every lookup<br /> that misses the dcache in that directory, every create and every mount<br /> on it waits until the server answers. One user of an empty mount<br /> namespace stalls all the others.<br /> <br /> Add FOP_IMMUTABLE for the file operations of a directory that never<br /> changes and is never removed and let iterate_dir() skip the lock for<br /> it. The flag never changes for a file, -&gt;f_pos is protected by<br /> f_pos_lock since directories are FMODE_ATOMIC_POS, IS_DEADDIR can&amp;#39;t be<br /> set on such a directory and neither touch_atime() nor fsnotify take<br /> i_rwsem. Set it on the nullfs directory. The placeholder directories of<br /> libfs never have an entry either but their owners remove them, so they<br /> keep the lock.

Impact