Bug 2587279 (CVE-2026-139087) - CVE-2026-139087 kernel: kernel: Denial of Service via corrupted directory link count in Minix file system
Summary: CVE-2026-139087 kernel: kernel: Denial of Service via corrupted directory lin...
Keywords:
Status: NEW
Alias: CVE-2026-139087
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:10 UTC by OSIDB Bzimport
Modified: 2026-12-01 14:00 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:10:17 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.