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-139333

published

btrfs: update the inode item when removing a free space inode

Published
30 Nov 2026, 13:33:47 UTC
Updated
30 Nov 2026, 13:33:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < 36bc2d3b07f8e0818ad5be80bfcb869b5d34e112 · 455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < 53e6ca355cbce4fedb0f2cdd70efb7944e844562 · 455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < b70c83b83cb651413f2215822c3e5def884d6b05 · 455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < 4e89aff9ad6fcbec555c38169807c4023f93450f · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.2 (affected) · 0 to < 3.2 (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 stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: update the inode item when removing a free space inode btrfs_remove_free_space_inode() adds an orphan item for the free space inode and clears its link count in memory, but never writes the inode item. The item is only removed once the delayed iput evicts the inode, which happens in a later transaction, from the cleaner thread or a throttled transaction end. If we crash in between, or if evict can't reserve space for the truncation and leaves the orphan item for the next mount, the on-disk inode still has a link count of 1. btrfs_orphan_cleanup() then treats it as an inode with links and only deletes the orphan item. The free space header item is already gone at that point, so nothing ever finds the inode again, and its data extents are leaked. Write the zero link count to the inode item in the same transaction as the orphan item, so the orphan cleanup evicts the inode instead. Account for the extra tree root item update when removing a block group.

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 455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < 36bc2d3b07f8e0818ad5be80bfcb869b5d34e112 (affected · git)455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < 53e6ca355cbce4fedb0f2cdd70efb7944e844562 (affected · git)455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < b70c83b83cb651413f2215822c3e5def884d6b05 (affected · git)455757c322cc0a0f2a692c5625dd88aaf6a7b889 to < 4e89aff9ad6fcbec555c38169807c4023f93450f (affected · git)Default: unaffected Linux · cna
Linux Linux 3.2 (affected)0 to < 3.2 (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

4

Provider assertions

1

Linux · cna

btrfs: update the inode item when removing a free space inode

Provenance

Schema
5.2
Searchable
yes
Content hash
b9898a71f9d53b7f13d25f825c74f436ed495723cca8a3269eefa7d34c64f075
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