Improper Validation of Specified Index, Position, or Offset in Input Affecting torvalds/linux package, versions [5.4.287,5.4.289)[5.10.231,5.10.233)[5.15.174,5.15.176)[6.1.120,6.1.124)[6.6.66,6.6.70)[6.12.5,6.12.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (15th 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-20698227
  • published10 Oct 2026
  • disclosed15 Jan 2025
  • creditUnknown

Introduced: 15 Jan 2025

CVE-2024-54031  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.4.289, 5.10.233, 5.15.176, 6.1.124, 6.6.70, 6.12.9 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Specified Index, Position, or Offset in Input in the nft_rhash_gc process. An attacker can cause a kernel crash or denial of service by triggering unaligned atomic reads on the genmask field within struct nft_set_ext.

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