CVE-2022-49168btrfs: do not clean up repair bio if submit fails
- 7.8HighCVSS base score
- 0.33%Exploitation in 30 daysEPSS · top 74% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.33% · top 74% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 6c387ab20db15f2bd448f7c508e2638101b16ea1 – < e7e1d15d2bd8c373cf621614ddd17971a2132713
- affected 6c387ab20db15f2bd448f7c508e2638101b16ea1 – < 7170875083254b51fcc5d67f96640977083f481e
- affected 6c387ab20db15f2bd448f7c508e2638101b16ea1 – < e76c78c48902dae6fa612749f59162bca0a79e0b
- affected 6c387ab20db15f2bd448f7c508e2638101b16ea1 – < d1cb11fb45ebbb1e7dfe5e9038b32ea72c184b14
- affected 6c387ab20db15f2bd448f7c508e2638101b16ea1 – < 8cbc3001a3264d998d6b6db3e23f935c158abd4d
- affected 3.18
- unaffected < 3.18
- unaffected 5.10.248 – ≤ 5.10.*
- unaffected 5.15.184 – ≤ 5.15.*
- unaffected 5.16.19 – ≤ 5.16.*
- unaffected 5.17.2 – ≤ 5.17.*
- unaffected 5.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/e7e1d15d2bd8c373cf621614ddd17971a2132713 (opens in a new tab)
- https://git.kernel.org/stable/c/7170875083254b51fcc5d67f96640977083f481e (opens in a new tab)
- https://git.kernel.org/stable/c/e76c78c48902dae6fa612749f59162bca0a79e0b (opens in a new tab)
- https://git.kernel.org/stable/c/d1cb11fb45ebbb1e7dfe5e9038b32ea72c184b14 (opens in a new tab)
- https://git.kernel.org/stable/c/8cbc3001a3264d998d6b6db3e23f935c158abd4d (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55057 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-49168)Record last updated .