Bug 2383457 (CVE-2025-38421) - CVE-2025-38421 kernel: platform/x86/amd: pmf: Use device managed allocations
Summary: CVE-2025-38421 kernel: platform/x86/amd: pmf: Use device managed allocations
Keywords:
Status: NEW
Alias: CVE-2025-38421
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-25 15:01 UTC by OSIDB Bzimport
Modified: 2025-07-25 17:52 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-25 15:01:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.