CVE-2026-139087: minix: reject rmdir of a directory with a corrupted link count
In the Linux kernel, the following vulnerability has been resolved:
minix: reject rmdir of a directory with a corrupted link count
minixrmdir() calls minixunlink(), which drops the victim's link count once, and then drops it a second time for the "." entry. An image where an empty directory has inlink < 2 makes the second drop hit dropnlink() with inlink == 0:
WARNING: fs/inode.c:408 at dropnlink minixrmdir+0xe9/0x150 vfsrmdir filenamermdir dosysunlinkat
The parent's link count is already validated; do the same for the directory being removed and fail with -EFSCORRUPTED.