CVE-2024-54031
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-54031 affects the Linux kernel's netfilter component, specifically related to an unaligned atomic read issue in the nft_set_hash functionality. The vulnerability was discovered and disclosed on January 15, 2025, affecting the struct nft_set_ext implementation in the netfilter subsystem (NVD).

Technical details

The vulnerability stems from an unaligned atomic read access to the genmask field in struct nft_set_ext, which can result in alignment faults on certain architectures. The issue manifests when accessing the genmask field, causing kernel paging requests to fail with an alignment fault (ESR = 0x0000000096000021). The problem occurs specifically in the nft_rhash_gc function within the nf_tables module (Kernel Commit).

Impact

When triggered, this vulnerability can cause a kernel panic due to an unaligned memory access, leading to a system crash. This primarily affects systems using the netfilter subsystem with nftables hash sets. The issue increases the size of elements for rhash and pipapo by 8 bytes on x86_64 architectures (Kernel Commit).

Mitigation and workarounds

The issue has been fixed by aligning the struct nft_set_ext to word size using the __aligned(BITS_PER_LONG / 8) attribute. This fix has been incorporated into various Linux kernel versions, including 5.10.234-1 and 6.1.128-1~deb11u1 for Debian systems (Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management