Improper Input Validation Affecting torvalds/linux package, versions [5.10.215,5.10.216)[5.15.154,5.15.156)[6.1.85,6.1.87)[6.6.26,6.6.28)[6.8.5,6.8.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (17th 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-20695709
  • published9 Oct 2026
  • disclosed20 May 2024
  • creditUnknown

Introduced: 20 May 2024

CVE-2024-35962  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.10.216, 5.15.156, 6.1.87, 6.6.28, 6.8.7 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation in the do_replace process. An attacker can cause the kernel to read out-of-bounds memory and trigger a denial of service by supplying crafted arguments to the setsockopt syscall on a locally-opened socket. This can result in leaking sensitive kernel heap data and crashing the system through a page fault. This is only exploitable if the attacker has unprivileged local access and can enter a new user and network namespace, which is standard in containerized environments with cgroup BPF enabled.

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