{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139087","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.913Z","datePublished":"2026-11-30T13:31:27.484Z","dateUpdated":"2026-11-30T13:31:27.484Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:31:27.484Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nminix: reject rmdir of a directory with a corrupted link count\n\nminix_rmdir() calls minix_unlink(), which drops the victim's link\ncount once, and then drops it a second time for the \".\" entry. An\nimage where an empty directory has i_nlink < 2 makes the second drop\nhit drop_nlink() with i_nlink == 0:\n\n  WARNING: fs/inode.c:408 at drop_nlink\n   minix_rmdir+0xe9/0x150\n   vfs_rmdir\n   filename_rmdir\n   __do_sys_unlinkat\n\nThe parent's link count is already validated; do the same for the\ndirectory being removed and fail with -EFSCORRUPTED."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/minix/namei.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"711fd82a6b6427d62d6db7bdcafae8d544a44f0f","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"22bba6b4a5254179f6982c3d97e3a657a84bfc31","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"c5e739d8ace3e3b923041844e07b68bacfe9192d","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"fc9577079df8a44ccbf39d2f06634017d286e4f0","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/minix/namei.c"],"versions":[{"version":"2.6.12","status":"affected"},{"version":"0","lessThan":"2.6.12","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/711fd82a6b6427d62d6db7bdcafae8d544a44f0f"},{"url":"https://git.kernel.org/stable/c/22bba6b4a5254179f6982c3d97e3a657a84bfc31"},{"url":"https://git.kernel.org/stable/c/c5e739d8ace3e3b923041844e07b68bacfe9192d"},{"url":"https://git.kernel.org/stable/c/fc9577079df8a44ccbf39d2f06634017d286e4f0"}],"title":"minix: reject rmdir of a directory with a corrupted link count","x_generator":{"engine":"bippy-1.2.0"}}}}