What’s Vulnerable › Vulnerabilities

CVE-2026-23019: net: marvell: prestera: fix NULL dereference on devlink_alloc() failure

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.198, 6.1.161, 6.12.66, 6.18.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-23019 or the next vulnerability affects your stack