CVE-2024-58065Published Mar 6, 2025 · Mar 6Updated Oct 28
clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The pxa1908-apbc clock driver checks for an error pointer when devm_kzalloc() returns NULL on failure. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their builds include the pxa1908-apbc clock driver; affected versions are not specified.