platform/x86/amd: pmf: Use device managed allocations
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.14, 6.15.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335 · fixed in d6a38e1a82d2f9abd0bae84a354654bccb8389f6; From 5b1122fc4995f308b21d7cfc64ef9880ac834d20 · fixed in 0d10b532f861253c283863522d59d099fcb0796d; From 5b1122fc4995f308b21d7cfc64ef9880ac834d20 · fixed in d9db3a941270d92bbd1a6a6b54a10324484f2f2d; From 6.12.23 · fixed in 6.12.114; From 6.13.11 · fixed in 6.14
- Linux Linux
6.14
- KernelLinux
fixed in 6.12.114; From 6.13.0 · fixed in 6.15.4