CVE-2024-58066: clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() check
In the Linux kernel, the following vulnerability has been resolved:
clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() check
The devm_kzalloc() function doesn't return error pointers, it returns
NULL on error. Update the check to match.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel availability bug in a specific clock driver. The issue is an incorrect error check after memory allocation, which can lead to a NULL pointer dereference. The published impact is denial of service only; no confidentiality or integrity impact is identified in the provided sources.
Executive priority
Treat as routine kernel patching priority unless affected systems are exposed to untrusted local users or have strict availability requirements. There is no cited evidence of active exploitation, but denial-of-service impact justifies inclusion in the next approved kernel update cycle.
Technical view
The pxa1908-apbcp clock driver checked a devm_kzalloc() result with IS_ERR(), but that allocator returns NULL on failure. The fix changes the error handling to match allocator behavior. The CVE maps to CWE-476 and has CVSS 3.1 score 5.5: local, low complexity, low privileges, availability high.
Likely exposure
Exposure appears limited to Linux kernels in the affected version or commit lineage that include this driver. The source bundle lists Linux 6.13 through 6.13.2 and 6.14 as affected, plus kernel commit lineage details. Confirm vendor backports before judging exposure.
Exploitation context
The provided sources do not show active exploitation, public exploit code, or KEV listing. The CVSS vector requires local access with low privileges and no user interaction. Expected attacker outcome is local denial of service, not data theft or privilege escalation, based on the supplied impact data.
Researcher notes
Key uncertainty is real-world reach: the bundle names Linux kernel versions and stable commits but does not identify distributions, configurations, or affected hardware deployments. Validate driver presence and vendor backport status before counting assets as vulnerable.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Track distribution advisories for backported Linux kernel packages.
Prioritize systems running affected kernel versions with this driver present.
If maintaining kernels, review the referenced stable commits for backport suitability.
Validation and detection
Inventory Linux kernel versions across affected assets.
Confirm whether the pxa1908-apbcp clock driver is included in builds.
Check vendor changelogs for the referenced stable commit IDs.
Verify source or package metadata shows the NULL check fix.
Document systems where vendor backport status is unclear.
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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.