VDB

CVE-2024-50141

CVE-2024-50141 PUBLISHED CVSS 7.8 HIGH

ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context

Reported by linux · Published November 7, 2024

In the Linux kernel, the following vulnerability has been resolved: ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context PRMT needs to find the correct type of block to translate the PA-VA mapping for EFI runtime services. The issue arises because the PRMT is finding a block of type EFI_CONVENTIONAL_MEMORY, which is not appropriate for runtime services as described in Section 2.2.2 (Runtime Services) of the UEFI Specification [1]. Since the PRM handler is a type of runtime service, this causes an exception when the PRM handler is called. [Firmware Bug]: Unable to handle paging request in EFI runtime service WARNING: CPU: 22 PID: 4330 at drivers/firmware/efi/runtime-wrappers.c:341 __efi_queue_work+0x11c/0x170 Call trace: Let PRMT find a block with EFI_MEMORY_RUNTIME for PRM handler and PRM context. If no suitable block is found, a warning message will be printed, but the procedure continues to manage the next PRM handler. However, if the PRM handler is actually called without proper allocation, it would result in a failure during error handling. By using the correct memory types for runtime services, ensure that the PRM handler and the context are properly mapped in the virtual address space during runtime, preventing the paging request error. The issue is really that only memory that has been remapped for runtime by the firmware can be used by the PRM handler, and so the region needs to have the EFI_MEMORY_RUNTIME attribute. [ rjw: Subject and changelog edits ]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.115-126.197.amzn2023
kernel-libbpfAmazon Linux6.1.115-126.197.amzn2023
perfAmazon Linux6.1.115-126.197.amzn2023
kernel-modules-extraAmazon Linux6.1.115-126.197.amzn2023
linux_kernellinux6.11.6, 6.6.59, 6.1.115, 5.15.171

Risk scores

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

Affected products

VendorProductVersions
LinuxLinuxcefc7ca46235f01d5233e3abd4b79452af01d9e9, cefc7ca46235f01d5233e3abd4b79452af01d9e9, cefc7ca46235f01d5233e3abd4b79452af01d9e9
LinuxLinux5.14, 0, 5.15.171
amazon:2023kernel-headers0
amazon:2023kernel-libbpf0
amazon:2023perf0
amazon:2023kernel-modules-extra0
linuxlinux_kernel5.14, 5.14, 5.14
amazon:2023bpftool0
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra-common0
amazon:2023python3-perf0
LinuxLinux*, 5.15.171, 6.1.115
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-devel0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.115-126.1970

Timeline

  • Nov 6, 2024 CVE Published
  • Nov 7, 2024 Coalition ESS Score (18 in total, the first dated here)
  • Nov 8, 2024 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 2, 2026 Security Advisory (126 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (104 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-50141
vulnetix vdb fixes CVE-2024-50141

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50141/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›