CVE-2026-138835
arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO
Description
In the Linux kernel, the following vulnerability has been resolved: arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO set_permissions() sets PTE_RDONLY for regions that the Memory Attributes Table describes as read-only, but leaves PTE_WRITE set. PTE_WRITE is the DBM bit, so when hardware dirty state management is enabled (TCR_EL1.HD), such a descriptor is writable-clean rather than read-only, and a write by the firmware will be permitted by the hardware (which marks the entry dirty) instead of faulting. Clear PTE_WRITE as well, as pte_wrprotect() does.
INFO
Published Date :
Nov. 30, 2026, 2:17 p.m.
Last Modified :
Dec. 2, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to include the fix for arm64/efi.
- Ensure set_permissions() clears PTE_WRITE for read-only memory.
- Verify PTE_WRITE is cleared similar to pte_wrprotect().
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-138835.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-138835 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-138835
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-138835 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-138835 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 02, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138835.json">CVE-2026-138835</a> -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO set_permissions() sets PTE_RDONLY for regions that the Memory Attributes Table describes as read-only, but leaves PTE_WRITE set. PTE_WRITE is the DBM bit, so when hardware dirty state management is enabled (TCR_EL1.HD), such a descriptor is writable-clean rather than read-only, and a write by the firmware will be permitted by the hardware (which marks the entry dirty) instead of faulting. Clear PTE_WRITE as well, as pte_wrprotect() does. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138835.json">CVE-2026-138835</a> Added Reference https://git.kernel.org/stable/c/215d7b6622733603751f546b9faf9b84b0c281d4 Added Reference https://git.kernel.org/stable/c/36e0970b8217d9b1aba6e773070624e337f595af Added Reference https://git.kernel.org/stable/c/73e3901a410e489dd97fb186c9970243911fc959 Added Reference https://git.kernel.org/stable/c/74a80eab32bc51de0a99256f2ccec5ef2e475e27 Added Reference https://git.kernel.org/stable/c/af64ff1c56ee76967fdad7de5cb6e870dfbc2f13 Added Reference https://git.kernel.org/stable/c/bb06db0465cf8d7256b24d27e47bd20cd16a1765 Added Reference https://git.kernel.org/stable/c/d83c9682c2e04f4cd35ee94e5b3c8c519278bb40 Added Reference https://git.kernel.org/stable/c/fec18f66bbd815b5220b46fe0f44bf6cae130575