CVE-2024-27037

MediumCVSS 5.5/10Last modified Jun 17, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

clk: zynq: Prevent null pointer dereference caused by kmalloc failure

The kmalloc() in zynq_clk_setup() will return null if the physical memory has run out. As a result, if we use snprintf() to write data to the null address, the null pointer dereference bug will happen.

This patch uses a stack variable to replace the kmalloc().

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 0ee52b157b8ed88550ddd6291e54bb4bfabde364, < 01511ac7be8e45f80e637f6bf61af2d3d2dee9db; >= 0ee52b157b8ed88550ddd6291e54bb4bfabde364, < 8c4889a9ea861d7be37463c10846eb75e1b49c9d; >= 0ee52b157b8ed88550ddd6291e54bb4bfabde364, < 0801c893fd48cdba66a3c8f44c3fe43cc67d3b85; >= 0ee52b157b8ed88550ddd6291e54bb4bfabde364, < ca976c6a592f789700200069ef9052493c0b73d8; >= 0ee52b157b8ed88550ddd6291e54bb4bfabde364, < 58a946ab43501f2eba058d24d96af0ad1122475b; >= 0ee52b157b8ed88550ddd6291e54bb4bfabde364, < 7938e9ce39d6779d2f85d822cc930f73420e54a6
LinuxLinux3.11

References

Timeline

Published
May 1, 2024
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2024

CVE-2024-270385.5In the Linux kernel, the following vulnerability has been resolved: clk: Fix clk_core_get NULL dereference It is possible for clk_core_getCVE-2024-270395.5In the Linux kernel, the following vulnerability has been resolved: clk: hisilicon: hi3559a: Fix an erroneous devm_kfree() 'p_clk' is an aCVE-2024-27048.8A vulnerability classified as critical was found in Tenda AC10U 15.03.06.49. Affected by this vulnerability is the function formSetFirewallCCVE-2024-270404.7In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add 'replay' NULL check in 'edp_set_replay_allow_activCVE-2024-270415.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini() SCVE-2024-270437.8In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvCVE-2024-270445.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_CVE-2024-270457.8In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_reCVE-2024-270465.5In the Linux kernel, the following vulnerability has been resolved: nfp: flower: handle acti_netdevs allocation failure The kmalloc_array(CVE-2024-270475.5In the Linux kernel, the following vulnerability has been resolved: net: phy: fix phy_get_internal_delay accessing an empty array The phy_CVE-2024-270485.5In the Linux kernel, the following vulnerability has been resolved: wifi: brcm80211: handle pmk_op allocation failure The kzalloc() in brcCVE-2024-270497.8In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925e: fix use-after-free in free_irq() From commit a304
CVE-2024-27037: Medium severity, CVSS 5.5 | Vulnix