CVE-2026-23019

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

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 8a4333b2818f0d853b43e139936c20659366e4a0 ; affected 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 325aea74be7e192b5c947c782da23b0d19a5fda2 ; affected 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 94e070cd50790317fba7787ae6006934b7edcb6f ; affected 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 3950054c9512add0cc79ab7e72b6d2f9f675e25b ; affected 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < 326a4b7e61d01db3507f71c8bb5e85362f607064 ; affected 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 < a428e0da1248c353557970848994f35fd3f005e2
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.161 ≤ 6.1.* ; unaffected 6.6.121 ≤ 6.6.* ; unaffected 6.12.66 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD