cbcvebase.
CVE-2024-27038
published 2024-05-01

CVE-2024-27038: 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…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.29%
21.4th percentile
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.

Affected

29 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.85-1 (bookworm)linux 6.1.85-1 (bookworm)
linuxlinux
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < d7ae7d1265686b55832a445b1db8cdd69738ac07d7ae7d1265686b55832a445b1db8cdd69738ac07
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < 239174535dba11f7b83de0eaaa27909024f8c185239174535dba11f7b83de0eaaa27909024f8c185
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < 0efb9ef6fb95384ba631d6819e66f10392aabfa20efb9ef6fb95384ba631d6819e66f10392aabfa2
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < a8b2b26fdd011ebe36d68a9a321ca45801685959a8b2b26fdd011ebe36d68a9a321ca45801685959
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < a5d9b1aa61b401867b9066d54086b3e4ee91f8eda5d9b1aa61b401867b9066d54086b3e4ee91f8ed
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < c554badcae9c45b737a22d23454170c6020b90e6c554badcae9c45b737a22d23454170c6020b90e6
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < 6f073b24a9e2becd25ac4505a9780a87e621bb516f073b24a9e2becd25ac4505a9780a87e621bb51
linuxlinux>= dde4eff47c82c52a72af333d9e55370eee6d95d6 < e97fe4901e0f59a0bfd524578fe3768f8ca42428e97fe4901e0f59a0bfd524578fe3768f8ca42428
linuxlinux_kernel>= 0 < 5.10.216-15.10.216-1
linuxlinux_kernel>= 0 < 6.1.85-16.1.85-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 5.4.0-189.2095.4.0-189.209
linuxlinux_kernel>= 0 < 5.15.0-112.1225.15.0-112.122
linuxlinux_kernel>= 0 < 6.8.0-35.356.8.0-35.35
linuxlinux_kernel>= 5.11 < 5.15.1535.15.153
linuxlinux_kernel>= 5.16 < 6.1.836.1.83
linuxlinux_kernel>= 5.2 < 5.4.2735.4.273
linuxlinux_kernel>= 5.5 < 5.10.2145.10.214
linuxlinux_kernel>= 6.2 < 6.6.236.6.23
linuxlinux_kernel>= 6.7 < 6.7.116.7.11
linuxlinux_kernel>= 6.8 < 6.8.26.8.2

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.0HIGH
vendor_ubuntu7.0HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.