Linux
drm/xe/gsc: Fix double-free of managed BO in error path
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)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2e5d47fe7839298fa096970e184aac9bf82c3bd3, < 7cb975fcd4777e7bad688f66aa0c10c16dd8276b
- >= 2e5d47fe7839298fa096970e184aac9bf82c3bd3, < 2c890e71ae26fa32f5a96c3694b71a2c310940e7
- >= 2e5d47fe7839298fa096970e184aac9bf82c3bd3, < 889f70de2b51a877339e1979aab95111b41bed75
- >= 2e5d47fe7839298fa096970e184aac9bf82c3bd3, < d3ded53fab90996e7d94a39049e11962dd066725
Fixed in 7cb975fcd4777e7bad688f66aa0c10c16dd8276b, 2c890e71ae26fa32f5a96c3694b71a2c310940e7, 889f70de2b51a877339e1979aab95111b41bed75, d3ded53fab90996e7d94a39049e11962dd066725
- 6.12
Fixed in 0, 6.12.92, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 7cb975fcd4777e7bad688f66aa0c10c16dd8276b or 2c890e71ae26fa32f5a96c3694b71a2c310940e7 or 889f70de2b51a877339e1979aab95111b41bed75 or d3ded53fab90996e7d94a39049e11962dd066725 or later.
Upgrade Linux to 0 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.