Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50746

published high CVSS 3.1 · 8.4

erofs: validate the extent length for uncompressed pclusters

Published
24 Dec 2025, 13:05:42 UTC
Updated
15 Oct 2026, 21:41:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux02827e1796b33f1794966f5c3101f8da2dfa9c1d to < dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e · 02827e1796b33f1794966f5c3101f8da2dfa9c1d to < 40c73b2ea9611b5388807be406f30f5e4e1162da · 02827e1796b33f1794966f5c3101f8da2dfa9c1d to < c505feba4c0d76084e56ec498ce819f02a7043ae · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached only after a local EROFS mount and read/mmap/open (z_erofs_read_folio → z_erofs_do_map_blocks → z_erofs_transform_plain); erofs has FS_REQUIRES_DEV and no network-protocol entry into the decompressor. AC:L - A crafted image with a PLAIN pcluster whose logical extent length exceeds its physical length deterministically drives outpages > inpages and the oversized memcpy on ordinary file open/read, with no race or attacker-uncontrollable condition. PR:N - The attacker only needs to supply the malicious image; mounting is performed by an automated consumer (container/composefs/APEX/OTA image runtime or removable-media automounter) and requires no account or capability on the target. UI:N - In those deployments the mount and subsequent open/read (including IMA measurement on open as in the syzbot crash) happen as part of image pull/run or media insertion, with no separate interactive victim step required. S:U - The OOB/UAF copy and resulting kernel memory corruption stay within the host kernel's security authority; no VM escape, IOMMU bypass, or other cross-boundary impact occurs. C:H - KASAN reports a use-after-free read of 4096 bytes where memcpy copies adjacent/freed kernel memory into the file's page cache, which userspace can then read—an arbitrary kernel-memory disclosure. I:H - The same path is a UAF/OOB memory-corruption class bug (and can take the memmove path that writes past the source page), which per kernel guidance enables heap corruption and control-flow hijacking primitives. A:H - The demonstrated KASAN use-after-free/out-of-bounds access can oops or panic the kernel even when not fully exploited, which is Availability High under kernel CVSS guidance.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 02827e1796b33f1794966f5c3101f8da2dfa9c1d to < dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e (affected · git)02827e1796b33f1794966f5c3101f8da2dfa9c1d to < 40c73b2ea9611b5388807be406f30f5e4e1162da (affected · git)02827e1796b33f1794966f5c3101f8da2dfa9c1d to < c505feba4c0d76084e56ec498ce819f02a7043ae (affected · git)Default: unaffected Linux · cna
Linux Linux 4.19 (affected)0 to < 4.19 (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

erofs: validate the extent length for uncompressed pclusters

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0e86de4f6d1c427d611bb33e5c9c7359a92ba7a780edbc8aa9642bcaa2645e85
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected