Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b9c1a77e8cd73aa42c2736b6b0ffddda6230af1a before abe61d067b48b947bedc9bae3725cb8f48dc8c0a; affected b9c1a77e8cd73aa42c2736b6b0ffddda6230af1a before 9b5cb2e4eb297fe52be26fd895fc5ea28fc22bf9; affected b9c1a77e8cd73aa42c2736b6b0ffddda6230af1a before 43d2ab8408f9f468b232350c74160ae21e763020; affected b9c1a77e8cd73aa42c2736b6b0ffddda6230af1a before 3334985f8b4c7c637a829744c81518ad9a671bcb; affected b9c1a77e8cd73aa42c2736b6b0ffddda6230af1a before f193e71fa9fab2e68ef85201b106e8f580d3a25b |
| Linux / Linux | affected 4.6; unaffected 0 before 4.6; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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