CVE-2024-27038: clk: Fix clk_core_get NULL dereference
Vulnerability summary
CVE-2024-27038 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in debian debian_linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.4% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 25Timeline
- 01-05-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu114 products
- linux< 5.4.0-189.209 | < 5.15.0-112.122 | < 6.8.0-35.35
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1128.138 | < 5.15.0-1063.69 | < 6.8.0-1009.9
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.85-1 | < 6.7.12-1
- debian_linuxEOL10.0
Linux2 products
- linux≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < d7ae7d1265686b55832a445b1db8cdd69738ac07 | ≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < 239174535dba11f7b83de0eaaa27909024f8c185 | ≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < 0efb9ef6fb95384ba631d6819e66f10392aabfa2 | ≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < a8b2b26fdd011ebe36d68a9a321ca45801685959 | ≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < a5d9b1aa61b401867b9066d54086b3e4ee91f8ed | ≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < c554badcae9c45b737a22d23454170c6020b90e6 | ≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < 6f073b24a9e2becd25ac4505a9780a87e621bb51 | ≥ dde4eff47c82c52a72af333d9e55370eee6d95d6, < e97fe4901e0f59a0bfd524578fe3768f8ca42428 | 5.2
- linux_kernel≥ 5.2, < 5.4.273 | ≥ 5.5, < 5.10.214 | ≥ 5.11, < 5.15.153 | ≥ 5.16, < 6.1.83 | ≥ 6.2, < 6.6.23 | ≥ 6.7, < 6.7.11 | ≥ 6.8, < 6.8.2
3 vendors · 118 products
References
35 links- lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlX TransferredMailing ListThird Party Advisory