Skip to content
Heist/ feed
Unrated

drm/xe/guc: Add devm release action to safely tear down CT

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc: Add devm release action to safely tear down CT When a buffer object (BO) is allocated with the XE_BO_FLAG_GGTT_INVALIDATE flag, the driver initiates TLB invalidation requests via the CTB mechanism while releasing the BO. However a premature release of the CTB BO can lead to system crashes, as observed in: Oops: Oops: 0000 [#1] SMP NOPTI RIP: 0010:h2g_write+0x2f3/0x7c0 [xe] Call Trace: guc_ct_send_locked+0x8b/0x670 [xe] xe_guc_ct_send_locked+0x19/0x60 [xe] send_tlb_invalidation+0xb4/0x460 [xe] xe_gt_tlb_invalidation_ggtt+0x15e/0x2e0 [xe] ggtt_invalidate_gt_tlb.part.0+0x16/0x90 [xe] ggtt_node_remove+0x110/0x140 [xe] xe_ggtt_node_remove+0x40/0xa0 [xe] xe_ggtt_remove_bo+0x87/0x250 [xe] Introduce a devm-managed release action during xe_guc_ct_init() and xe_guc_ct_init_post_hwconfig() to ensure proper CTB disablement before resource deallocation, preventing the use-after-free scenario.

Announced Source revision 1
Original source ↗

CVE-2025-68193

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-68193

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "231c4110873a5db4975512c30aa10edcc5be56e2",
        "lessThan": "fd4e41545d5955e6f7b4a0c4b56d21010ce8e812",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "231c4110873a5db4975512c30aa10edcc5be56e2",
        "lessThan": "52faa05fcd9f78af99abebe30a4b7b444744c991",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "231c4110873a5db4975512c30aa10edcc5be56e2",
        "lessThan": "ee4b32220a6b41e71512e8804585325e685456ba",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/xe/xe_guc.c",
      "drivers/gpu/drm/xe/xe_guc_ct.c",
      "drivers/gpu/drm/xe/xe_guc_ct.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.10",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.17.8",
        "versionType": "semver",
        "lessThanOrEqual": "6.17.*"
      },
      {
        "status": "unaffected",
        "version": "6.18",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/xe/xe_guc.c",
      "drivers/gpu/drm/xe/xe_guc_ct.c",
      "drivers/gpu/drm/xe/xe_guc_ct.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-68193

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46056 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement