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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, < 8a4333b2818f0d853b43e139936c20659366e4a0; >= 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, < 325aea74be7e192b5c947c782da23b0d19a5fda2; >= 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, < 94e070cd50790317fba7787ae6006934b7edcb6f; >= 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, < 3950054c9512add0cc79ab7e72b6d2f9f675e25b; >= 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, < 326a4b7e61d01db3507f71c8bb5e85362f607064; >= 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, < a428e0da1248c353557970848994f35fd3f005e2 |
| Linux | Linux | 5.10 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.6, < * |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.7, < * |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.6, < * |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.7, < * |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.6, < * |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.7, < * |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.6, < * |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.7, < * |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.6, < * |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.7, < * |
References
- https://git.kernel.org/stable/c/325aea74be7e192b5c947c782da23b0d19a5fda2Patch
- https://git.kernel.org/stable/c/326a4b7e61d01db3507f71c8bb5e85362f607064Patch
- https://git.kernel.org/stable/c/3950054c9512add0cc79ab7e72b6d2f9f675e25bPatch
- https://git.kernel.org/stable/c/8a4333b2818f0d853b43e139936c20659366e4a0Patch
- https://git.kernel.org/stable/c/94e070cd50790317fba7787ae6006934b7edcb6fPatch
- https://git.kernel.org/stable/c/a428e0da1248c353557970848994f35fd3f005e2Patch
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
Timeline
- Published
- Jan 31, 2026
- Last modified
- Nov 10, 2026
- NVD status
- Modified