CVE-2026-64517

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

State
Published
Severity
Not scored
Published
Jul 25, 2026
Updated
Jul 25, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2e5d47fe7839298fa096970e184aac9bf82c3bd3 to before 7cb975fcd4777e7bad688f66aa0c10c16dd8276bAffected
  • 2e5d47fe7839298fa096970e184aac9bf82c3bd3 to before 2c890e71ae26fa32f5a96c3694b71a2c310940e7Affected
  • 2e5d47fe7839298fa096970e184aac9bf82c3bd3 to before 889f70de2b51a877339e1979aab95111b41bed75Affected
  • 2e5d47fe7839298fa096970e184aac9bf82c3bd3 to before d3ded53fab90996e7d94a39049e11962dd066725Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.