{"id":"CVE-2026-138835","aliases":["CVE-2026-138835"],"related":[],"kind":"vulnerability","state":"published","title":"arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO\n\nset_permissions() sets PTE_RDONLY for regions that the Memory Attributes\nTable describes as read-only, but leaves PTE_WRITE set.  PTE_WRITE is\nthe DBM bit, so when hardware dirty state management is enabled\n(TCR_EL1.HD), such a descriptor is writable-clean rather than read-only,\nand a write by the firmware will be permitted by the hardware (which\nmarks the entry dirty) instead of faulting.\n\nClear PTE_WRITE as well, as pte_wrprotect() does.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO\n\nset_permissions() sets PTE_RDONLY for regions that the Memory Attributes\nTable describes as read-only, but leaves PTE_WRITE set.  PTE_WRITE is\nthe DBM bit, so when hardware dirty state management is enabled\n(TCR_EL1.HD), such a descriptor is writable-clean rather than read-only,\nand a write by the firmware will be permitted by the hardware (which\nmarks the entry dirty) instead of faulting.\n\nClear PTE_WRITE as well, as pte_wrprotect() does.","source":"cvelist"}],"published":"2026-11-30T13:25:25.678Z","modified":"2026-11-30T14:17:38.220Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"73e3901a410e489dd97fb186c9970243911fc959","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"af64ff1c56ee76967fdad7de5cb6e870dfbc2f13","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fec18f66bbd815b5220b46fe0f44bf6cae130575","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"bb06db0465cf8d7256b24d27e47bd20cd16a1765","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"d83c9682c2e04f4cd35ee94e5b3c8c519278bb40","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"36e0970b8217d9b1aba6e773070624e337f595af","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"74a80eab32bc51de0a99256f2ccec5ef2e475e27","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"215d7b6622733603751f546b9faf9b84b0c281d4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15.226","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12.117","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18.63","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/73e3901a410e489dd97fb186c9970243911fc959","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af64ff1c56ee76967fdad7de5cb6e870dfbc2f13","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fec18f66bbd815b5220b46fe0f44bf6cae130575","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb06db0465cf8d7256b24d27e47bd20cd16a1765","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d83c9682c2e04f4cd35ee94e5b3c8c519278bb40","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36e0970b8217d9b1aba6e773070624e337f595af","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/74a80eab32bc51de0a99256f2ccec5ef2e475e27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/215d7b6622733603751f546b9faf9b84b0c281d4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138835","url":"https://www.cve.org/CVERecord?id=CVE-2026-138835","licence":"CVE Terms of Use","modified":"2026-11-30T13:25:25.678Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138835","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138835","licence":"Public domain","modified":"2026-11-30T14:17:38.220Z"}],"updatedAt":"2026-11-30T14:32:24.569Z","epss":{"score":0.00211,"percentile":0.11999,"date":"2026-12-01T12:00:22.000Z"}}