CVE-2026-138983

Not scored yetLast modified Nov 30, 2026

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().

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138984In the Linux kernel, the following vulnerability has been resolved: mfd: da903x: Cancel IRQ work during teardown The IRQ handler disables CVE-2026-138985In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_xcvr: free IRQ before canceling reset work irq0_isr() scheduCVE-2026-138986In the Linux kernel, the following vulnerability has been resolved: media: atmel-isi: release unregistered video device on remove atmel_isCVE-2026-138987In the Linux kernel, the following vulnerability has been resolved: media: go7007: unregister the I2C adapter on USB probe failure USB proCVE-2026-138988In the Linux kernel, the following vulnerability has been resolved: media: marvell: manage the MMP camera clock provider mmpcam_probe() reCVE-2026-138989In the Linux kernel, the following vulnerability has been resolved: media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functioCVE-2026-138998.8Use after free in HTML in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandbox via a crCVE-2026-138990In the Linux kernel, the following vulnerability has been resolved: crypto: qat - zero the VF migration state buffer on save The QAT VF miCVE-2026-1389917.1In the Linux kernel, the following vulnerability has been resolved: md: validate bblog_size when loading v1.x badblocks metadata In super_CVE-2026-138992In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix checkpoint root lifetime on sysfs errors nilfs_find_or_creCVE-2026-138993In the Linux kernel, the following vulnerability has been resolved: media: ir_toy: Validate the maximum tx carrier Reject any carrier the CVE-2026-138994In the Linux kernel, the following vulnerability has been resolved: media: serial_ir: Fix race condition where timer can be re-armed Ensur
CVE-2026-138983: Unscored | Vulnix