CVE-2026-138983: Linux kernel · nilfs2: fix deadlock between nilfs_evict_inode() and find_inode()
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in ff1227f70eead8704ecfec69259fb4c041f92cda : update Linux kernel when convenient.
Data as of 30 Nov 2026, 14:00 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in ff1227f70eead8704ecfec69259fb4c041f92cda, d0613a385afd4891383540edecf5a9072820ed78, d03eec2032df908aeeef06a0b442537edb1a4d30 +11
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix deadlock between nilfs_evict_inode() and find_inode() Syzbot reported a deadlock between nilfs_evict_inode(), executed via an asynchronous workqueue (kworker) as: process_one_work() process_scheduled_works() nilfs_iput_work_func() nilfs_dispose_list() iput() iput_final() evict() s_op->evict_inode() nilfs_evict_inode() and find_inode(), called via nilfs_mkdir() nilfs_new_inode() nilfs_insert_inode_locked() insert_inode_locked4() inode_insert5() find_inode() When an inode is deleted (i_nlink == 0), nilfs_evict_inode() clears its ifile bitmap entry and then synchronously triggers the log writer via nilfs_transaction_commit() if IS_SYNC(inode) is true. If a concurrent directory creation via nilfs_new_inode() attempts to allocate the same newly freed inode number, however, find_inode() called just before inserting it into the inode hash, blocks waiting for the old inode's evict() to complete. Meanwhile, the synchronous log writer invoked from nilfs_evict_inode() tries to acquire a write lock on 'ns_segctor_sem' which is read locked by the caller of nilfs_new_inode() (in this case, nilfs_mkdir()), resulting in a deadlock. The synchronous log writer invocation from nilfs_evict_inode() is a legacy artifact; it is no longer necessary because the call itself (triggered by iput()) is now handled asynchronously with a kworker if i_nlink == 0. It merely increases the risk of deadlock. Fix this deadlock by removing the synchronous log writer trigger from nilfs_evict_inode().
References
- git.kernel.org/stable/c/831b4daf89279319de1f36fa9cf14e5de08a9b56 (opens in a new tab)
- git.kernel.org/stable/c/96ceee0dcea599a6c4f1e82cc048ddbcbd6e0363 (opens in a new tab)
- git.kernel.org/stable/c/d03eec2032df908aeeef06a0b442537edb1a4d30 (opens in a new tab)
- git.kernel.org/stable/c/8ec5dd1b933d3e92de7ef6149ccae118bfd35907 (opens in a new tab)
- git.kernel.org/stable/c/ac163d9cbbbcf9e87681e73fbe5adeffeb679a43 (opens in a new tab)
- git.kernel.org/stable/c/582a0631a00df91e6fc3bbdfc21dfbc77c9bb825 (opens in a new tab)
- git.kernel.org/stable/c/d0613a385afd4891383540edecf5a9072820ed78 (opens in a new tab)
- git.kernel.org/stable/c/ff1227f70eead8704ecfec69259fb4c041f92cda (opens in a new tab)