CVE-2022-50313
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's EROFS (Enhanced Read-Only File System) has been identified as CVE-2022-50313. The issue stems from a negative i_size field handling that could lead to unexpected behavior when processing file sizes. The vulnerability was discovered by syzbot and affects various Linux kernel versions (NVD).

Technical details

The root cause of the vulnerability lies in the i_size field being a signed type, where negative i_size values that are less than EROFS_BLKSIZ are handled as fast symlinks unexpectedly. This implementation flaw could lead to improper size validation and potential system issues. The vulnerability has been assigned a medium priority rating by Ubuntu, indicating moderate severity (Ubuntu).

Impact

When exploited, this vulnerability could cause the system to handle files incorrectly due to the improper processing of negative i_size values, potentially leading to system warnings and unexpected behavior in the EROFS filesystem (NVD).

Mitigation and workarounds

The vulnerability has been patched in various Linux distributions. Ubuntu has released fixes for multiple versions: Ubuntu 22.04 LTS (5.15.0-67.74), Ubuntu 20.04 LTS (5.4.0-211.231), and Ubuntu 18.04 LTS via linux-hwe-5.4 (5.4.0-211.231~18.04.1). The fix involves falling back to the generic path to handle unusual i_size values (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management