Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/xe: Fix taking invalid lock on wedge

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix taking invalid lock on wedge If device wedges on e.g. GuC upload, the submission is not yet enabled and the state is not even initialized. Protect the wedge call so it does nothing in this case. It fixes the following splat: [] xe 0000:bf:00.0: [drm] device wedged, needs recovery [] ------------[ cut here ]------------ [] DEBUG_LOCKS_WARN_ON(lock->magic != lock) [] WARNING: CPU: 48 PID: 312 at kernel/locking/mutex.c:564 __mutex_lock+0x8a1/0xe60 ... [] RIP: 0010:__mutex_lock+0x8a1/0xe60 [] mutex_lock_nested+0x1b/0x30 [] xe_guc_submit_wedge+0x80/0x2b0 [xe]

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.36, 6.15.5
CVEs
CVE-2025-38353
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:50 UTC · Revision 1

Source evidence

drm/xe: Fix taking invalid lock on wedge

core-osv · Original source

Published 25 Jul 2025, 12:47 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix taking invalid lock on wedge If device wedges on e.g. GuC upload, the submission is not yet enabled and the state is not even initialized. Protect the wedge call so it does nothing in this case. It fixes the following splat: [] xe 0000:bf:00.0: [drm] device wedged, needs recovery [] ------------[ cut here ]------------ [] DEBUG_LOCKS_WARN_ON(lock->magic != lock) [] WARNING: CPU: 48 PID: 312 at kernel/locking/mutex.c:564 __mutex_lock+0x8a1/0xe60 ... [] RIP: 0010:__mutex_lock+0x8a1/0xe60 [] mutex_lock_nested+0x1b/0x30 [] xe_guc_submit_wedge+0x80/0x2b0 [xe]

osv:CVE-2025-38353

Kernel

Fixed versions: 6.12.36, 6.15.5

Complete source record
{
  "id": "8d4de3ad92c67096ee20298f110e543c59c3f3f225d1521908f35f8f6e357599",
  "url": "https://osv.dev/vulnerability/CVE-2025-38353",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/xe: Fix taking invalid lock on wedge",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix taking invalid lock on wedge If device wedges on e.g. GuC upload, the submission is not yet enabled and the state is not even initialized. Protect the wedge call so it does nothing in this case. It fixes the following splat: [] xe 0000:bf:00.0: [drm] device wedged, needs recovery [] ------------[ cut here ]------------ [] DEBUG_LOCKS_WARN_ON(lock->magic != lock) [] WARNING: CPU: 48 PID: 312 at kernel/locking/mutex.c:564 __mutex_lock+0x8a1/0xe60 ... [] RIP: 0010:__mutex_lock+0x8a1/0xe60 [] mutex_lock_nested+0x1b/0x30 [] xe_guc_submit_wedge+0x80/0x2b0 [xe]",
    "evidence": "osv:CVE-2025-38353",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.36",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-38353",
      "aliases": [
        "CVE-2025-38353"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dd08ebf6c3525a7ea2186e636df064ea47281987"
                },
                {
                  "fixed": "a6d81b2d7037ef36163ad16459ed3fd17cb1b596"
                },
                {
                  "fixed": "20eec7018e132a023f84ccbdf56b6c5b73d3094f"
                },
                {
                  "fixed": "1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38353.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.8.0"
                },
                {
                  "fixed": "6.12.36"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38353.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.223460556Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d",
        "https://git.kernel.org/stable/c/20eec7018e132a023f84ccbdf56b6c5b73d3094f",
        "https://git.kernel.org/stable/c/a6d81b2d7037ef36163ad16459ed3fd17cb1b596",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38353.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38353",
        "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/38xxx/CVE-2025-38353.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38353",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 514010,
  "published_at": "2025-07-25T12:47:25.188+00:00"
}