Skip to main content
Network Thinking Solutions Logo

CVE-2022-50300

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.

All CVEs
CVE-2022-50300Published 9/15/2025

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.

Vendor advisory
CVSS7.8High

Overview

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

Published
9/15/2025
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.15, < 5.15.87

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.18

Verify advisory

Source
linux kernel
linux
≥ 6.1, < 6.1.4

Verify advisory

Source
Linux
Linux
≥ adfb69af7d8cb6a3958f75aad1ef4bc96891d116, < b8e7ed42bc3ca0d0e4191ee394d34962d3624c22

Verify advisory

Source
Linux
Linux
≥ adfb69af7d8cb6a3958f75aad1ef4bc96891d116, < fce3713197ebba239e1c7e02174ed216ea1ee014

Verify advisory

Source
Linux
Linux
≥ adfb69af7d8cb6a3958f75aad1ef4bc96891d116, < 169a4cf46882974d4db6d85eb623ec898e51bbc0

Verify advisory

Source
Linux
Linux
≥ adfb69af7d8cb6a3958f75aad1ef4bc96891d116, < 1742e1c90c3da344f3bb9b1f1309b3f47482756a

Verify advisory

Source
Linux
Linux
4.15

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.