CVE-2021-47651
soc: qcom: rpmpd: Check for null return of devm_kcalloc
Reported by linux · Published February 26, 2025
In the Linux kernel, the following vulnerability has been resolved: soc: qcom: rpmpd: Check for null return of devm_kcalloc Because of the possible failure of the allocation, data->domains might be NULL pointer and will cause the dereference of the NULL pointer later. Therefore, it might be better to check it and directly return -ENOMEM without releasing data manually if fails, because the comment of the devm_kmalloc() says "Memory allocated with this function is automatically freed on driver detach.".
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bbe3a66c3f5a65fb3d702351bac2a6033944d389, bbe3a66c3f5a65fb3d702351bac2a6033944d389, bbe3a66c3f5a65fb3d702351bac2a6033944d389 |
| Linux | Linux | 5.1, 0, 5.4.189 |
| linux | linux_kernel | 5.1, 5.1, 5.1 |
| Linux | Linux | *, *, * |
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- Oct 1, 2025 CVE Updated
- Jun 2, 2026 Security Advisory
- Jul 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-47651
vulnetix vdb fixes CVE-2021-47651
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-2021-47651/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart