Incorrect Type Conversion or Cast Affecting torvalds/linux package, versions [4.19,5.4.289)[5.5,5.10.233)[5.11,5.15.82)[5.16,5.19.17)[6.0,6.0.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-20573655
  • published8 Oct 2026
  • disclosed15 Sept 2025
  • creditUnknown

Introduced: 15 Sep 2025

CVE-2022-50313  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.4.289, 5.10.233, 5.15.82, 5.19.17, 6.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast in the handling of the i_size field in the EROFS filesystem implementation. An attacker can trigger a kernel warning or potentially cause a denial of service by supplying a crafted negative value to the i_size field, which is incorrectly processed as a fast symlink due to its signed type.

Note: The Linux kernel project assigns a CVE to every bug fix it ships, whether or not the bug has been shown to be exploitable. This advisory was generated from that process and has not been individually assessed for exploitability. See the kernel's CVE process documentation: https://github.com/torvalds/linux/blob/master/Documentation/process/cve.rst

CVSS Base Scores

version 4.0
version 3.1