CVE-2024-50141 (GCVE-0-2024-50141)
Vulnerability from cvelistv5
Published
2024-11-07 09:31
Modified
2026-08-05 11:41
Summary
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 ]
Impacted products
Vendor Product Version
Linux Linux Version: cefc7ca46235f01d5233e3abd4b79452af01d9e9
Version: cefc7ca46235f01d5233e3abd4b79452af01d9e9
Version: cefc7ca46235f01d5233e3abd4b79452af01d9e9
Version: cefc7ca46235f01d5233e3abd4b79452af01d9e9
Version: cefc7ca46235f01d5233e3abd4b79452af01d9e9
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-50141",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T20:21:07.381242Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "description": "CWE-noinfo Not enough information",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T20:27:14.275Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:25:59.519Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/acpi/prmt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8df52929530839e878e6912e33348b54101e3250",
              "status": "affected",
              "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9",
              "versionType": "git"
            },
            {
              "lessThan": "8ce081ad842510f0e70fa6065a401660eac876d4",
              "status": "affected",
              "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9",
              "versionType": "git"
            },
            {
              "lessThan": "795b080d9aa127215a5baf088a22fa09341a0126",
              "status": "affected",
              "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9",
              "versionType": "git"
            },
            {
              "lessThan": "20e9fafb8bb6f545667d7916b0e81e68c0748810",
              "status": "affected",
              "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9",
              "versionType": "git"
            },
            {
              "lessThan": "088984c8d54c0053fc4ae606981291d741c5924b",
              "status": "affected",
              "version": "cefc7ca46235f01d5233e3abd4b79452af01d9e9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/acpi/prmt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.171",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.115",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.59",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.171",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.115",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.59",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.6",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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 \u2014 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\u0027s 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 \u2014 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\u0027s 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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:41:59.590Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-50141",
    "datePublished": "2024-11-07T09:31:18.461Z",
    "dateReserved": "2024-10-21T19:36:19.956Z",
    "dateUpdated": "2026-08-05T11:41:59.590Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"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\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"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\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-10-01T15:17:18.375Z\"}}], \"cna\": {\"title\": \"ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"cefc7ca46235f01d5233e3abd4b79452af01d9e9\", \"lessThan\": \"8df52929530839e878e6912e33348b54101e3250\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cefc7ca46235f01d5233e3abd4b79452af01d9e9\", \"lessThan\": \"8ce081ad842510f0e70fa6065a401660eac876d4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cefc7ca46235f01d5233e3abd4b79452af01d9e9\", \"lessThan\": \"795b080d9aa127215a5baf088a22fa09341a0126\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cefc7ca46235f01d5233e3abd4b79452af01d9e9\", \"lessThan\": \"20e9fafb8bb6f545667d7916b0e81e68c0748810\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"cefc7ca46235f01d5233e3abd4b79452af01d9e9\", \"lessThan\": \"088984c8d54c0053fc4ae606981291d741c5924b\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/acpi/prmt.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.14\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.14\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.171\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.115\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.59\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.6\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/acpi/prmt.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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 ]\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.171\", \"versionStartIncluding\": \"5.14\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.115\", \"versionStartIncluding\": \"5.14\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.59\", \"versionStartIncluding\": \"5.14\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.6\", \"versionStartIncluding\": \"5.14\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12\", \"versionStartIncluding\": \"5.14\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T09:47:06.613Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-50141\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-11-03T22:25:59.519Z\", \"dateReserved\": \"2024-10-21T19:36:19.956Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-11-07T09:31:18.461Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…