CVE-2024-27037

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27037
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27037.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27037
Downstream
Related
Published
2024-05-01T13:15:49Z
Modified
2025-08-09T20:01:28Z
Summary
[none]
Details

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

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

The kmalloc() in zynqclksetup() 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().

References

Affected packages