CVE-2024-58022Published Feb 27, 2025 · Feb 27Updated Oct 28
mailbox: th1520: Fix a NULL vs IS_ERR() bug
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:
mailbox: th1520: Fix a NULL vs IS_ERR() bug
The devm_ioremap() function doesn't return error pointers, it returns NULL. Update the error checking to match.
From the CVE record · Linux
The Linux kernel’s th1520 mailbox component incorrectly checks the return value of devm_ioremap(), which returns NULL on failure rather than an error pointer. The input does not establish what an attacker could do or specify network, authentication, or user-interaction conditions.
Engineers running Linux kernels with the th1520 mailbox component should check their kernel version; affected versions are not specified.