High · published May 17, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.9, < 4.19.306 | 4.19.306 |
| linux/linux_kernel | ≥ 4.20, < 5.4.268 | 5.4.268 |
| linux/linux_kernel | ≥ 5.5, < 5.10.209 | 5.10.209 |
| linux/linux_kernel | ≥ 5.11, < 5.15.148 | 5.15.148 |
| linux/linux_kernel | ≥ 5.16, < 6.1.75 | 6.1.75 |
| linux/linux_kernel | ≥ 6.2, < 6.6.14 | 6.6.14 |
| linux/linux_kernel | ≥ 6.7, < 6.7.2 | 6.7.2 |
| debian/debian_linux | all versions | — |