We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38421

platform/x86/amd: pmf: Use device managed allocations



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.

Reserved 2025-04-16 | Published 2025-07-25 | Updated 2025-07-25 | Assigner Linux

Product status

Default status
unaffected

5b1122fc4995f308b21d7cfc64ef9880ac834d20 before 0d10b532f861253c283863522d59d099fcb0796d
affected

5b1122fc4995f308b21d7cfc64ef9880ac834d20 before d9db3a941270d92bbd1a6a6b54a10324484f2f2d
affected

e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335
affected

3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b
affected

Default status
affected

6.14
affected

Any version before 6.14
unaffected

6.15.4
unaffected

6.16-rc3
unaffected

References

git.kernel.org/...c/0d10b532f861253c283863522d59d099fcb0796d

git.kernel.org/...c/d9db3a941270d92bbd1a6a6b54a10324484f2f2d

cve.org (CVE-2025-38421)

nvd.nist.gov (CVE-2025-38421)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38421

Support options

Helpdesk Chat, Email, Knowledgebase