Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139510

published

nilfs2: fix link count underflow when removing corrupted directory

Published
30 Nov 2026, 13:35:25 UTC
Updated
30 Nov 2026, 13:35:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 719e0bfa146c6dded44f10a9c1c53890b658cfe2 · d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 6f7a95bd8c5a702737740feb8f1b50d1c4ea1062 · d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 6665347d26bf851df6793f4f3f9a7cc72a636917 · d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 5f391ea18c845d2989e6c63de7a9585271f23566 · d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 1224daa73cc19b6b9bc9f241af30bc9998063a3e · d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < e6f6d475f5d8750bea7e8ab4e945654bc92283bd · d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 1cd9c49962aa6b977b0f8e90b626a47534e8ec0d · d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 814f5a53b4724798795b15690ff3d1c1d9ac1eb6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.30 (affected) · 0 to < 2.6.30 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix link count underflow when removing corrupted directory When removing an empty directory with a corrupted link count (e.g., i_nlink is 1 due to filesystem corruption), nilfs_rmdir() calls drop_nlink() via nilfs_do_unlink() and then calls drop_nlink() again on the directory inode. This second call causes an underflow of i_nlink, triggering a kernel WARNING in drop_nlink(). Fix this issue by using clear_nlink() instead of drop_nlink() to finalize the link count reset for the target directory in nilfs_rmdir(). Additionally, log a warning message when i_nlink is not 2 before removing an empty directory to notify about the link count inconsistency.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 719e0bfa146c6dded44f10a9c1c53890b658cfe2 (affected · git)d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 6f7a95bd8c5a702737740feb8f1b50d1c4ea1062 (affected · git)d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 6665347d26bf851df6793f4f3f9a7cc72a636917 (affected · git)d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 5f391ea18c845d2989e6c63de7a9585271f23566 (affected · git)d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 1224daa73cc19b6b9bc9f241af30bc9998063a3e (affected · git)d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < e6f6d475f5d8750bea7e8ab4e945654bc92283bd (affected · git)d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 1cd9c49962aa6b977b0f8e90b626a47534e8ec0d (affected · git)d25006523d0b9e49fd097b2e974e7c8c05bd7f54 to < 814f5a53b4724798795b15690ff3d1c1d9ac1eb6 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.30 (affected)0 to < 2.6.30 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

nilfs2: fix link count underflow when removing corrupted directory

Provenance

Schema
5.2
Searchable
yes
Content hash
dc31181e40bb5de23ccef784019690e8331d58bb7496d6159b15f784534d082b
Ingested
30 Nov 2026, 13:42:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected