In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: bound pp_dpm_set_pp_table() memcpy The powerplay path allocates hardcode_pp_table once with kmemdup(..., soft_pp_table_size). memcpy(..., size) used the sysfs store count (up to PAGE_SIZE) with no upper bound, causing heap overflow. Reject writes where size exceeds soft_pp_table_size.
https://git.kernel.org/stable/c/f193e71fa9fab2e68ef85201b106e8f580d3a25b
https://git.kernel.org/stable/c/43d2ab8408f9f468b232350c74160ae21e763020
https://git.kernel.org/stable/c/3334985f8b4c7c637a829744c81518ad9a671bcb