Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/xe: Don't allow evicting of BOs in same VM in array of VM binds

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Don't allow evicting of BOs in same VM in array of VM binds An array of VM binds can potentially evict other buffer objects (BOs) within the same VM under certain conditions, which may lead to NULL pointer dereferences later in the bind pipeline. To prevent this, clear the allow_res_evict flag in the xe_bo_validate call. v2: - Invert polarity of no_res_evict (Thomas) - Add comment in code explaining issue (Thomas) (cherry picked from commit 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.114, 6.17.5
CVEs
CVE-2025-40086
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:41 UTC · Revision 1

Source evidence

drm/xe: Don't allow evicting of BOs in same VM in array of VM binds

core-osv · Original source

Published 30 Oct 2025, 09:47 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Don't allow evicting of BOs in same VM in array of VM binds An array of VM binds can potentially evict other buffer objects (BOs) within the same VM under certain conditions, which may lead to NULL pointer dereferences later in the bind pipeline. To prevent this, clear the allow_res_evict flag in the xe_bo_validate call. v2: - Invert polarity of no_res_evict (Thomas) - Add comment in code explaining issue (Thomas) (cherry picked from commit 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)

osv:CVE-2025-40086

Kernel

Fixed versions: 6.12.114, 6.17.5

Complete source record
{
  "id": "46f778ee5a85f5814df0141134337ee776bdd5b4f02538255b7eafc3f8225011",
  "url": "https://osv.dev/vulnerability/CVE-2025-40086",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/xe: Don't allow evicting of BOs in same VM in array of VM binds",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/xe: Don't allow evicting of BOs in same VM in array of VM binds An array of VM binds can potentially evict other buffer objects (BOs) within the same VM under certain conditions, which may lead to NULL pointer dereferences later in the bind pipeline. To prevent this, clear the allow_res_evict flag in the xe_bo_validate call. v2: - Invert polarity of no_res_evict (Thomas) - Add comment in code explaining issue (Thomas) (cherry picked from commit 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)",
    "evidence": "osv:CVE-2025-40086",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-40086",
      "aliases": [
        "CVE-2025-40086"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dd08ebf6c3525a7ea2186e636df064ea47281987"
                },
                {
                  "fixed": "d21087d083e6f324d69ee87c872a4cbb5bc4a48c"
                },
                {
                  "fixed": "5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384"
                },
                {
                  "fixed": "7ac74613e5f2ef3450f44fd2127198662c2563a9"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40086.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.8.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.17.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40086.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.813170494Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384",
        "https://git.kernel.org/stable/c/7ac74613e5f2ef3450f44fd2127198662c2563a9",
        "https://git.kernel.org/stable/c/d21087d083e6f324d69ee87c872a4cbb5bc4a48c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40086.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-40086",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40086.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-40086",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 502131,
  "published_at": "2025-10-30T09:47:56.005+00:00"
}