Double free in Linux kernel - CVE-2025-38421
Published: July 27, 2025
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to a double free error within the amd_pmf_get_pb_data(), amd_pmf_init_smart_pc() and amd_pmf_deinit_smart_pc() functions in drivers/platform/x86/amd/pmf/tee-if.c, within the amd_pmf_set_dram_addr() and amd_pmf_remove() functions in drivers/platform/x86/amd/pmf/core.c. A local user can perform a denial of service (DoS) attack.
Affected software
Ubuntu
linux (Ubuntu package)
linux-hwe-6.14 (Ubuntu package)
linux-azure (Ubuntu package)
linux-realtime-6.14 (Ubuntu package)
linux-aws-6.14 (Ubuntu package)
linux-gcp-6.14 (Ubuntu package)
How to mitigate CVE-2025-38421
linux-hwe-6.14 (Ubuntu package) - update to 6.14.0-34.34~24.04.1
linux-azure (Ubuntu package) - addressed in versions 6.14.0-1007.7+25.10.1, 6.14.0-1014.14, 6.14.0-1014.14~24.04.1
linux-realtime-6.14 (Ubuntu package) - update to 6.14.0-1014.14~24.04.1
linux-aws-6.14 (Ubuntu package) - update to 6.14.0-1015.15~24.04.1
linux-gcp-6.14 (Ubuntu package) - update to 6.14.0-1018.19~24.04.1