CVE-2026-139430
publishedbtrfs: fix lost error return value in btrfs_alloc_logged_file_extent()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 07fdd2be199d565d9551b675f06849e3f063a900 · cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 8a38209f9ebe9ec229b25c5db58a89c188554426 · cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 2efc6bf370d9eea053528af1c51d898964d3bc84 · cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 784cd5a83476c6c720521f21350fb823928555ff · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (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 | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix lost error return value in btrfs_alloc_logged_file_extent() If we fail to allocate a reserved file extent we then call btrfs_record_squota_delta() and assign its return value to 'ret', discarding the error from the failed allocation attempt and allowing log replay to proceed as if no errors happened, resulting in some replayed file extent item to point to an unallocated extent. At the moment btrfs_record_squota_delta() always returns 0 (success).
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 07fdd2be199d565d9551b675f06849e3f063a900 (affected · git)cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 8a38209f9ebe9ec229b25c5db58a89c188554426 (affected · git)cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 2efc6bf370d9eea053528af1c51d898964d3bc84 (affected · git)cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 to < 784cd5a83476c6c720521f21350fb823928555ff (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (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
0No weakness assertions.
References
4Provider assertions
1Linux · cna
btrfs: fix lost error return value in btrfs_alloc_logged_file_extent()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d968597e336f1ab85ba16325d01241cf42eb0223bb5fa14b31b747ce322a8ff
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record