{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "536a2ead3a8f2048643da3e8340a4d73fdf71903"
            },
            {
              "fixed": "135e998dd1e66b8854db7bd356b6563baf8b9d51"
            },
            {
              "fixed": "ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.2.13"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99145.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Don't transfer shrinker pages for pinned bos on purgeable state change\n\nPinned bos have their pages removed from the shrinker's shrinkable /\npurgeable counts on pin, and added back on unpin according to the\nbo's purgeable state at that time.\n\nHowever, xe_bo_set_purgeable_shrinker() unconditionally transfers\npages between the shrinkable and purgeable counts. If the purgeable\nstate of a pinned bo changes, for example by userspace madvising\nDONTNEED on a VMA of a bo that is also pinned as a scanout buffer,\nthis underflows one count and, after unpin, leaves the other one\npermanently inflated.\n\nOnly update the purgeable flag for pinned bos, and leave the page\naccounting to unpin.\n\n(cherry picked from commit afe6bc012034123fd838328668e609bf57e46bd3)",
  "id": "CVE-2026-99145",
  "modified": "2026-10-30T02:31:00.929905687Z",
  "published": "2026-10-28T10:35:02.038Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/135e998dd1e66b8854db7bd356b6563baf8b9d51"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99145.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99145"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "drm/xe: Don't transfer shrinker pages for pinned bos on purgeable state change"
}