drm/amd/pm: fix pptable use-after-free
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 7.8epss 0.2%
probabilidade de exploração
0.2%top 94% das CVEs
exploração observada
nãonenhuma fonte reporta
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)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/3fbb3ac75000e3187f500a91a4099b24206866a1https://git.kernel.org/stable/c/81b5af1fb0f14cace6c3b3130a05e5602a597820https://git.kernel.org/stable/c/8c685df5c3b261c42505110965b42f9a754eb9b7https://git.kernel.org/stable/c/9efc767335234cf7a892e46d45cd453b711421e7https://git.kernel.org/stable/c/b628f2c6feb3a115ea72d3120a2bd94afc5163dfhttps://git.kernel.org/stable/c/bb493058c35c8676e48269ab6732688ea733d23c