Technical impact
The flaw resides in the nilfs2 filesystem of the Linux kernel. When an empty directory whose link count has become corrupted (i.e., i_nlink is 1 instead of the expected 2) is removed, the code path calls drop_nlink() twice: first via nilfs_do_unlink() and then directly on the inode. The second call causes the inode’s link count to underflow, which triggers a kernel warning in the drop_nlink() routine. This underflow can bring the kernel into an invalid state, potentially leading to a crash if the warning propagates to a BUG or a panic. The root cause is an integer underflow caused by improper handling of corrupted metadata.
Affected Systems
All Linux kernel builds that include the nilfs2 filesystem driver are affected. No version range restriction is provided in the advisory; the issue exists in every kernel that contains the vulnerable code path until the upstream patch is applied. Administrators of systems running nilfs2 filesystems should consider the kernel vulnerable if the filesystem may contain corrupted directories.
Risk and Exploitability
The vulnerability likely requires local access with the ability to cause or introduce filesystem corruption, such as privileged users who can format or manipulate nilfs2 volumes. The attack vector is inferred to be local and involves creating a corrupted directory that triggers the double decrement during removal. Because no EPSS score is published and the issue is not listed in the CISA KEV catalog, the probability of exploitation is uncertain, although the potential impact—instability or panic of a kernel process—remains significant.