drm/xe/gsc: Fix double-free of managed BO in error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.92, Kernel 6.18.34, Kernel 7.0.11 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.12 <6.12.92, >=6.13 <6.18.34, >=6.19 <7.0.11, =7.1, >=2e5d47fe7839298fa096970e184aac9bf82c3bd3 <7cb975fcd4777e7bad688f66aa0c10c16dd8276b, >=2e5d47fe7839298fa096970e184aac9bf82c3bd3 <889f70de2b51a877339e1979aab95111b41bed75, >=2e5d47fe7839298fa096970e184aac9bf82c3bd3 <d3ded53fab90996e7d94a39049e11962dd066725, =6.12, >=2e5d47fe7839298fa096970e184aac9bf82c3bd3 <2c890e71ae26fa32f5a96c3694b71a2c310940e7 | 6.12.92, 6.18.34, 7.0.11, 7cb975fcd4777e7bad688f66aa0c10c16dd8276b, 889f70de2b51a877339e1979aab95111b41bed75, d3ded53fab90996e7d94a39049e11962dd066725, 2c890e71ae26fa32f5a96c3694b71a2c310940e7 |
| linux-kernel: Kernel | >=6.12.0 <6.12.92, >=6.13.0 <6.18.34, >=6.19.0 <7.0.11 | 6.12.92, 6.18.34, 7.0.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket