CVE-2026-139430

Source
https://cve.org/CVERecord?id=CVE-2026-139430
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139430.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139430
Downstream
Published
2026-11-30T13:34:40Z
Modified
2026-11-30T15:02:28Z
Summary
btrfs: fix lost error return value in btrfs_alloc_logged_file_extent()
Details

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).

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139430.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cecbb533b5fcec4ff77e786b7f94457f6cacd9e7
Fixed
07fdd2be199d565d9551b675f06849e3f063a900
Fixed
8a38209f9ebe9ec229b25c5db58a89c188554426
Fixed
2efc6bf370d9eea053528af1c51d898964d3bc84
Fixed
784cd5a83476c6c720521f21350fb823928555ff

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139430.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139430.json"