Description
In the Linux kernel, the following vulnerability has been resolved:

drm/xe/gsc: Fix double-free of managed BO in error path

The error path in xe_gsc_init_post_hwconfig() explicitly frees a BO
allocated with xe_managed_bo_create_pin_map() via
xe_bo_unpin_map_no_vm(). Since the managed BO already has a devm
cleanup action registered, this causes a double-free when devm
unwinds during probe failure.

Remove the explicit free and let devm handle it, consistent with
all other xe_managed_bo_create_pin_map() callers.

(cherry picked from commit 71d61e3e299a17139e47f980a4d6f425b2c59bf7)
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker could trigger a double-free in the Linux DRM Xe driver when a graphics device fails to finalize a configuration. The error path in xe_gsc_init_post_hwconfig() frees a buffer that has already been registered for device-managed cleanup, producing kernel memory corruption. This flaw matches a double-free weakness that can lead to privilege escalation or a kernel crash.

Affected Systems

Any Linux kernel that ships with the drm/xe driver and does not yet include the upstream commit that removes the second free is affected. The fix is applied in recent mainline releases after commit 71d61e3e. Systems running older kernel versions that have not integrated that commit remain at risk.

Risk and Exploitability

The EPSS score is below 1 percent and the vulnerability is not in the CISA KEV catalog, so exploitation is currently uncommon. It is inferred that an attacker would need to trigger a probe failure during driver initialization, which typically requires local privileges or control of the device. Successful exploitation would corrupt kernel memory and could allow an attacker with user-level privileges to gain kernel execution. The CVSS score of 5.5 indicates moderate severity.

Generated by OpenCVE AI on August 3, 2026 at 18:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the fix for CVE-2026-64517.
  • Reboot the system or unload and reload the drm/xe driver to ensure the patched code is in use.
  • If an immediate kernel upgrade is not possible, temporarily disable the Intel Xe GSC driver to prevent the double-free scenario during device initialization.

Generated by OpenCVE AI on August 3, 2026 at 18:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Sun, 02 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Thu, 30 Jul 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Wed, 29 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
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


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/xe/gsc: Fix double-free of managed BO in error path The error path in xe_gsc_init_post_hwconfig() explicitly frees a BO allocated with xe_managed_bo_create_pin_map() via xe_bo_unpin_map_no_vm(). Since the managed BO already has a devm cleanup action registered, this causes a double-free when devm unwinds during probe failure. Remove the explicit free and let devm handle it, consistent with all other xe_managed_bo_create_pin_map() callers. (cherry picked from commit 71d61e3e299a17139e47f980a4d6f425b2c59bf7)
Title drm/xe/gsc: Fix double-free of managed BO in error path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T09:14:43.863Z

Reserved: 2026-07-19T15:36:31.794Z

Link: CVE-2026-64517

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:37.973

Modified: 2026-07-25T10:17:37.973

Link: CVE-2026-64517

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64517 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:30:06Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle