serial: Fix potential null-ptr-deref in mlb_usio_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ba44dc04300441b47618f9933bf36e75a280e5fe · < c23d87b43f7dba5eb12820f6cf21a1cd4f63eb3d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
serial: Fix potential null-ptr-deref in mlb_usio_probe()
devm_ioremap() can return NULL on error. Currently, mlb_usio_probe() does not check for this case, which could result in a NULL pointer dereference.
Add NULL check after devm_ioremap() to prevent this issue.
From the CVE record · Linux
The Linux kernel's mlb_usio_probe() does not check whether devm_ioremap() returns NULL on error. If that mapping fails, the code could dereference a NULL pointer and crash. The input does not establish how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the mlb_usio_probe() fix; affected versions were not specified.