CVE-2022-50746
Use-After-Free in Linux Kernel EROFS Due to Invalid Extent Length
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :
This vulnerability could lead to a use-after-free condition in the Linux kernel, which may cause system instability, crashes, or potential exploitation by attackers to execute arbitrary code or escalate privileges.
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's erofs filesystem involves improper validation of the extent length for uncompressed pclusters. Specifically, a use-after-free issue was reported by syzkaller, related to the logical length of a pcluster being longer than its physical length. The patch fixes this by validating the extent length to prevent this inconsistency.