CVE-2026-23019
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 8a4333b2818f0d853b43e139936c20659366e4a0 | affected |
| Linux | Linux | 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 325aea74be7e192b5c947c782da23b0d19a5fda2 | affected |
| Linux | Linux | 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 94e070cd50790317fba7787ae6006934b7edcb6f | affected |
| Linux | Linux | 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 3950054c9512add0cc79ab7e72b6d2f9f675e25b | affected |
| Linux | Linux | 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 326a4b7e61d01db3507f71c8bb5e85362f607064 | affected |
| Linux | Linux | 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < a428e0da1248c353557970848994f35fd3f005e2 | affected |
| Linux | Linux | 5.10 | affected |
| Linux | Linux | 0 < 5.10 | unaffected |
| Linux | Linux | 5.15.198 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.161 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.121 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.66 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.6 <= 6.18.* | unaffected |
| Linux | Linux | 6.19 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/8a4333b2818f0d853b43e139936c20659366e4a0
- https://git.kernel.org/stable/c/325aea74be7e192b5c947c782da23b0d19a5fda2
- https://git.kernel.org/stable/c/94e070cd50790317fba7787ae6006934b7edcb6f
- https://git.kernel.org/stable/c/3950054c9512add0cc79ab7e72b6d2f9f675e25b
- https://git.kernel.org/stable/c/326a4b7e61d01db3507f71c8bb5e85362f607064
- https://git.kernel.org/stable/c/a428e0da1248c353557970848994f35fd3f005e2
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.