Kernel memory corruption via freed extent-map dereference
Published Sep 15, 2025 · Updated Sep 15, 2025
Use-after-free in Linux btrfs allows local users to corrupt kernel memory when a crafted multi-device filesystem is mounted. read_one_chunk frees the extent map before reading map->stripes[i].dev to derive its error code, dereferencing freed storage. The path requires a chunk on a missing device and a mount without the degraded option; successful exploitation affects the host kernel.
Summary
What happened
Use-after-free in Linux btrfs allows local users to corrupt kernel memory when a crafted multi-device filesystem is mounted. read_one_chunk frees the extent map before reading map->stripes[i].dev to derive its error code, dereferencing freed storage. The path requires a chunk on a missing device and a mount without the degraded option; successful exploitation affects the host kernel.
The record
- CVE
- CVE-2022-50300
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.15
- Affected versionversion=adfb69af7d8cb6a3958f75aad1ef4bc96891d116 <169a4cf46882974d4db6d85eb623ec898e51bbc0
- Affected versionversion=adfb69af7d8cb6a3958f75aad1ef4bc96891d116 <1742e1c90c3da344f3bb9b1f1309b3f47482756a
- Affected versionversion=adfb69af7d8cb6a3958f75aad1ef4bc96891d116 <b8e7ed42bc3ca0d0e4191ee394d34962d3624c22
- Affected versionversion=adfb69af7d8cb6a3958f75aad1ef4bc96891d116 <fce3713197ebba239e1c7e02174ed216ea1ee014
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo