5.5

CVE-2026-23019

net: marvell: prestera: fix NULL dereference on devlink_alloc() failure

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 5.10.1 < 5.15.198
LinuxLinux Kernel Version >= 5.16 < 6.1.161
LinuxLinux Kernel Version >= 6.2 < 6.6.121
LinuxLinux Kernel Version >= 6.7 < 6.12.66
LinuxLinux Kernel Version >= 6.13 < 6.18.6
LinuxLinux Kernel Version5.10 Update-
LinuxLinux Kernel Version6.19 Updaterc1
LinuxLinux Kernel Version6.19 Updaterc2
LinuxLinux Kernel Version6.19 Updaterc3
LinuxLinux Kernel Version6.19 Updaterc4
LinuxLinux Kernel Version6.19 Updaterc5
LinuxLinux Kernel Version6.19 Updaterc6
LinuxLinux Kernel Version6.19 Updaterc7
LinuxLinux Kernel Version6.19 Updaterc8
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.12% 0.018
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 NULL Pointer Dereference

The product dereferences a pointer that it expects to be valid but is NULL.

https://git.kernel.org/stable/c/8a4333b2818f0d853b43e139936c20659366e4a0
Patch
https://git.kernel.org/stable/c/325aea74be7e192b5c947c782da23b0d19a5fda2
Patch
https://git.kernel.org/stable/c/94e070cd50790317fba7787ae6006934b7edcb6f
Patch
https://git.kernel.org/stable/c/3950054c9512add0cc79ab7e72b6d2f9f675e25b
Patch
https://git.kernel.org/stable/c/326a4b7e61d01db3507f71c8bb5e85362f607064
Patch
https://git.kernel.org/stable/c/a428e0da1248c353557970848994f35fd3f005e2
Patch