Review reviewHigh

CVE-2023-52691

Linux Linux, linux kernel, debian linux

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.

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.05.18
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel, debian linux
Affected versions
>= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < afe9f5b871f86d58ecdc45b217b662227d7890d0, >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < 06d95c99d5a4f5accdb79464076efe62e668c706, >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4, >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < 2bf47c89bbaca2bae16581ef1b28aaec0ade0334, >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < f957a1be647f7fc65926cbf572992ec2747a93f2, >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < fb1936cb587262cd539e84b34541abb06e42b2f9, >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a, >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < ac16667237a82e2597e329eb9bc520d1cf9dff30, >= 4.9, >= 4.9 < 4.19.306, >= 4.20 < 5.4.268, >= 5.5 < 5.10.209, >= 5.11 < 5.15.148, >= 5.16 < 6.1.75, >= 6.2 < 6.6.14, >= 6.7 < 6.7.2, 10.0
Fixed versions
4.19.306, 5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel, debian linux and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-415