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

Published Nov 30, 2026
·
Updated

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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:31 PM
Data Sourced
via MITRE·01:31 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203