0.0
NA
CVE-2024-27038
Linux Kernel Clock Vulnerability: NULL Dereference
Description

In the Linux kernel, the following vulnerability has been resolved: clk: Fix clk_core_get NULL dereference It is possible for clk_core_get to dereference a NULL in the following sequence: clk_core_get() of_clk_get_hw_from_clkspec() __of_clk_get_hw_from_provider() __clk_get_hw() __clk_get_hw() can return NULL which is dereferenced by clk_core_get() at hw->core. Prior to commit dde4eff47c82 ("clk: Look for parents with clkdev based clk_lookups") the check IS_ERR_OR_NULL() was performed which would have caught the NULL. Reading the description of this function it talks about returning NULL but that cannot be so at the moment. Update the function to check for hw before dereferencing it and return NULL if hw is NULL.

INFO

Published Date :

May 1, 2024, 1:15 p.m.

Last Modified :

June 25, 2024, 9:15 p.m.

Source :

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

Remotely Exploitable :

No

Impact Score :

Exploitability Score :

Affected Products

The following products are affected by CVE-2024-27038 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-27038 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-27038 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.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 25, 2024

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

    May. 29, 2024

    Action Type Old Value New Value
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 01, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: clk: Fix clk_core_get NULL dereference It is possible for clk_core_get to dereference a NULL in the following sequence: clk_core_get() of_clk_get_hw_from_clkspec() __of_clk_get_hw_from_provider() __clk_get_hw() __clk_get_hw() can return NULL which is dereferenced by clk_core_get() at hw->core. Prior to commit dde4eff47c82 ("clk: Look for parents with clkdev based clk_lookups") the check IS_ERR_OR_NULL() was performed which would have caught the NULL. Reading the description of this function it talks about returning NULL but that cannot be so at the moment. Update the function to check for hw before dereferencing it and return NULL if hw is NULL.
    Added Reference kernel.org https://git.kernel.org/stable/c/d7ae7d1265686b55832a445b1db8cdd69738ac07 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/239174535dba11f7b83de0eaaa27909024f8c185 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/0efb9ef6fb95384ba631d6819e66f10392aabfa2 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a8b2b26fdd011ebe36d68a9a321ca45801685959 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a5d9b1aa61b401867b9066d54086b3e4ee91f8ed [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c554badcae9c45b737a22d23454170c6020b90e6 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/6f073b24a9e2becd25ac4505a9780a87e621bb51 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e97fe4901e0f59a0bfd524578fe3768f8ca42428 [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-27038 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-27038 weaknesses.

NONE - Vulnerability Scoring System