{"id":"CVE-2026-138820","aliases":["CVE-2026-138820"],"related":[],"kind":"vulnerability","state":"published","title":"arm64/mm: Treat faults taken by EFI runtime firmware as kernel faults","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64/mm: Treat faults taken by EFI runtime firmware as kernel faults\n\nWhen EFI runtime services are invoked from a preemptible kthread, the\nkthread runs with efi_mm installed via kthread_use_mm() and preemption\nenabled, so neither faulthandler_disabled() nor !mm applies in\ndo_page_fault(). A permission fault taken by the firmware on one of its\nown (TTBR0) mappings then hits the 'access to user memory outside\nuaccess routines' check and oopses, without efi_runtime_fixup_exception()\never being consulted.\n\nefi_mm has no VMAs, so there is nothing for the mm to resolve. Send such\nfaults to no_context directly, so that __do_kernel_fault() can recover\nfrom them as it does when the call is made with preemption disabled.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64/mm: Treat faults taken by EFI runtime firmware as kernel faults\n\nWhen EFI runtime services are invoked from a preemptible kthread, the\nkthread runs with efi_mm installed via kthread_use_mm() and preemption\nenabled, so neither faulthandler_disabled() nor !mm applies in\ndo_page_fault(). A permission fault taken by the firmware on one of its\nown (TTBR0) mappings then hits the 'access to user memory outside\nuaccess routines' check and oopses, without efi_runtime_fixup_exception()\never being consulted.\n\nefi_mm has no VMAs, so there is nothing for the mm to resolve. Send such\nfaults to no_context directly, so that __do_kernel_fault() can recover\nfrom them as it does when the call is made with preemption disabled.","source":"cvelist"}],"published":"2026-11-30T13:25:17.385Z","modified":"2026-11-30T14:17:36.017Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a5baf582f4c026c25a206ac121bceade926aec74","fixed":"542651d0ad028b034b649d44656180efba47f0b2","status":"affected"},{"type":"git","introduced":"a5baf582f4c026c25a206ac121bceade926aec74","fixed":"171be684bfa3020f81bf0b85bc7ac42024575fbf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/542651d0ad028b034b649d44656180efba47f0b2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/171be684bfa3020f81bf0b85bc7ac42024575fbf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138820","url":"https://www.cve.org/CVERecord?id=CVE-2026-138820","licence":"CVE Terms of Use","modified":"2026-11-30T13:25:17.385Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138820","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138820","licence":"Public domain","modified":"2026-11-30T14:17:36.017Z"}],"updatedAt":"2026-11-30T14:32:35.054Z","epss":{"score":0.00163,"percentile":0.05705,"date":"2026-12-01T12:00:22.000Z"}}