CVE-2022-49168: btrfs: do not clean up repair bio if submit fails
Vulnerability summary
CVE-2022-49168 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 26% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 11Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: do not clean up repair bio if submit fails The submit helper will always run bio_endio() on the bio if it fails to submit, so cleaning up the bio just leads to a variety of use-after-free and NULL pointer dereference bugs because we race with the endio function that is cleaning up the bio. Instead just return BLK_STS_OK as the repair function has to continue to process the rest of the pages, and the endio for the repair bio will do the appropriate cleanup for the page that it was given.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.33% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu116 products
- linuxAll versions (No fix recorded) | < 5.15.0-144.157
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1088.95
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < e7e1d15d2bd8c373cf621614ddd17971a2132713 | ≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < 7170875083254b51fcc5d67f96640977083f481e | ≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < e76c78c48902dae6fa612749f59162bca0a79e0b | ≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < d1cb11fb45ebbb1e7dfe5e9038b32ea72c184b14 | ≥ 6c387ab20db15f2bd448f7c508e2638101b16ea1, < 8cbc3001a3264d998d6b6db3e23f935c158abd4d | 3.18
- linux_kernel< 5.10.248 | ≥ 5.11, < 5.15.184 | ≥ 5.16, < 5.16.19 | ≥ 5.17, < 5.17.2
Debian1 product
- linux< 5.17.3-1
3 vendors · 119 products