{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "73e3901a410e489dd97fb186c9970243911fc959"
            },
            {
              "fixed": "af64ff1c56ee76967fdad7de5cb6e870dfbc2f13"
            },
            {
              "fixed": "fec18f66bbd815b5220b46fe0f44bf6cae130575"
            },
            {
              "fixed": "bb06db0465cf8d7256b24d27e47bd20cd16a1765"
            },
            {
              "fixed": "d83c9682c2e04f4cd35ee94e5b3c8c519278bb40"
            },
            {
              "fixed": "36e0970b8217d9b1aba6e773070624e337f595af"
            },
            {
              "fixed": "74a80eab32bc51de0a99256f2ccec5ef2e475e27"
            },
            {
              "fixed": "215d7b6622733603751f546b9faf9b84b0c281d4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138835.json"
  },
  "details": "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.",
  "id": "CVE-2026-138835",
  "modified": "2026-12-01T20:45:25.228748797Z",
  "published": "2026-11-30T13:25:25.678Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/215d7b6622733603751f546b9faf9b84b0c281d4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/36e0970b8217d9b1aba6e773070624e337f595af"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/73e3901a410e489dd97fb186c9970243911fc959"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/74a80eab32bc51de0a99256f2ccec5ef2e475e27"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/af64ff1c56ee76967fdad7de5cb6e870dfbc2f13"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bb06db0465cf8d7256b24d27e47bd20cd16a1765"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d83c9682c2e04f4cd35ee94e5b3c8c519278bb40"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fec18f66bbd815b5220b46fe0f44bf6cae130575"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138835.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138835"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "arm64/efi: Clear PTE_WRITE when applying EFI_MEMORY_RO"
}