Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix a double-free in si_dpm_init When the allocation of adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries fails, amdgpu_free_extended_power_table is called to free some fields of adev. However, when the control flow returns to si_dpm_sw_init, it goes to label dpm_failed and calls si_dpm_fini, which calls amdgpu_free_extended_power_table again and free those fields again. Thus a double-free is triggered.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before afe9f5b871f86d58ecdc45b217b662227d7890d0; affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before 06d95c99d5a4f5accdb79464076efe62e668c706; affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4; affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before 2bf47c89bbaca2bae16581ef1b28aaec0ade0334; affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before f957a1be647f7fc65926cbf572992ec2747a93f2; affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before fb1936cb587262cd539e84b34541abb06e42b2f9; affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a; affected 841686df9f7d2942cfd94d024b8591fa3f74ef7c before ac16667237a82e2597e329eb9bc520d1cf9dff30 |
| Linux / Linux | affected 4.9; unaffected 0 before 4.9; unaffected 4.19.306 through 4.19.*; unaffected 5.4.268 through 5.4.*; unaffected 5.10.209 through 5.10.*; unaffected 5.15.148 through 5.15.*; unaffected 6.1.75 through 6.1.*; unaffected 6.6.14 through 6.6.*; unaffected 6.7.2 through 6.7.*; unaffected 6.8 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0
- https://git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706
- https://git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4
- https://git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334
- https://git.kernel.org/stable/c/f957a1be647f7fc65926cbf572992ec2747a93f2
- https://git.kernel.org/stable/c/fb1936cb587262cd539e84b34541abb06e42b2f9
- https://git.kernel.org/stable/c/ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a
- https://git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
- https://git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0
- https://git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706
- https://git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4
- https://git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334
- https://git.kernel.org/stable/c/f957a1be647f7fc65926cbf572992ec2747a93f2
- https://git.kernel.org/stable/c/fb1936cb587262cd539e84b34541abb06e42b2f9
- https://git.kernel.org/stable/c/ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a
- https://git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html