A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: marvell: prestera: fix NULL dereference on devlink_alloc() failure
devlink_alloc() may return NULL on allocation failure, but prestera_devlink_alloc() unconditionally calls devlink_priv() on the returned pointer.
This leads to a NULL pointer dereference if devlink allocation fails. Add a check for a NULL devlink pointer and return NULL early to avoid the crash.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/325aea74be7e192b5c947c782da23b0d19a5fda2
- git.kernel.org /stable/c/326a4b7e61d01db3507f71c8bb5e85362f607064
- git.kernel.org /stable/c/3950054c9512add0cc79ab7e72b6d2f9f675e25b
- git.kernel.org /stable/c/8a4333b2818f0d853b43e139936c20659366e4a0
- git.kernel.org /stable/c/94e070cd50790317fba7787ae6006934b7edcb6f
- git.kernel.org /stable/c/a428e0da1248c353557970848994f35fd3f005e2
- cert-portal.siemens.com /productcert/html/ssa-019113.html
- cert-portal.siemens.com /productcert/html/ssa-457936.html
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning