CVE-2022-50300
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/09/2025
Last modified:
15/09/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