Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected df69ba43217d3cf4215c83c0627ce98a26e56e7c before c177dd465f5c1e5f242cdb9258826c591c257e9a; affected df69ba43217d3cf4215c83c0627ce98a26e56e7c before 0d02efe7f25158c93146e3bb827bc7bb3cd5e71a; affected df69ba43217d3cf4215c83c0627ce98a26e56e7c before 5325f50de5b1433b27dda7ccff5cb7283722a3f1; affected df69ba43217d3cf4215c83c0627ce98a26e56e7c before 0020c16c8af7f4bc9503a2088fb30793b6771fac; affected df69ba43217d3cf4215c83c0627ce98a26e56e7c before 4a54903ff68ddb33b6463c94b4eb37fc584ef760 |
| Linux / Linux | affected 5.4; unaffected 0 before 5.4; unaffected 5.15.112 through 5.15.*; unaffected 6.1.29 through 6.1.*; unaffected 6.2.16 through 6.2.*; unaffected 6.3.3 through 6.3.*; unaffected 6.4 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c177dd465f5c1e5f242cdb9258826c591c257e9a
- https://git.kernel.org/stable/c/0d02efe7f25158c93146e3bb827bc7bb3cd5e71a
- https://git.kernel.org/stable/c/5325f50de5b1433b27dda7ccff5cb7283722a3f1
- https://git.kernel.org/stable/c/0020c16c8af7f4bc9503a2088fb30793b6771fac
- https://git.kernel.org/stable/c/4a54903ff68ddb33b6463c94b4eb37fc584ef760