CVE-2026-97519

drm/xe: Fix null pointer dereference in devcoredump cleanup

Published Sep 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

drm/xe: Fix null pointer dereference in devcoredump cleanup

In xe_devcoredump_snapshot_free(), ss->gt may be NULL when the snapshot
was never fully populated (e.g., when cleanup is triggered without a
prior capture). Guard the xe_guc_capture_put_matched_nodes() call with
IS_ERR_OR_NULL() to prevent a null dereference.

In xe_devcoredump_free(), the deferred work is only queued when a
coredump is captured, so guard cancel_work_sync() with a check on
coredump->captured.

Analysis

AI-generated

Technical impact

A null pointer dereference occurs in the Linux kernel’s DRM XE driver during devcoredump cleanup. When a snapshot has never been fully populated, the ss->gt pointer may be NULL and the driver calls xe_guc_capture_put_matched_nodes() without a check, causing a kernel fault. The resulting kernel panic leads to an immediate loss of system availability, which is the classic denial‑of‑service impact. The weakness involved is a NULL pointer dereference (CWE‑476).

Affected Systems

The flaw affects the Linux kernel across all vendors that ship an unpatched kernel with the DRM XE driver. Any kernel build that lacks the commit adding the guards in xe_devcoredump_snapshot_free() and xe_devcoredump_free() remains vulnerable; the associated CPE indicates all Linux kernel variants.

Risk and Exploitability

The incident is not currently listed in the CISA KEV catalog and the EPSS score is < 1%, indicating a very low probability of exploitation. The CVSS score of 5.5 reflects a moderate severity that mainly affects availability. Because the vulnerability is triggered by internal kernel activity related to Xe devcoredump cleanup, it is a local‑privilege or kernel‑level vulnerability. An attacker with the ability to influence the devcoredump cleanup sequence (for example, through privileged GPU usage or local code execution that force‑triggers cleanup) could induce the null dereference, causing a crash and a denial of service. The risk is significant for systems that rely on the affected kernel without mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the fix for the drm/xe null pointer dereference guard added in xe_devcoredump_snapshot_free() and xe_devcoredump_free().
  • Disable the Xe devcoredump feature if an immediate kernel update is not possible, thereby preventing the code path that could trigger the crash.
  • If the Xe DRM driver is not required for your workload, consider removing it or disabling the driver entirely to eliminate the vulnerable code path.

Generated by OpenCVE AI on October 1, 2026 at 10:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix null pointer dereference in devcoredump cleanup In xe_devcoredump_snapshot_free(), ss->gt may be NULL when the snapshot was never fully populated (e.g., when cleanup is triggered without a prior capture). Guard the xe_guc_capture_put_matched_nodes() call with IS_ERR_OR_NULL() to prevent a null dereference. In xe_devcoredump_free(), the deferred work is only queued when a coredump is captured, so guard cancel_work_sync() with a check on coredump->captured.
Title drm/xe: Fix null pointer dereference in devcoredump cleanup
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Sep 28, 2026, 5:30 AM
Reserved
Sep 24, 2026, 4:01 PM
Status
Received
Published
Sep 24, 2026, 5:17 PM
Modified
Sep 28, 2026, 6:16 AM
Severity
Moderate
Public date
Sep 24, 2026, 12:00 AM