CVE
CVE-2023-52691
CNA description
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 versions
All Linux kernel vulnerabilities →
- ≥ 6.7, < 6.7.2Fixed in 6.7.2
- ≥ 6.2, < 6.6.14Fixed in 6.6.14
- ≥ 5.16, < 6.1.75Fixed in 6.1.75
- ≥ 5.11, < 5.15.148Fixed in 5.15.148
- ≥ 5.5, < 5.10.209Fixed in 5.10.209
- ≥ 4.20, < 5.4.268Fixed in 5.4.268
- ≥ 4.9, < 4.19.306Fixed in 4.19.306
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706 · Patch
- git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334 · Patch
- git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30 · Patch
- git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4 · Patch
- git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0 · Patch
- git.kernel.org/stable/c/ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a · Patch
- git.kernel.org/stable/c/f957a1be647f7fc65926cbf572992ec2747a93f2 · Patch
- git.kernel.org/stable/c/fb1936cb587262cd539e84b34541abb06e42b2f9 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.