Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-138835

arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO

Published 30/11/2026 · Updated 02/12/2026 · 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 products and versions

Linux Linuxbd264d046aad25e9922a142a7831e6841a2f0474 – < 73e3901a410e489dd97fb186c9970243911fc959 · bd264d046aad25e9922a142a7831e6841a2f0474 – < af64ff1c56ee76967fdad7de5cb6e870dfbc2f13 · bd264d046aad25e9922a142a7831e6841a2f0474 – < fec18f66bbd815b5220b46fe0f44bf6cae130575 · bd264d046aad25e9922a142a7831e6841a2f0474 – < bb06db0465cf8d7256b24d27e47bd20cd16a1765 · bd264d046aad25e9922a142a7831e6841a2f0474 – < d83c9682c2e04f4cd35ee94e5b3c8c519278bb40 · bd264d046aad25e9922a142a7831e6841a2f0474 – < 36e0970b8217d9b1aba6e773070624e337f595af · bd264d046aad25e9922a142a7831e6841a2f0474 – < 74a80eab32bc51de0a99256f2ccec5ef2e475e27 · bd264d046aad25e9922a142a7831e6841a2f0474 – < 215d7b6622733603751f546b9faf9b84b0c281d4Fixed in: 73e3901a410e489dd97fb186c9970243911fc959 · af64ff1c56ee76967fdad7de5cb6e870dfbc2f13 · fec18f66bbd815b5220b46fe0f44bf6cae130575 · bb06db0465cf8d7256b24d27e47bd20cd16a1765 · d83c9682c2e04f4cd35ee94e5b3c8c519278bb40 · 36e0970b8217d9b1aba6e773070624e337f595af · 74a80eab32bc51de0a99256f2ccec5ef2e475e27 · 215d7b6622733603751f546b9faf9b84b0c281d4
Linux Linux4.8Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.