drm/xe/gsc: Fix double-free of managed BO in error path
Summary
| CVE | CVE-2026-64517 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:37 UTC |
| Updated | 2026-07-25 10:17:37 UTC |
| 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) |
Risk And Classification
EPSS: 0.001680000 probability, percentile 0.064860000 (date 2026-07-29)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 2e5d47fe7839298fa096970e184aac9bf82c3bd3 7cb975fcd4777e7bad688f66aa0c10c16dd8276b git | Not specified |
| CNA | Linux | Linux | affected 2e5d47fe7839298fa096970e184aac9bf82c3bd3 2c890e71ae26fa32f5a96c3694b71a2c310940e7 git | Not specified |
| CNA | Linux | Linux | affected 2e5d47fe7839298fa096970e184aac9bf82c3bd3 889f70de2b51a877339e1979aab95111b41bed75 git | Not specified |
| CNA | Linux | Linux | affected 2e5d47fe7839298fa096970e184aac9bf82c3bd3 d3ded53fab90996e7d94a39049e11962dd066725 git | Not specified |
| CNA | Linux | Linux | affected 6.12 | Not specified |
| CNA | Linux | Linux | unaffected 6.12 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.92 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.34 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.11 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/889f70de2b51a877339e1979aab95111b41bed75 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d3ded53fab90996e7d94a39049e11962dd066725 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2c890e71ae26fa32f5a96c3694b71a2c310940e7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7cb975fcd4777e7bad688f66aa0c10c16dd8276b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.