CVE-2022-50300btrfs: fix extent map use-after-free when handling missing device in read_one_chunk
- 7.8HighCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 93% 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: fix extent map use-after-free when handling missing device in read_one_chunk Store the error code before freeing the extent_map. Though it's reference counted structure, in that function it's the first and last allocation so this would lead to a potential use-after-free. The error can happen eg. when chunk is stored on a missing device and the degraded mount option is missing. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=216721
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 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:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 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.17% · top 93% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected adfb69af7d8cb6a3958f75aad1ef4bc96891d116 – < b8e7ed42bc3ca0d0e4191ee394d34962d3624c22
- affected adfb69af7d8cb6a3958f75aad1ef4bc96891d116 – < fce3713197ebba239e1c7e02174ed216ea1ee014
- affected adfb69af7d8cb6a3958f75aad1ef4bc96891d116 – < 169a4cf46882974d4db6d85eb623ec898e51bbc0
- affected adfb69af7d8cb6a3958f75aad1ef4bc96891d116 – < 1742e1c90c3da344f3bb9b1f1309b3f47482756a
- affected 4.15
- unaffected < 4.15
- unaffected 5.15.87 – ≤ 5.15.*
- unaffected 6.0.18 – ≤ 6.0.*
- unaffected 6.1.4 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References
References4
- https://git.kernel.org/stable/c/b8e7ed42bc3ca0d0e4191ee394d34962d3624c22 (opens in a new tab)
- https://git.kernel.org/stable/c/fce3713197ebba239e1c7e02174ed216ea1ee014 (opens in a new tab)
- https://git.kernel.org/stable/c/169a4cf46882974d4db6d85eb623ec898e51bbc0 (opens in a new tab)
- https://git.kernel.org/stable/c/1742e1c90c3da344f3bb9b1f1309b3f47482756a (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-55555 (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-50300)Record last updated .