CVE-2024-38627 Details
Description
In the Linux kernel, the following vulnerability has been resolved: stm class: Fix a double free in stm_register_device() The put_device(&stm->dev) call will trigger stm_device_release() which frees "stm" so the vfree(stm) on the next line is a double free.
A double free vulnerability has been identified in the Linux kernel's STM device registration process. This issue arises in the 'stm_register_device' function, where the 'put_device' call releases the 'stm' device, freeing its memory. However, the subsequent 'vfree(stm)' call attempts to free the same memory again, leading to a double free condition. This vulnerability affects the Linux kernel stable tree.
Users can upgrade to Linux version 4.19.316-1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 21, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.7, < 4.19.316 >= 4.20, < 5.4.278 >= 5.5, < 5.10.219 >= 5.11, < 5.15.161 >= 5.16, < 6.1.93 >= 6.2, < 6.6.33 >= 6.7, < 6.9.4 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 21, 2024 | CVE Modified | CVE |
| Sep 9, 2024 | Initial Analysis | [email protected] |
| Jul 15, 2024 | CVE Modified | kernel.org |
| Jun 27, 2024 | CVE Modified | kernel.org |
| Jun 21, 2024 | New CVE Received | kernel.org |