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.
References (6)
Scores
CVSS v3
5.5
EPSS
0.0002
EPSS Percentile
4.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (22)
linux/Kernel
5.10.0 - 5.15.198linux
linux/Kernel
5.16.0 - 6.1.161linux
linux/Kernel
6.13.0 - 6.18.6linux
linux/Kernel
6.2.0 - 6.6.121linux
linux/Kernel
6.7.0 - 6.12.66linux
Linux/Linux
< 5.10
Linux/Linux
34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 - 325aea74be7e192b5c947c782da23b0d19a5fda2
Linux/Linux
34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 - 326a4b7e61d01db3507f71c8bb5e85362f607064
Linux/Linux
34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 - 3950054c9512add0cc79ab7e72b6d2f9f675e25b
Linux/Linux
34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 - 8a4333b2818f0d853b43e139936c20659366e4a0
... and 12 more
Published
Jan 31, 2026
Tracked Since
Feb 18, 2026