# CVE-2026-64517: drm/xe/gsc: Fix double-free of managed BO in error path

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-25T09:14:43.863Z
- Modified: 2026-11-17T20:12:27.920Z
- Weaknesses: CWE-415
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 2e5d47fe7839298fa096970e184aac9bf82c3bd3 before 7cb975fcd4777e7bad688f66aa0c10c16dd8276b; from 2e5d47fe7839298fa096970e184aac9bf82c3bd3 before 2c890e71ae26fa32f5a96c3694b71a2c310940e7; from 2e5d47fe7839298fa096970e184aac9bf82c3bd3 before 889f70de2b51a877339e1979aab95111b41bed75; from 2e5d47fe7839298fa096970e184aac9bf82c3bd3 before d3ded53fab90996e7d94a39049e11962dd066725; 6.12 (not affected: before 6.12; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.12 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/7cb975fcd4777e7bad688f66aa0c10c16dd8276b> (patch)
- <https://git.kernel.org/stable/c/2c890e71ae26fa32f5a96c3694b71a2c310940e7> (patch)
- <https://git.kernel.org/stable/c/889f70de2b51a877339e1979aab95111b41bed75> (patch)
- <https://git.kernel.org/stable/c/d3ded53fab90996e7d94a39049e11962dd066725> (patch)

## Sources

- CVE List: [CVE-2026-64517](https://www.cve.org/CVERecord?id=CVE-2026-64517), CVE Terms of Use, modified 2026-07-25
- NVD: [CVE-2026-64517](https://nvd.nist.gov/vuln/detail/CVE-2026-64517), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-64517 · Whole record: https://cve.day/CVE-2026-64517.json · Rebuilt by cve.day 2026-11-25T22:59:30.155Z
