CVE-2024-54031 Vulnerability Analysis & Exploit Details

CVE-2024-54031
Vulnerability Scoring

5.5
/10
Significant Risk

Security assessments indicate that CVE-2024-54031 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2024-54031 Details

Status: Analyzed

Last updated: 🕗 15 Oct 2025, 20:01 UTC
Originally published on: 🕐 15 Jan 2025, 13:15 UTC

Time between publication and last update: 273 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

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

CVE-2024-54031 Vulnerability Summary

CVE-2024-54031: 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.

Assessing the Risk of CVE-2024-54031

Access Complexity Graph

The exploitability of CVE-2024-54031 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2024-54031

CVE-2024-54031 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2024-54031, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2024-54031, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2024-54031 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2024-54031 poses no threat to data integrity.
  • Availability: High
    CVE-2024-54031 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.044% (probability of exploit)

EPSS Percentile: 12.92% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 87.08% of others.

CVE-2024-54031 References

External References

CWE Common Weakness Enumeration

NVD-CWE-noinfo

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:5.4.287:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.287:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.288:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.288:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.231:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.231:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.232:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.232:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.174:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.174:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.175:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.175:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.120:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.120:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.121:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.121:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.122:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.122:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.123:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.123:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.66:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.66:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.67:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.67:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.68:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.68:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6.69:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6.69:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2024-54031: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-11939 – A vulnerability was determined in ChurchCRM up to 5.18.0. This issue affects some unknown processing of the file src/ChurchCRM/Backup/RestoreJob.ph...
  • CVE-2025-11938 – A vulnerability was found in ChurchCRM up to 5.18.0. This vulnerability affects unknown code of the file setup/routes/setup.php. Performing manipul...
  • CVE-2025-62672 – rplay through 3.3.2 allows attackers to cause a denial of service (SIGSEGV and daemon crash) or possibly have unspecified other impact. This occurs...
  • CVE-2025-47410 – Apache Geode is vulnerable to CSRF attacks through GET requests to the Management and Monitoring REST API that could allow an attacker who has tric...
  • CVE-2025-11926 – The Related Posts Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1...