CVE-2022-50300
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
15/09/2025
Last modified:
04/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
btrfs: fix extent map use-after-free when handling missing device in read_one_chunk<br />
<br />
Store the error code before freeing the extent_map. Though it&#39;s<br />
reference counted structure, in that function it&#39;s the first and last<br />
allocation so this would lead to a potential use-after-free.<br />
<br />
The error can happen eg. when chunk is stored on a missing device and<br />
the degraded mount option is missing.<br />
<br />
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=216721
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 5.15.87 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.0.18 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.1 (including) | 6.1.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



