{"id":"CVE-2026-138820","summary":"arm64/mm: Treat faults taken by EFI runtime firmware as kernel faults","details":"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.","modified":"2026-11-30T15:01:05.779648908Z","published":"2026-11-30T13:25:17.385Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138820.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/171be684bfa3020f81bf0b85bc7ac42024575fbf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/542651d0ad028b034b649d44656180efba47f0b2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138820.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138820"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a5baf582f4c026c25a206ac121bceade926aec74"},{"fixed":"542651d0ad028b034b649d44656180efba47f0b2"},{"fixed":"171be684bfa3020f81bf0b85bc7ac42024575fbf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138820.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138820.json"}}],"schema_version":"1.9.2"}