Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

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).

Exploitability

The vulnerability is triggered during normal operation of the netfilter subsystem, specifically in the garbage collection process of hash sets. It has been observed in kernel version 6.13.0-rc3+ and potentially affects other versions that use the nft_set_hash functionality (NVD).

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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.124-1

Fixed

bullseye

linux-6.1: 6.1.128-1~deb11u1

Fixed

sid

linux: 6.12.9-1

Fixed

trixie

linux: 6.12.9-1

Fixed

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-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.17
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesSep 17, 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