Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2024-54031: netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.22% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 277f00b0c2dca8794cf4837722960bdc4174911f, 352f8eaaabd008f09d1e176194edc261a7304084, 4f49349c1963e507aa37c1ec05178faeb0103959.

Low priority for now. Upgrade to Linux Linux 277f00b0c2dca8794cf4837722960bdc4174911f, 352f8eaaabd008f09d1e176194edc261a7304084, 4f49349c1963e507aa37c1ec05178faeb0103959 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext Access to genmask field in struct nft_set_ext results in unaligned atomic read: [ 72.130109] Unable to handle kernel paging request at virtual address ffff0000c2bb708c [ 72.131036] Mem abort info: [ 72.131213] ESR = 0x0000000096000021 [ 72.131446] EC = 0x25: DABT (current EL), IL = 32 bits [ 72.132209] SET = 0, FnV = 0 [ 72.133216] EA = 0, S1PTW = 0 [ 72.134080] FSC = 0x21: alignment fault [ 72.135593] Data abort info: [ 72.137194] ISV = 0, ISS = 0x00000021, ISS2 = 0x00000000 [ 72.142351] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 72.145989] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 72.150115] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000237d27000 [ 72.154893] [ffff0000c2bb708c] pgd=0000000000000000, p4d=180000023ffff403, pud=180000023f84b403, pmd=180000023f835403, +pte=0068000102bb7707 [ 72.163021] Internal error: Oops: 0000000096000021 [#1] SMP [...] [ 72.170041] CPU: 7 UID: 0 PID: 54 Comm: kworker/7:0 Tainted: G E 6.13.0-rc3+ #2 [ 72.170509] Tainted: [E]=UNSIGNED_MODULE [ 72.170720] Hardware name: QEMU QEMU Virtual Machine, BIOS edk2-stable202302-for-qemu 03/01/2023 [ 72.171192] Workqueue: events_power_efficient nft_rhash_gc [nf_tables] [ 72.171552] pstate: 21400005 (nzCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) [ 72.171915] pc : nft_rhash_gc+0x200/0x2d8 [nf_tables] [ 72.172166] lr : nft_rhash_gc+0x128/0x2d8 [nf_tables] [ 72.172546] sp : ffff800081f2bce0 [ 72.172724] x29: ffff800081f2bd40 x28: ffff0000c2bb708c x27: 0000000000000038 [ 72.173078] x26: ffff0000c6780ef0 x25: ffff0000c643df00 x24: ffff0000c6778f78 [ 72.173431] x23: 000000000000001a x22: ffff0000c4b1f000 x21: ffff0000c6780f78 [ 72.173782] x20: ffff0000c2bb70dc x19: ffff0000c2bb7080 x18: 0000000000000000 [ 72.174135] x17: ffff0000c0a4e1c0 x16: 0000000000003000 x15: 0000ac26d173b978 [ 72.174485] x14: ffffffffffffffff x13: 0000000000000030 x12: ffff0000c6780ef0 [ 72.174841] x11: 0000000000000000 x10: ffff800081f2bcf8 x9 : ffff0000c3000000 [ 72.175193] x8 : 00000000000004be x7 : 0000000000000000 x6 : 0000000000000000 [ 72.175544] x5 : 0000000000000040 x4 : ffff0000c3000010 x3 : 0000000000000000 [ 72.175871] x2 : 0000000000003a98 x1 : ffff0000c2bb708c x0 : 0000000000000004 [ 72.176207] Call trace: [ 72.176316] nft_rhash_gc+0x200/0x2d8 [nf_tables] (P) [ 72.176653] process_one_work+0x178/0x3d0 [ 72.176831] worker_thread+0x200/0x3f0 [ 72.176995] kthread+0xe8/0xf8 [ 72.177130] ret_from_fork+0x10/0x20 [ 72.177289] Code: 54fff984 d503201f d2800080 91003261 (f820303f) [ 72.177557] ---[ end trace 0000000000000000 ]--- Align struct nft_set_ext to word size to address this and documentation it. pahole reports that this increases the size of elements for rhash and pipapo in 8 bytes on x86_64.

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Jan 15, 2025
Updated
Jun 17, 2026
EPSS
0.2% · 13th percentile
CWE
—

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-54031

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel5.4.287 and later · before 5.4.289
  • linux linux kernel5.10.231 and later · before 5.10.233
  • linux linux kernel5.15.174 and later · before 5.15.176
  • linux linux kernel6.1.120 and later · before 6.1.124
  • linux linux kernel6.6.66 and later · before 6.6.70
  • linux linux kernel6.12.5 and later · before 6.12.9
  • linux linux kernel6.13

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 98d62cf0e26305dd6a1932a4054004290f4194bb and later · before 352f8eaaabd008f09d1e176194edc261a7304084affected · git
    • e21855091f11df80d41239dbc5f8545b772c657d and later · before 6a14b46052eeb83175a95baf399283860b9d94c4affected · git
    • 59a59da8de47848575eedc141a74aae57696706d and later · before 277f00b0c2dca8794cf4837722960bdc4174911faffected · git
    • 23a6919bb3ecf6787f060476ee6810ad55ebf9c8 and later · before 607774a13764676d4b8be9c8b9c66b8cf3469043affected · git
    • 86c27603514cb8ead29857365cdd145404ee9706 and later · before 4f49349c1963e507aa37c1ec05178faeb0103959affected · git
    • be4d0ac67d92e6a285cd3eeb672188d249c121b2 and later · before d24cbc43cc7b41a0824b0bc6ec4d8436d8d7a9c0affected · git
    • 7ffc7481153bbabf3332c6a19b289730c7e1edf5 and later · before 542ed8145e6f9392e3d0a86a0e9027d2ffd183e4affected · git
    • 5.4.287 and later · before 5.4.289affected · semver
    • 5.10.231 and later · before 5.10.233affected · semver
    • 5.15.174 and later · before 5.15.176affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.124-16.1.124-1
Debian:13linuxbefore 6.12.9-16.12.9-1
openSUSE:Leap 16.0dtb-aarch64before 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-64kbbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-azurebefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-defaultbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-default-basebefore 6.12.0-160000.26.1.160000.2.76.12.0-160000.26.1.160000.2.7
openSUSE:Leap 16.0kernel-docsbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-kvmsmallbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-obs-buildbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-obs-qabefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-rtbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-sourcebefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-symsbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-zfcpdumpbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Micro 5.2kernel-defaultbefore 5.3.18-150300.59.235.15.3.18-150300.59.235.1
SUSE:Linux Enterprise Micro 5.2kernel-default-basebefore 5.3.18-150300.59.235.1.150300.18.140.15.3.18-150300.59.235.1.150300.18.140.1
SUSE:Linux Enterprise Micro 5.2kernel-rtbefore 5.3.18-150300.235.15.3.18-150300.235.1
SUSE:Linux Enterprise Micro 5.2kernel-source-rtbefore 5.3.18-150300.235.15.3.18-150300.235.1
SUSE:Linux Enterprise Micro 5.3kernel-rtbefore 5.14.21-150400.15.145.15.14.21-150400.15.145.1
SUSE:Linux Enterprise Micro 5.3kernel-source-rtbefore 5.14.21-150400.15.145.15.14.21-150400.15.145.1
SUSE:Linux Enterprise Server 16.0kernel-azurebefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Server 16.0kernel-docsbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Server 16.0kernel-kvmsmallbefore 6.12.0-160000.26.16.12.0-160000.26.1

+9

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2024-39282Jan 15, 2025 · net: wwan: t7xx: Fix FSM command timeout issue
    22Monitor
  • ← EarlierCVE-2024-53681Jan 15, 2025 · nvmet: Don't overflow subsysnqn
    22Monitor
  • Later →CVE-2024-57795Jan 15, 2025 · RDMA/rxe: Remove the direct link to net_device
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux277f00b0c2dca8794cf4837722960bdc4174911fVendor (CNA)
Linux Linux352f8eaaabd008f09d1e176194edc261a7304084Vendor (CNA)
Linux Linux4f49349c1963e507aa37c1ec05178faeb0103959Vendor (CNA)
Linux Linux5.10.233Vendor (CNA)
Linux Linux5.15.176Vendor (CNA)
Linux Linux5.4.289Vendor (CNA)
Linux Linux542ed8145e6f9392e3d0a86a0e9027d2ffd183e4Vendor (CNA)
Linux Linux6.1.124Vendor (CNA)
Linux Linux6.12.9Vendor (CNA)
Linux Linux6.6.70Vendor (CNA)
Linux Linux607774a13764676d4b8be9c8b9c66b8cf3469043Vendor (CNA)
Linux Linux6a14b46052eeb83175a95baf399283860b9d94c4Vendor (CNA)
Linux Linuxd24cbc43cc7b41a0824b0bc6ec4d8436d8d7a9c0Vendor (CNA)
debian:linux6.1.124-1 · Debian:12Package registry (OSV)
opensuse:dtb-aarch646.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-64kb6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-azure6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default-base6.12.0-160000.26.1.160000.2.7 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-docs6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-kvmsmall6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-build6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-qa6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-rt6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-source6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-syms6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
suse:kernel-64kb6.12.0-160000.26.1 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-azure6.12.0-160000.26.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-default5.3.18-150300.59.235.1 · SUSE:Linux Enterprise Micro 5.2Package registry (OSV)
suse:kernel-default-base5.3.18-150300.59.235.1.150300.18.140.1 · SUSE:Linux Enterprise Micro 5.2Package registry (OSV)

+8

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

—

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records