CVE-2024-54031: Linux kernel · netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:58 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 15 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available that aligns struct nft_set_ext to the word size, resolving the unaligned atomic read issue. Users should apply the official Linux kernel update that includes this patch. Since this is a kernel-level vulnerability, updating to a fixed kernel version is the recommended mitigation.
Description
CVE-2024-54031 is a medium severity vulnerability in the Linux kernel's netfilter nft_set_hash component. The issue arises from an unaligned atomic read on the genmask field within the struct nft_set_ext, which can cause kernel crashes due to alignment faults. This flaw has been addressed by aligning the struct nft_set_ext to the word size, preventing such unaligned accesses.
References
- nvd.nist.gov/vuln/detail/CVE-2024-54031 (opens in a new tab)
- git.kernel.org/stable/c/277f00b0c2dca8794cf4837722960bdc4174911f (opens in a new tab)
- git.kernel.org/stable/c/352f8eaaabd008f09d1e176194edc261a7304084 (opens in a new tab)
- git.kernel.org/stable/c/4f49349c1963e507aa37c1ec05178faeb0103959 (opens in a new tab)
- git.kernel.org/stable/c/542ed8145e6f9392e3d0a86a0e9027d2ffd183e4 (opens in a new tab)
- git.kernel.org/stable/c/607774a13764676d4b8be9c8b9c66b8cf3469043 (opens in a new tab)
- git.kernel.org/stable/c/6a14b46052eeb83175a95baf399283860b9d94c4 (opens in a new tab)
- git.kernel.org/stable/c/d24cbc43cc7b41a0824b0bc6ec4d8436d8d7a9c0 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)