ionic: catch failure from devlink_alloc
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ionic: catch failure from devlink_alloc
Add a check for NULL on the alloc return. If devlink_alloc() fails and we try to use devlink_priv() on the NULL return, the kernel gets very unhappy and panics. With this fix, the driver load will still fail, but at least it won't panic the kernel.
From the CVE record · Linux
The Linux kernel's ionic driver can panic if devlink_alloc() fails and the driver then calls devlink_priv() on the NULL result. This occurs during driver load; the input does not establish an attacker path, authentication requirement, or user-interaction requirement.
Teams running Linux kernels with the ionic driver should check their exposure; affected versions are not specified.