Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b9c1a77e8cd73aa42c2736b6b0ffddda6230af1a to < abe61d067b48b947bedc9bae3725cb8f48dc8c0aaffectedb9c1a77e8cd73aa42c2736b6b0ffddda6230af1a to < 9b5cb2e4eb297fe52be26fd895fc5ea28fc22bf9affectedb9c1a77e8cd73aa42c2736b6b0ffddda6230af1a to < 43d2ab8408f9f468b232350c74160ae21e763020affectedb9c1a77e8cd73aa42c2736b6b0ffddda6230af1a to < 3334985f8b4c7c637a829744c81518ad9a671bcbaffectedb9c1a77e8cd73aa42c2736b6b0ffddda6230af1a to < f193e71fa9fab2e68ef85201b106e8f580d3a25baffected
Linux Linux
Default version status: affected
4.6affected0 to < 4.6unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/abe61d067b48b947bedc9bae3725cb8f48dc8c0a ↗
- https://git.kernel.org/stable/c/9b5cb2e4eb297fe52be26fd895fc5ea28fc22bf9 ↗
- https://git.kernel.org/stable/c/43d2ab8408f9f468b232350c74160ae21e763020 ↗
- https://git.kernel.org/stable/c/3334985f8b4c7c637a829744c81518ad9a671bcb ↗
- https://git.kernel.org/stable/c/f193e71fa9fab2e68ef85201b106e8f580d3a25b ↗