# CVE-2024-58065: clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-03-06T15:54:06.659Z
- Modified: 2026-06-17T08:14:33.110Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check

The devm_kzalloc() function returns NULL on error, not error pointers.
Fix the check.

(As written by CVE List.)

## Affected

- Linux Linux: from 51ce5591927389985451c0875f576701664f0a38 before 6628f7f88de5f65f01adef5a63c707cb49d0fddb; from 51ce5591927389985451c0875f576701664f0a38 before e5ca5d7b4d7c29246d957dc45d63610584ae3a54; 6.13 (not affected: before 6.13; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.13 before 6.13.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6628f7f88de5f65f01adef5a63c707cb49d0fddb> (patch)
- <https://git.kernel.org/stable/c/e5ca5d7b4d7c29246d957dc45d63610584ae3a54> (patch)

## Sources

- CVE List: [CVE-2024-58065](https://www.cve.org/CVERecord?id=CVE-2024-58065), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-58065](https://nvd.nist.gov/vuln/detail/CVE-2024-58065), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-58065 · Whole record: https://cve.day/CVE-2024-58065.json · Rebuilt by cve.day 2026-11-25T22:58:52.214Z
