PT-2026-163551
CVE-2026-139510
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
nilfs2: fix link count underflow when removing corrupted directory
When removing an empty directory with a corrupted link count (e.g.,
i nlink is 1 due to filesystem corruption), nilfs rmdir() calls
drop nlink() via nilfs do unlink() and then calls drop nlink() again
on the directory inode. This second call causes an underflow of
i nlink, triggering a kernel WARNING in drop nlink().
Fix this issue by using clear nlink() instead of drop nlink() to
finalize the link count reset for the target directory in nilfs rmdir().
Additionally, log a warning message when i nlink is not 2 before
removing an empty directory to notify about the link count inconsistency.
Found an issue in the description? Have something to add? Feel free to write us 👾