CVE-2022-50746
Unknown Unknown - Not Provided

Use-After-Free in Linux Kernel EROFS Due to Invalid Extent Length

Vulnerability report for CVE-2022-50746, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: erofs: validate the extent length for uncompressed pclusters syzkaller reported a KASAN use-after-free: https://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2 The referenced fuzzed image actually has two issues: - m_pa == 0 as a non-inlined pcluster; - The logical length is longer than its physical length. The first issue has already been addressed. This patch addresses the second issue by checking the extent length validity.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-07-06
AI Q&A
2025-12-24
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

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.

Executive Summary

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50746. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart