Buffer Overflow Affecting torvalds/linux package, versions [4.11,5.4.229)[5.5,5.10.163)[5.11,5.15.87)[5.16,6.0.16)[6.1,6.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (2nd 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-20573791
  • published8 Oct 2026
  • disclosed16 Sept 2025
  • creditUnknown

Introduced: 16 Sep 2025

CVE-2022-50341  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.4.229, 5.10.163, 5.15.87, 6.0.16, 6.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the scatterwalk_copychunks process. An attacker can cause memory corruption and potentially execute arbitrary code or crash the system by triggering an out-of-bounds write through crafted filesystem operations on an encrypted SMB3/CIFS mount.

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