7.8
HIGH
CVE-2024-38627
Linux Kernel Double Free Vulnerability in STM Device Registration
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.

INFO

Published Date :

June 21, 2024, 11:15 a.m.

Last Modified :

Sept. 9, 2024, 1:39 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-38627 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38627 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-38627 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 09, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/370c480410f60b90ba3e96abe73ead21ec827b20 No Types Assigned https://git.kernel.org/stable/c/370c480410f60b90ba3e96abe73ead21ec827b20 Patch
    Changed Reference Type https://git.kernel.org/stable/c/3df463865ba42b8f88a590326f4c9ea17a1ce459 No Types Assigned https://git.kernel.org/stable/c/3df463865ba42b8f88a590326f4c9ea17a1ce459 Patch
    Changed Reference Type https://git.kernel.org/stable/c/4bfd48bb6e62512b9c392c5002c11e1e3b18d247 No Types Assigned https://git.kernel.org/stable/c/4bfd48bb6e62512b9c392c5002c11e1e3b18d247 Patch
    Changed Reference Type https://git.kernel.org/stable/c/6cc30ef8eb6d8f8d6df43152264bbf8835d99931 No Types Assigned https://git.kernel.org/stable/c/6cc30ef8eb6d8f8d6df43152264bbf8835d99931 Patch
    Changed Reference Type https://git.kernel.org/stable/c/713fc00c571dde4af3db2dbd5d1b0eadc327817b No Types Assigned https://git.kernel.org/stable/c/713fc00c571dde4af3db2dbd5d1b0eadc327817b Patch
    Changed Reference Type https://git.kernel.org/stable/c/7419df1acffbcc90037f6b5a2823e81389659b36 No Types Assigned https://git.kernel.org/stable/c/7419df1acffbcc90037f6b5a2823e81389659b36 Patch
    Changed Reference Type https://git.kernel.org/stable/c/a0450d3f38e7c6c0a7c0afd4182976ee15573695 No Types Assigned https://git.kernel.org/stable/c/a0450d3f38e7c6c0a7c0afd4182976ee15573695 Patch
    Changed Reference Type https://git.kernel.org/stable/c/d782a2db8f7ac49c33b9ca3e835500a28667d1be No Types Assigned https://git.kernel.org/stable/c/d782a2db8f7ac49c33b9ca3e835500a28667d1be Patch
    Added CWE NIST CWE-415
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.7 up to (excluding) 4.19.316 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.278 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.9.4
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 15, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 21, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/6cc30ef8eb6d8f8d6df43152264bbf8835d99931 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a0450d3f38e7c6c0a7c0afd4182976ee15573695 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/713fc00c571dde4af3db2dbd5d1b0eadc327817b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/7419df1acffbcc90037f6b5a2823e81389659b36 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4bfd48bb6e62512b9c392c5002c11e1e3b18d247 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/370c480410f60b90ba3e96abe73ead21ec827b20 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/d782a2db8f7ac49c33b9ca3e835500a28667d1be [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/3df463865ba42b8f88a590326f4c9ea17a1ce459 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38627 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-38627 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability