# CVE-2024-50141: ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-11-07T09:31:18.461Z
- Modified: 2026-08-05T11:41:59.590Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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 ]

(As written by CVE List.)

## Affected

- Linux Linux: from cefc7ca46235f01d5233e3abd4b79452af01d9e9 before 8df52929530839e878e6912e33348b54101e3250; from cefc7ca46235f01d5233e3abd4b79452af01d9e9 before 8ce081ad842510f0e70fa6065a401660eac876d4; from cefc7ca46235f01d5233e3abd4b79452af01d9e9 before 795b080d9aa127215a5baf088a22fa09341a0126; from cefc7ca46235f01d5233e3abd4b79452af01d9e9 before 20e9fafb8bb6f545667d7916b0e81e68c0748810; from cefc7ca46235f01d5233e3abd4b79452af01d9e9 before 088984c8d54c0053fc4ae606981291d741c5924b; 5.14 (not affected: before 5.14; from 5.15.171 up to 5.15.*; from 6.1.115 up to 6.1.*; from 6.6.59 up to 6.6.*; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.14 before 5.15.171; from 5.16 before 6.1.115; from 6.2 before 6.6.59; from 6.7 before 6.11.6; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/8df52929530839e878e6912e33348b54101e3250> (patch)
- <https://git.kernel.org/stable/c/8ce081ad842510f0e70fa6065a401660eac876d4> (patch)
- <https://git.kernel.org/stable/c/795b080d9aa127215a5baf088a22fa09341a0126> (patch)
- <https://git.kernel.org/stable/c/20e9fafb8bb6f545667d7916b0e81e68c0748810> (patch)
- <https://git.kernel.org/stable/c/088984c8d54c0053fc4ae606981291d741c5924b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-50141](https://www.cve.org/CVERecord?id=CVE-2024-50141), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-50141](https://nvd.nist.gov/vuln/detail/CVE-2024-50141), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-50141 · Whole record: https://cve.day/CVE-2024-50141.json · Rebuilt by cve.day 2026-11-25T22:58:47.854Z
