Incorrect Type Conversion or Cast Affecting torvalds/linux package, versions [5.1,5.4.275)[5.5,5.10.216)[5.11,5.15.158)[5.16,6.1.90)[6.2,6.6.30)[6.7,6.8.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (16th 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-20695758
  • published9 Oct 2026
  • disclosed20 May 2024
  • creditUnknown

Introduced: 20 May 2024

CVE-2024-36007  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.4.275, 5.10.216, 5.15.158, 6.1.90, 6.6.30, 6.8.9 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast through improper management of markers during the rehash migration process in the mlxsw_sp_acl_tcam_vregion_rehash_work function. An attacker can cause kernel memory corruption, leak sensitive information, and potentially execute arbitrary code by installing and removing tc flower filters on an mlxsw Spectrum port via rtnetlink with CAP_NET_ADMIN privileges in a delegated network namespace. This can lead to wild reads and writes in kernel memory, resulting in system instability or compromise.

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