Bug 2435666 (CVE-2026-23019) - CVE-2026-23019 kernel: net: marvell: prestera: fix NULL dereference on devlink_alloc() failure
Summary: CVE-2026-23019 kernel: net: marvell: prestera: fix NULL dereference on devlin...
Keywords:
Status: NEW
Alias: CVE-2026-23019
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-31 12:02 UTC by OSIDB Bzimport
Modified: 2026-02-02 09:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-31 12:02:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.