drm/xe/hw_engine: 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 a0a56b4480a0dc921a42cd70e9fc081a12ab8359, Kernel 1f6b44d555ecce61e249220f2ca4d75cdb90caf6, Kernel 23ee91355e31947595b86ebb9ef4664f20fd926d and 4 more.
In the Linux kernel, the following vulnerability has been resolved: drm/xe/hw_engine: Fix double-free of managed BO in error path The error path in hw_engine_init() 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 e459a3bdeb117be496d7f229e2ea1f6c9fe4080b)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 <a0a56b4480a0dc921a42cd70e9fc081a12ab8359, >=0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 <1f6b44d555ecce61e249220f2ca4d75cdb90caf6, >=0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 <23ee91355e31947595b86ebb9ef4664f20fd926d, >=0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 <7ac3cae7a251d28e9079de07a991bd4eb2bb7fd8, =6.8 | a0a56b4480a0dc921a42cd70e9fc081a12ab8359, 1f6b44d555ecce61e249220f2ca4d75cdb90caf6, 23ee91355e31947595b86ebb9ef4664f20fd926d, 7ac3cae7a251d28e9079de07a991bd4eb2bb7fd8 |
| linux-kernel: Kernel | >=6.19.0 <7.1.5, >=6.8.0 <6.12.97, >=6.13.0 <6.18.40 | 7.1.5, 6.12.97, 6.18.40 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket