CVE-2024-50303 Vulnerability Analysis & Exploit Details

CVE-2024-50303
Vulnerability Scoring

5.5
/10
Significant Risk

Security assessments indicate that CVE-2024-50303 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-50303 Details

Status: Analyzed

Last updated: 🕘 27 Nov 2024, 21:29 UTC
Originally published on: 🕕 19 Nov 2024, 18:15 UTC

Time between publication and last update: 8 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-50303 Vulnerability Summary

CVE-2024-50303: In the Linux kernel, the following vulnerability has been resolved: resource,kexec: walk_system_ram_res_rev must retain resource flags walk_system_ram_res_rev() erroneously discards resource flags when passing the information to the callback. This causes systems with IORESOURCE_SYSRAM_DRIVER_MANAGED memory to have these resources selected during kexec to store kexec buffers if that memory happens to be at placed above normal system ram. This leads to undefined behavior after reboot. If the kexec buffer is never touched, nothing happens. If the kexec buffer is touched, it could lead to a crash (like below) or undefined behavior. Tested on a system with CXL memory expanders with driver managed memory, TPM enabled, and CONFIG_IMA_KEXEC=y. Adding printk's showed the flags were being discarded and as a result the check for IORESOURCE_SYSRAM_DRIVER_MANAGED passes. find_next_iomem_res: name(System RAM (kmem)) start(10000000000) end(1034fffffff) flags(83000200) locate_mem_hole_top_down: start(10000000000) end(1034fffffff) flags(0) [.] BUG: unable to handle page fault for address: ffff89834ffff000 [.] #PF: supervisor read access in kernel mode [.] #PF: error_code(0x0000) - not-present page [.] PGD c04c8bf067 P4D c04c8bf067 PUD c04c8be067 PMD 0 [.] Oops: 0000 [#1] SMP [.] RIP: 0010:ima_restore_measurement_list+0x95/0x4b0 [.] RSP: 0018:ffffc900000d3a80 EFLAGS: 00010286 [.] RAX: 0000000000001000 RBX: 0000000000000000 RCX: ffff89834ffff000 [.] RDX: 0000000000000018 RSI: ffff89834ffff000 RDI: ffff89834ffff018 [.] RBP: ffffc900000d3ba0 R08: 0000000000000020 R09: ffff888132b8a900 [.] R10: 4000000000000000 R11: 000000003a616d69 R12: 0000000000000000 [.] R13: ffffffff8404ac28 R14: 0000000000000000 R15: ffff89834ffff000 [.] FS: 0000000000000000(0000) GS:ffff893d44640000(0000) knlGS:0000000000000000 [.] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [.] ata5: SATA link down (SStatus 0 SControl 300) [.] CR2: ffff89834ffff000 CR3: 000001034d00f001 CR4: 0000000000770ef0 [.] PKRU: 55555554 [.] Call Trace: [.] <TASK> [.] ? __die+0x78/0xc0 [.] ? page_fault_oops+0x2a8/0x3a0 [.] ? exc_page_fault+0x84/0x130 [.] ? asm_exc_page_fault+0x22/0x30 [.] ? ima_restore_measurement_list+0x95/0x4b0 [.] ? template_desc_init_fields+0x317/0x410 [.] ? crypto_alloc_tfm_node+0x9c/0xc0 [.] ? init_ima_lsm+0x30/0x30 [.] ima_load_kexec_buffer+0x72/0xa0 [.] ima_init+0x44/0xa0 [.] __initstub__kmod_ima__373_1201_init_ima7+0x1e/0xb0 [.] ? init_ima_lsm+0x30/0x30 [.] do_one_initcall+0xad/0x200 [.] ? idr_alloc_cyclic+0xaa/0x110 [.] ? new_slab+0x12c/0x420 [.] ? new_slab+0x12c/0x420 [.] ? number+0x12a/0x430 [.] ? sysvec_apic_timer_interrupt+0xa/0x80 [.] ? asm_sysvec_apic_timer_interrupt+0x16/0x20 [.] ? parse_args+0xd4/0x380 [.] ? parse_args+0x14b/0x380 [.] kernel_init_freeable+0x1c1/0x2b0 [.] ? rest_init+0xb0/0xb0 [.] kernel_init+0x16/0x1a0 [.] ret_from_fork+0x2f/0x40 [.] ? rest_init+0xb0/0xb0 [.] ret_from_fork_asm+0x11/0x20 [.] </TASK>

Assessing the Risk of CVE-2024-50303

Access Complexity Graph

The exploitability of CVE-2024-50303 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-50303

CVE-2024-50303 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-50303, 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-50303, 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-50303 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2024-50303 poses no threat to data integrity.
  • Availability: High
    CVE-2024-50303 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.043% (probability of exploit)

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

CVE-2024-50303 References

External References

CWE Common Weakness Enumeration

NVD-CWE-noinfo

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:6.8:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.0:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.0:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.0:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.0:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.0:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.0:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.13:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.13:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10.14:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10.14:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.10:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.10:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2024-50303: 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-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...
  • CVE-2025-2125 – A vulnerability has been found in Control iD RH iD 25.2.25.0 and classified as problematic. This vulnerability affects unknown code of the file /v2...
  • CVE-2025-2124 – A vulnerability, which was classified as problematic, was found in Control iD RH iD 25.2.25.0. This affects an unknown part of the file /v2/custome...