{
  "cveId": "CVE-2025-40340",
  "url": "https://patchblox.com/security/cve/CVE-2025-40340",
  "summary": "CVE-2025-40340 is fixed in 18 products on 1 platform, first by DEBIAN-CVE-2025-40340, released December 9, 2025. It is not reported as exploited. Patch Radar priority: High.",
  "title": "drm/xe: Fix oops in xe_gem_fault when running core_hotunplug test.",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  drm/xe: Fix oops in xe_gem_fault when running core_hotunplug test.  I saw an oops in xe_gem_fault when running the xe-fast-feedback testlist against the realtime kernel without debug options enabled.  The panic happens after core_hotunplug unbind-rebind finishes. Presumably what happens is that a process mmaps, unlocks because of the FAULT_FLAG_RETRY_NOWAIT logic, has no process memory left, causing ttm_bo_vm_dummy_page() to return VM_FAULT_NOPAGE, since there was nothing left to populate, and then oopses in \u0022mem_type_is_vram(tbo-\u003Eresource-\u003Emem_type)\u0022 because tbo-\u003Eresource is NULL.  It\u0027s convoluted, but fits the data and explains the oops after the test exits.",
  "published": "2025-12-09T16:17:44Z",
  "severity": "Moderate",
  "cvss": 7,
  "epss": 0.00219,
  "epssPercentile": 0.12464,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-40340",
  "fixes": [
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.20.24.1",
      "fix": "SUSE-SU-2026:0281-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0281-1",
      "released": "2026-01-23T16:03:47Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1.160000.2.6",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1.150700.17.19.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1.160000.2.6",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7-RT_Update_8",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.1.3.1",
      "fix": "SUSE-SU-2026:0278-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0278-1",
      "released": "2026-01-23T15:08:32Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7_Update_8",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.15.3.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-azure",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.20.24.1",
      "fix": "SUSE-SU-2026:0281-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0281-1",
      "released": "2026-01-23T16:03:47Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-azure",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.20.24.1",
      "fix": "SUSE-SU-2026:0281-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0281-1",
      "released": "2026-01-23T16:03:47Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "OPENSUSE-SU-2026:20145-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20145-1",
      "released": "2026-02-02T11:54:26Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.28.1",
      "fix": "SUSE-SU-2026:0315-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0315-1",
      "released": "2026-01-28T14:34:30Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.9.1",
      "fix": "SUSE-SU-2026:20220-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-20220-1",
      "released": "2026-02-02T10:12:16Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.63-1",
      "fix": "DEBIAN-CVE-2025-40340",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-40340",
      "released": "2025-12-09T16:17:44Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.17.8-1",
      "fix": "DEBIAN-CVE-2025-40340",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-40340",
      "released": "2025-12-09T16:17:44Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}