Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50746

HIGH 8.4EPSS 10%

erofs: validate the extent length for uncompressed pclusters

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < 40c73b2ea9611b5388807be406f30f5e4e1162da; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < c505feba4c0d76084e56ec498ce819f02a7043ae
  • Anyone running Linux 4.19

Vulnerability facts

Affected
Linux >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < 40c73b2ea9611b5388807be406f30f5e4e1162da; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < c505feba4c0d76084e56ec498ce819f02a7043ae; Linux 4.19
Fixed in
Linux 40c73b2ea9611b5388807be406f30f5e4e1162da
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < 40c73b2ea9611b5388807be406f30f5e4e1162da; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < c505feba4c0d76084e56ec498ce819f02a7043ae—cvelist
Linux4.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50746. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50746.md
Affected: Linux >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < 40c73b2ea9611b5388807be406f30f5e4e1162da; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < c505feba4c0d76084e56ec498ce819f02a7043ae; Linux 4.19
Fixed in: Linux 40c73b2ea9611b5388807be406f30f5e4e1162da

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50746 being exploited?

There is no confirmed exploitation: CVE-2022-50746 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50746?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50746?

Linux >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < dc8b6bd587b13b85aff6e9d36cdfcd3f955cac9e; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < 40c73b2ea9611b5388807be406f30f5e4e1162da; >= 02827e1796b33f1794966f5c3101f8da2dfa9c1d, < c505feba4c0d76084e56ec498ce819f02a7043ae; Linux 4.19.

Is there a fix for CVE-2022-50746?

Yes. Fixed in Linux 40c73b2ea9611b5388807be406f30f5e4e1162da. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50746?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors