# CVE-2026-138835: arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:25.678Z
- Modified: 2026-11-30T14:17:38.220Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 73e3901a410e489dd97fb186c9970243911fc959; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before af64ff1c56ee76967fdad7de5cb6e870dfbc2f13; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fec18f66bbd815b5220b46fe0f44bf6cae130575; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bb06db0465cf8d7256b24d27e47bd20cd16a1765; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d83c9682c2e04f4cd35ee94e5b3c8c519278bb40; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 36e0970b8217d9b1aba6e773070624e337f595af; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 74a80eab32bc51de0a99256f2ccec5ef2e475e27; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 215d7b6622733603751f546b9faf9b84b0c281d4; before 5.10.275; before 5.15.226; before 6.1.193; before 6.6.163; and 3 more (not affected: from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/73e3901a410e489dd97fb186c9970243911fc959>
- <https://git.kernel.org/stable/c/af64ff1c56ee76967fdad7de5cb6e870dfbc2f13>
- <https://git.kernel.org/stable/c/fec18f66bbd815b5220b46fe0f44bf6cae130575>
- <https://git.kernel.org/stable/c/bb06db0465cf8d7256b24d27e47bd20cd16a1765>
- <https://git.kernel.org/stable/c/d83c9682c2e04f4cd35ee94e5b3c8c519278bb40>
- <https://git.kernel.org/stable/c/36e0970b8217d9b1aba6e773070624e337f595af>
- <https://git.kernel.org/stable/c/74a80eab32bc51de0a99256f2ccec5ef2e475e27>
- <https://git.kernel.org/stable/c/215d7b6622733603751f546b9faf9b84b0c281d4>

## Sources

- CVE List: [CVE-2026-138835](https://www.cve.org/CVERecord?id=CVE-2026-138835), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138835](https://nvd.nist.gov/vuln/detail/CVE-2026-138835), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138835 · Whole record: https://cve.day/CVE-2026-138835.json · Rebuilt by cve.day 2026-11-30T14:32:24.569Z
