CVE-2025-38421

HIGH

Linux Kernel 6.12.23-6.12.99, 6.14.0-6.14.99, 6.15.0-6.15.3 - Use-After-Free in AMD PMF Smart PC Setup

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: pmf: Use device managed allocations If setting up smart PC fails for any reason then this can lead to a double free when unloading amd-pmf. This is because dev->buf was freed but never set to NULL and is again freed in amd_pmf_remove(). To avoid subtle allocation bugs in failures leading to a double free change all allocations into device managed allocations.

Scores

CVSS v3 7.8
EPSS 0.0014
EPSS Percentile 4.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-415
Status published
Products (14)
linux/Kernel 6.14.0 - 6.15.4linux
Linux/Linux < 6.14
Linux/Linux 3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b
Linux/Linux 5b1122fc4995f308b21d7cfc64ef9880ac834d20 - 0d10b532f861253c283863522d59d099fcb0796d
Linux/Linux 5b1122fc4995f308b21d7cfc64ef9880ac834d20 - d9db3a941270d92bbd1a6a6b54a10324484f2f2d
Linux/Linux 6.12.23 - 6.13
Linux/Linux 6.13.11 - 6.14
Linux/Linux 6.14
Linux/Linux 6.15.4 - 6.15.*
Linux/Linux 6.16
... and 4 more
Published Jul 25, 2025
Tracked Since Feb 18, 2026