CVE-2026-138820

Source
https://cve.org/CVERecord?id=CVE-2026-138820
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138820.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138820
Published
2026-11-30T13:25:17Z
Modified
2026-11-30T15:01:05Z
Summary
arm64/mm: Treat faults taken by EFI runtime firmware as kernel faults
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138820.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"