{"dataType":"CVE_RECORD","cveMetadata":{"cveId":"CVE-2024-27038","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-19T14:20:24.212Z","datePublished":"2024-05-01T12:53:53.698Z","dateUpdated":"2026-05-12T11:51:15.740Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T20:09:13.165Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: Fix clk_core_get NULL dereference\n\nIt is possible for clk_core_get to dereference a NULL in the following\nsequence:\n\nclk_core_get()\n    of_clk_get_hw_from_clkspec()\n        __of_clk_get_hw_from_provider()\n            __clk_get_hw()\n\n__clk_get_hw() can return NULL which is dereferenced by clk_core_get() at\nhw->core.\n\nPrior to commit dde4eff47c82 (\"clk: Look for parents with clkdev based\nclk_lookups\") the check IS_ERR_OR_NULL() was performed which would have\ncaught the NULL.\n\nReading the description of this function it talks about returning NULL but\nthat cannot be so at the moment.\n\nUpdate the function to check for hw before dereferencing it and return NULL\nif hw is NULL."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/clk.c"],"versions":[{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"d7ae7d1265686b55832a445b1db8cdd69738ac07","status":"affected","versionType":"git"},{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"239174535dba11f7b83de0eaaa27909024f8c185","status":"affected","versionType":"git"},{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"0efb9ef6fb95384ba631d6819e66f10392aabfa2","status":"affected","versionType":"git"},{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"a8b2b26fdd011ebe36d68a9a321ca45801685959","status":"affected","versionType":"git"},{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"a5d9b1aa61b401867b9066d54086b3e4ee91f8ed","status":"affected","versionType":"git"},{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"c554badcae9c45b737a22d23454170c6020b90e6","status":"affected","versionType":"git"},{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"6f073b24a9e2becd25ac4505a9780a87e621bb51","status":"affected","versionType":"git"},{"version":"dde4eff47c82c52a72af333d9e55370eee6d95d6","lessThan":"e97fe4901e0f59a0bfd524578fe3768f8ca42428","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/clk.c"],"versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"5.4.273","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.214","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.153","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.83","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.23","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.11","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8.2","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.4.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.10.214"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.15.153"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.1.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.6.23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.7.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.8.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d7ae7d1265686b55832a445b1db8cdd69738ac07"},{"url":"https://git.kernel.org/stable/c/239174535dba11f7b83de0eaaa27909024f8c185"},{"url":"https://git.kernel.org/stable/c/0efb9ef6fb95384ba631d6819e66f10392aabfa2"},{"url":"https://git.kernel.org/stable/c/a8b2b26fdd011ebe36d68a9a321ca45801685959"},{"url":"https://git.kernel.org/stable/c/a5d9b1aa61b401867b9066d54086b3e4ee91f8ed"},{"url":"https://git.kernel.org/stable/c/c554badcae9c45b737a22d23454170c6020b90e6"},{"url":"https://git.kernel.org/stable/c/6f073b24a9e2becd25ac4505a9780a87e621bb51"},{"url":"https://git.kernel.org/stable/c/e97fe4901e0f59a0bfd524578fe3768f8ca42428"}],"title":"clk: Fix clk_core_get NULL dereference","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-27038","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-01T13:38:53.856287Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-05T17:22:44.741Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T00:21:05.879Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/d7ae7d1265686b55832a445b1db8cdd69738ac07","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/239174535dba11f7b83de0eaaa27909024f8c185","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/0efb9ef6fb95384ba631d6819e66f10392aabfa2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a8b2b26fdd011ebe36d68a9a321ca45801685959","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a5d9b1aa61b401867b9066d54086b3e4ee91f8ed","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c554badcae9c45b737a22d23454170c6020b90e6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6f073b24a9e2becd25ac4505a9780a87e621bb51","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e97fe4901e0f59a0bfd524578fe3768f8ca42428","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}]},{"x_adpType":"supplier","providerMetadata":{"orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP","dateUpdated":"2026-05-12T11:51:15.740Z"},"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","versions":[{"status":"affected","version":"0","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown"}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}]}]},"dataVersion":"5.2"}