CVE-2024-38627: stm class: Fix a double free in stm_register_device()

Published Jun 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

stm class: Fix a double free in stmregisterdevice()

The Linux kernel CVE team has assigned CVE-2024-38627 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024062140-CVE-2024-38627-9b57@gregkh/T

Other sources

In the Linux kernel, the following vulnerability has been resolved:

stm class: Fix a double free in stmregisterdevice()

The putdevice(&stm->dev) call will trigger stmdevicerelease() which frees "stm" so the vfree(stm) on the next line is a double free.

NVD

Linux Kernel is vulnerable to a denial of service, caused by a double-free in stmregisterdevice(). A local authenticated attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

20 affected componentsFixes available
redhat/kernel<4.19.316
4.19.316
redhat/kernel<5.4.278
5.4.278
redhat/kernel<5.10.219
5.10.219
redhat/kernel<5.15.161
5.15.161
redhat/kernel<6.1.93
6.1.93
redhat/kernel<6.6.33
6.6.33
redhat/kernel<6.9.4
6.9.4
redhat/kernel<6.10
6.10
Linux Linux kernel>=4.7<4.19.316
Linux Linux kernel>=4.20<5.4.278
Linux Linux kernel>=5.5<5.10.219
Linux Linux kernel>=5.11<5.15.161
Linux Linux kernel>=5.16<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.9.4
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jun 21, 2024
CVE Published
via MITRE·10:18 AM
Data Sourced
via MITRE·10:18 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 8, 2024
Data Sourced
via Launchpad·11:30 PM
Description
May 9, 2025
Data Sourced
via Ubuntu·12:32 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-38627?

CVE-2024-38627 is classified as a medium severity vulnerability in the Linux kernel due to the potential for double free issues.

2

How do I fix CVE-2024-38627?

To mitigate CVE-2024-38627, ensure that your Linux kernel version is updated to one of the fixed versions, such as 4.19.317 or later.

3

Which Linux kernel versions are affected by CVE-2024-38627?

CVE-2024-38627 affects multiple Linux kernel versions including those earlier than 4.19.317, 5.4.279, 5.10.220, and specific patched versions from Red Hat.

4

What does CVE-2024-38627 impact?

CVE-2024-38627 impacts the Linux kernel's stm class, leading to a vulnerability that can be exploited through device registration.

5

Is CVE-2024-38627 exploitable remotely?

CVE-2024-38627 is considered to be locally exploitable, meaning an attacker would need local access to the system to exploit this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203