CVE-2021-47651: soc: qcom: rpmpd: Check for null return of devm_kcalloc
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.".
Security readout for executives and security teams
Plain-English summary
CVE-2021-47651 is a Linux kernel availability flaw in Qualcomm power-domain code. If memory allocation fails, the driver may dereference a null pointer and crash the kernel. The published impact is denial of service only, with local low-privileged access required.
Executive priority
Treat as a moderate patch-management item. It can crash affected systems, but the sources show local access requirements, no confidentiality impact, and no confirmed active exploitation. Prioritize exposed Qualcomm-based Linux devices according to uptime criticality.
Technical view
The Qualcomm rpmpd driver did not check whether devm_kcalloc returned NULL before later dereferencing data->domains. The kernel fix adds an allocation-failure check and returns -ENOMEM. CVSS 3.1 is 5.5: local, low complexity, low privileges, no user interaction, high availability impact.
Likely exposure
Exposure is most likely on Linux systems using affected kernel versions and the Qualcomm rpmpd driver path, typically Qualcomm-based platforms. The source bundle lists Linux as affected but does not provide distribution package names, device models, or confirmed deployment prevalence.
Exploitation context
CISA KEV status is false in the source bundle, and no cited source states active exploitation. The CVSS vector indicates local low-privileged access is required. The practical result is kernel crash or denial of service, not data theft or integrity compromise.
Researcher notes
Evidence supports CWE-476 null pointer dereference caused by unchecked devm_kcalloc failure in soc/qcom/rpmpd. The bundle’s affected-version data is limited and includes commit references, so validate against downstream vendor kernels before scoping production exposure.
Mitigation direction
Update to a Linux kernel containing the referenced stable fixes.
Check vendor or distribution advisories for package-specific fixed versions.
Prioritize Qualcomm-based systems where rpmpd support is enabled.
Schedule reboot or maintenance as required for kernel replacement.
Validation and detection
Inventory running kernel versions across affected Linux assets.
Confirm whether Qualcomm rpmpd driver support is built or loaded.
Compare kernel source or packages against the referenced stable commits.
Review crash logs for rpmpd-related null pointer dereference symptoms.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.