CVE-2024-27037
clk: zynq: Prevent null pointer dereference caused by kmalloc failure
Reported by linux · Published May 1, 2024
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.8.2, 6.7.11, 6.6.23, 6.1.83, 5.15.153 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0ee52b157b8ed88550ddd6291e54bb4bfabde364, 0ee52b157b8ed88550ddd6291e54bb4bfabde364, 0ee52b157b8ed88550ddd6291e54bb4bfabde364 |
| Linux | Linux | 3.11, 0, 5.15.153 |
| linux | linux_kernel | 3.11, 3.11, 3.11 |
| Linux | Linux | 0ee52b157b8ed88550ddd6291e54bb4bfabde364, 0ee52b157b8ed88550ddd6291e54bb4bfabde364, 0ee52b157b8ed88550ddd6291e54bb4bfabde364 |
Timeline
- May 1, 2024 CVE Published
- May 2, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jan 15, 2026 Security Advisory (314 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (276 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-27037
vulnetix vdb fixes CVE-2024-27037
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27037/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart