{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-50141", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-10-21T19:36:19.956Z", "datePublished": "2024-11-07T09:31:18.461Z", "dateUpdated": "2026-08-05T11:41:59.590Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:41:59.590Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context\n\nPRMT needs to find the correct type of block to translate the PA-VA\nmapping for EFI runtime services.\n\nThe issue arises because the PRMT is finding a block of type\nEFI_CONVENTIONAL_MEMORY, which is not appropriate for runtime services\nas described in Section 2.2.2 (Runtime Services) of the UEFI\nSpecification [1]. Since the PRM handler is a type of runtime service,\nthis causes an exception when the PRM handler is called.\n\n [Firmware Bug]: Unable to handle paging request in EFI runtime service\n WARNING: CPU: 22 PID: 4330 at drivers/firmware/efi/runtime-wrappers.c:341\n __efi_queue_work+0x11c/0x170\n Call trace:\n\nLet PRMT find a block with EFI_MEMORY_RUNTIME for PRM handler and PRM\ncontext.\n\nIf no suitable block is found, a warning message will be printed, but\nthe procedure continues to manage the next PRM handler.\n\nHowever, if the PRM handler is actually called without proper allocation,\nit would result in a failure during error handling.\n\nBy using the correct memory types for runtime services, ensure that the\nPRM handler and the context are properly mapped in the virtual address\nspace during runtime, preventing the paging request error.\n\nThe issue is really that only memory that has been remapped for runtime\nby the firmware can be used by the PRM handler, and so the region needs\nto have the EFI_MEMORY_RUNTIME attribute.\n\n[ rjw: Subject and changelog edits ]" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerable path is entered through AML evaluation of a PlatformRtMechanism OperationRegion write, driven by local ACPI method evaluation (sysfs attribute access, device methods) or the in-kernel AMD RAS address-translation path. There is no remote or adjacent-network reachability.\nAC:L - On an affected platform the mistranslation is computed once at boot in acpi_parse_prmt() and is deterministic — every subsequent PRM handler invocation uses the bad pointers, with no race to win and no memory-layout luck required. CONFIG_ACPI_PRMT is default y on all X86_64/ARM64 EFI kernels.\nPR:L - An unprivileged local account suffices: ordinary world-readable sysfs attributes (thermal zone temperature, battery state, device _DSM-backed nodes) cause the ACPI interpreter to execute AML that can issue the PlatformRtMechanism write. No CAP_* capability or root is checked anywhere on the path from AML to acpi_platformrt_space_handler().\nUI:N - The attacker triggers ACPI method evaluation entirely through their own actions; no victim must open a file, mount a filesystem, or take any other step.\nS:U - The miscomputed pointers are used by the kernel and by firmware acting on the kernel's behalf, and the resulting corruption and denial of service remain within the kernel/platform security authority. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - The mistranslated static_data_buffer_addr and acpi_param_buffer_addr are passed unchecked to the firmware PRM handler, which reads through them; because efi_pgd contains 1:1 mappings of every runtime region plus page 0 and the ident-mapped memmap, these unbounded out-of-range reads can pull arbitrary kernel and firmware memory into the PRM context, an unbounded disclosure primitive.\nI:H - The same wrong pointers give the firmware handler an out-of-bounds write into mapped, writable memory in efi_mm, and the mistranslated handler_addr is used directly as an indirect call target — with EFI_RUNTIME_SERVICES_CODE regions mapped 1:1 and executable, this is a control-flow transfer to unintended code executing at the highest privilege level.\nA:H - When the bogus address is unmapped the call faults inside EFI runtime services; x86_64's efi_crash_gracefully_on_page_fault() WARNs, clears EFI_RUNTIME_SERVICES and parks the efi_rts_wq worker in an infinite schedule() loop, permanently destroying EFI runtime services (efivarfs, capsule update, EFI reboot) and leaking a kernel worker, with a panic on panic_on_warn systems." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/acpi/prmt.c" ], "versions": [ { "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9", "lessThan": "8df52929530839e878e6912e33348b54101e3250", "status": "affected", "versionType": "git" }, { "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9", "lessThan": "8ce081ad842510f0e70fa6065a401660eac876d4", "status": "affected", "versionType": "git" }, { "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9", "lessThan": "795b080d9aa127215a5baf088a22fa09341a0126", "status": "affected", "versionType": "git" }, { "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9", "lessThan": "20e9fafb8bb6f545667d7916b0e81e68c0748810", "status": "affected", "versionType": "git" }, { "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9", "lessThan": "088984c8d54c0053fc4ae606981291d741c5924b", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/acpi/prmt.c" ], "versions": [ { "version": "5.14", "status": "affected" }, { "version": "0", "lessThan": "5.14", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.171", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.115", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.59", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.11.6", "lessThanOrEqual": "6.11.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.14", "versionEndExcluding": "5.15.171" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.14", "versionEndExcluding": "6.1.115" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.14", "versionEndExcluding": "6.6.59" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.14", "versionEndExcluding": "6.11.6" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.14", "versionEndExcluding": "6.12" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/8df52929530839e878e6912e33348b54101e3250" }, { "url": "https://git.kernel.org/stable/c/8ce081ad842510f0e70fa6065a401660eac876d4" }, { "url": "https://git.kernel.org/stable/c/795b080d9aa127215a5baf088a22fa09341a0126" }, { "url": "https://git.kernel.org/stable/c/20e9fafb8bb6f545667d7916b0e81e68c0748810" }, { "url": "https://git.kernel.org/stable/c/088984c8d54c0053fc4ae606981291d741c5924b" } ], "title": "ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 5.5, "attackVector": "LOCAL", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "NONE" } }, { "other": { "type": "ssvc", "content": { "id": "CVE-2024-50141", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2025-10-01T20:21:07.381242Z" } } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "description": "CWE-noinfo Not enough information" } ] } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-10-01T20:27:14.275Z" } }, { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T22:25:59.519Z" } } ] } }