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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Ubuntu | — | Upgrade linux-aws-5.15Upgrade linux-azure-4.15Upgrade linux-ibm-5.4Upgrade linux-gkeUpgrade linux-bluefieldUpgrade linux-iotUpgrade linux-raspiUpgrade linux-oracle-5.4Upgrade linuxUpgrade linux-lowlatency-hwe-5.15Upgrade linux-awsUpgrade linux-aws-5.4Upgrade linux-raspi-5.4Upgrade linux-lowlatencyUpgrade linux-hwe-5.15Upgrade linux-aws-fipsUpgrade linux-kvmUpgrade linux-azureUpgrade linux-aws-hweUpgrade linux-gcp-4.15Upgrade linux-nvidiaUpgrade linux-hweUpgrade linux-gcpUpgrade linux-gcp-5.4Upgrade linux-intel-iotgUpgrade linux-ibmUpgrade linux-hwe-5.4Upgrade linux-gkeopUpgrade linux-gcp-fipsUpgrade linux-realtimeUpgrade linux-gcp-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-azure-5.4Upgrade linux-oracle-5.15Upgrade linux-fipsUpgrade linux-azure-5.15Upgrade linux-azure-fipsUpgrade linux-riscv-5.15Upgrade linux-oracle | 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 |
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