In the Linux kernel, the following vulnerability has been resolved:
drm/amd/pm: fix double free in si_parse_power_table()
In function si_parse_power_table(), array adev->pm.dpm.ps and its member is allocated. If the allocation of each member fails, the array itself is freed and returned with an error code. However, the array is later freed again in si_dpm_fini() function which is called when the function returns an error.
This leads to potential double free of the array adev->pm.dpm.ps, as well as leak of its array members, since the members are not freed in the allocation function and the array is not nulled when freed. In addition adev->pm.dpm.num_ps, which keeps track of the allocated array member, is not updated until the member allocation is successfully finished, this could also lead to either use after free, or uninitialized variable access in si_dpm_fini().
Fix this by postponing the free of the array until si_dpm_fini() and increment adev->pm.dpm.num_ps everytime the array member is allocated.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Ubuntu | — | Upgrade linux-gcpUpgrade linux-aws-fipsUpgrade linux-lowlatencyUpgrade linux-azure-5.15Upgrade linux-azure-5.4Upgrade linux-azure-fipsUpgrade linux-gcp-4.15Upgrade linux-azureUpgrade linux-intel-iotgUpgrade linux-fipsUpgrade linux-oracle-5.15Upgrade linux-aws-hweUpgrade linux-hwe-5.15Upgrade linux-riscv-5.15Upgrade linux-gcp-5.4Upgrade linux-hweUpgrade linux-gkeopUpgrade linux-kvmUpgrade linux-nvidiaUpgrade linux-ibmUpgrade linux-hwe-5.4Upgrade linux-intel-iotg-5.15Upgrade linux-oracleUpgrade linux-gcp-5.15Upgrade linux-gcp-fipsUpgrade linux-realtimeUpgrade linux-raspi-5.4Upgrade linux-aws-5.15Upgrade linux-azure-4.15Upgrade linux-aws-5.4Upgrade linux-ibm-5.4Upgrade linux-lowlatency-hwe-5.15Upgrade linux-gkeUpgrade linux-bluefieldUpgrade linux-iotUpgrade linux-awsUpgrade linux-raspiUpgrade linuxUpgrade linux-oracle-5.4 | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub