drm/amd/pm: fix pptable use-after-free
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bb493058c35c8676e48269ab6732688ea733d23c, Kernel 3fbb3ac75000e3187f500a91a4099b24206866a1, Kernel 81b5af1fb0f14cace6c3b3130a05e5602a597820 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix pptable use-after-free amdgpu_dpm_get_pp_table() returns a pointer to a driver-owned power table after dropping adev->pm.mutex. The sysfs path then copies from that pointer. A concurrent pp_table write can replace and free the allocation during the copy, causing a use-after-free. Change the DPM interface to copy into caller-provided storage while the mutex is held. Keep the size-only query for attribute discovery without exposing the driver-owned pointer. (cherry picked from commit f6eed7acfd30099ef7baeb6ba45bb59daad80631)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1684d3ba488529266ce6f97b88076bd185f4790e <bb493058c35c8676e48269ab6732688ea733d23c, >=1684d3ba488529266ce6f97b88076bd185f4790e <3fbb3ac75000e3187f500a91a4099b24206866a1, >=1684d3ba488529266ce6f97b88076bd185f4790e <81b5af1fb0f14cace6c3b3130a05e5602a597820, >=1684d3ba488529266ce6f97b88076bd185f4790e <8c685df5c3b261c42505110965b42f9a754eb9b7, >=1684d3ba488529266ce6f97b88076bd185f4790e <9efc767335234cf7a892e46d45cd453b711421e7, >=1684d3ba488529266ce6f97b88076bd185f4790e <b628f2c6feb3a115ea72d3120a2bd94afc5163df, =4.9 | bb493058c35c8676e48269ab6732688ea733d23c, 3fbb3ac75000e3187f500a91a4099b24206866a1, 81b5af1fb0f14cace6c3b3130a05e5602a597820, 8c685df5c3b261c42505110965b42f9a754eb9b7, 9efc767335234cf7a892e46d45cd453b711421e7, b628f2c6feb3a115ea72d3120a2bd94afc5163df |
| linux-kernel: Kernel | >=6.13.0 <6.18.46, >=6.19.0 <7.1.8, >=6.2.0 <6.6.153, >=6.7.0 <6.12.105, >=4.9.0 <6.1.184 | 6.18.46, 7.1.8, 6.6.153, 6.12.105, 6.1.184 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket