btrfs: fix reservation leak in some error paths when inserting inline extent
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.163, 6.6.124, 6.12.70, 6.18.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix reservation leak in some error paths when inserting inline extent If we fail to allocate a path or join a transaction, we return from __cow_file_range_inline() without freeing the reserved qgroup data, resulting in a leak. Fix this by ensuring we call btrfs_qgroup_free_data() in such cases.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 94ed938aba557aa798acf496f09afb289b619fcd · fixed in f7156512c8166d385f574b9ec030479aa7b1e8c9; From 94ed938aba557aa798acf496f09afb289b619fcd · fixed in 28b97fcbbf523779688e8de5fe55bf2dae3859f6; From 94ed938aba557aa798acf496f09afb289b619fcd · fixed in f3ee1732851aec6fe6b2cec2ef1b32d4e71d9913; From 94ed938aba557aa798acf496f09afb289b619fcd · fixed in 28768bd3abf9995a93f6e01bfce01c60622964dd; From 94ed938aba557aa798acf496f09afb289b619fcd · fixed in c1c050f92d8f6aac4e17f7f2230160794fceef0c
- Linux Linux
4.4
- KernelLinux
From 4.4.0 · fixed in 6.1.163; From 6.2.0 · fixed in 6.6.124; From 6.7.0 · fixed in 6.12.70; From 6.13.0 · fixed in 6.18.10