CVE-2024-27037

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

MEDIUM
5.5
CVSS Score
Published: May 1, 2024 at 12:53 PM UTC
Updated: June 17, 2026 at 07:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.11 ≤ v < 5.15.1533.11 ≤ v < 6.1.833.11 ≤ v < 6.6.233.11 ≤ v < 6.7.113.11 ≤ v < 6.8.23.11 ≤ v < 6.95.16 ≤ v < 6.1.836.2 ≤ v < 6.6.236.7 ≤ v < 6.7.116.8 ≤ v < 6.8.20ee52b157b8ed88550ddd6291e54bb4bfabde3643.11
Vendor states this is fixed in 01511ac7be8e45f80e637f6bf61af2d3d2dee9db (fixed)
Vendor states this is fixed in 0801c893fd48cdba66a3c8f44c3fe43cc67d3b85 (fixed)
Vendor states this is fixed in 58a946ab43501f2eba058d24d96af0ad1122475b (fixed)
Vendor states this is fixed in 7938e9ce39d6779d2f85d822cc930f73420e54a6 (fixed)
Vendor states this is fixed in 8c4889a9ea861d7be37463c10846eb75e1b49c9d (fixed)
Vendor states this is fixed in ca976c6a592f789700200069ef9052493c0b73d8 (fixed)
Vendor states this is fixed in 3.11 (unaffected)
Vendor states this is fixed in 5.15.153 (unaffected)
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/01511ac7be8e45f80e637f6bf61af2d3d2dee9db
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0801c893fd48cdba66a3c8f44c3fe43cc67d3b85
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/58a946ab43501f2eba058d24d96af0ad1122475b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7938e9ce39d6779d2f85d822cc930f73420e54a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c4889a9ea861d7be37463c10846eb75e1b49c9d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca976c6a592f789700200069ef9052493c0b73d8

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card