NULL pointer dereference in Linux
CVE-2026-23019
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.001, 3.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, 5.10, 0
- Linux Kernel — versions 5.10, 6.19
Weakness classification (CWE)
References
- git.kernel.org/stable/c/8a4333b2818f0d853b43e139936c20659366e4a0 (Patch)
- git.kernel.org/stable/c/325aea74be7e192b5c947c782da23b0d19a5fda2 (Patch)
- git.kernel.org/stable/c/94e070cd50790317fba7787ae6006934b7edcb6f (Patch)
- git.kernel.org/stable/c/3950054c9512add0cc79ab7e72b6d2f9f675e25b (Patch)
- git.kernel.org/stable/c/326a4b7e61d01db3507f71c8bb5e85362f607064 (Patch)
- git.kernel.org/stable/c/a428e0da1248c353557970848994f35fd3f005e2 (Patch)
- cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com/productcert/html/ssa-457936.html