Not scored
arm64/mm: Treat faults taken by EFI runtime firmware as kernel faults
- Severity
- Not scored
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: arm64/mm: Treat faults taken by EFI runtime firmware as kernel faults When EFI runtime services are invoked from a preemptible kthread, the kthread runs with efi_mm installed via kthread_use_mm() and preemption enabled, so neither faulthandler_disabled() nor !mm applies in do_page_fault(). A permission fault taken by the firmware on one of its own (TTBR0) mappings then hits the 'access to user memory outside uaccess routines' check and oopses, without efi_runtime_fixup_exception() ever being consulted. efi_mm has no VMAs, so there is nothing for the mm to resolve. Send such faults to no_context directly, so that __do_kernel_fault() can recover from them as it does when the call is made with preemption disabled.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a5baf582f4c026c25a206ac121bceade926aec74 before 542651d0ad028b034b649d44656180efba47f0b2, from a5baf582f4c026c25a206ac121bceade926aec74 before 171be684bfa3020f81bf0b85bc7ac42024575fbf, 6.19 Not affected: before 6.19, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138820 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138820 changed 2026-11-30 | Public domain |