arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 73e3901a410e489dd97fb186c9970243911fc959 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before af64ff1c56ee76967fdad7de5cb6e870dfbc2f13 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fec18f66bbd815b5220b46fe0f44bf6cae130575 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bb06db0465cf8d7256b24d27e47bd20cd16a1765 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d83c9682c2e04f4cd35ee94e5b3c8c519278bb40 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 36e0970b8217d9b1aba6e773070624e337f595af Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 74a80eab32bc51de0a99256f2ccec5ef2e475e27 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 215d7b6622733603751f546b9faf9b84b0c281d4 Affectedbefore 5.10.275 Affectedbefore 5.15.226 Affectedbefore 6.1.193 Affectedbefore 6.6.163 Affectedbefore 6.12.117 Affectedbefore 6.18.63 Affectedbefore 7.3.4 Affected
Linux Linux5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.