CVE-2026-139087 minix: reject rmdir of a directory with a corrupted link count

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139087?

CVE-2026-139087 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

minix: reject rmdir of a directory with a corrupted link count

minix_rmdir() calls minix_unlink(), 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 i_nlink < 2 makes the second drop hit drop_nlink() with i_nlink == 0:

WARNING: fs/inode.c:408 at drop_nlink minix_rmdir+0xe9/0x150 vfs_rmdir filename_rmdir __do_sys_unlinkat

The parent's link count is already validated; do the same for the directory being removed and fail with -EFSCORRUPTED.

Which versions are affected by CVE-2026-139087?

How do I fix CVE-2026-139087?

Upgrade to a fixed version.

Is CVE-2026-139087 being exploited?

There is no known exploitation of CVE-2026-139087 in the wild and no public exploit code.

Sources

Also known as AZL-116863, BELL-CVE-2026-139087, DEBIAN-CVE-2026-139087, GHSA-7hp3-cfv9-pr4x, UBUNTU-CVE-2026-139087.

Is CVE-2026-139087 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free