CVE-2024-58066Published Mar 6, 2025 · Mar 6Updated Oct 28
clk: mmp: pxa1908-apbcp: Fix a 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-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.
From the CVE record · Linux
The pxa1908-apbcp clock driver checks a devm_kzalloc() failure as though it returns an error pointer, but the function returns NULL. The input does not specify what an attacker could do or whether exploitation requires network access, authentication, local access, or user interaction.
Engineers running the Linux kernel should check whether their kernel includes the affected pxa1908-apbcp driver; affected versions were not provided.