CVE-2026-138835
JSON

Not scored

arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 7 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.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138835 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138835 changed 2026-11-30Public domain