net: sxgbe: fix potential NULL dereference in sxgbe_rx() (Linux Linux)

CVE-2025-68302
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.46 % · centile 40 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: net: sxgbe: fix potential NULL dereference in sxgbe_rx() Currently, when skb is null, the driver prints an error and then dereferences skb on the next line. To fix this, let's add a 'break' after the error message to switch to sxgbe_rx_refill(), which is similar to the approach taken by the other drivers in this particular case, e.g. calxeda with xgmac_rx(). Found during a code review.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 1edb9ca69e8a7988900fc0283e10550b5592164d < ac171c3c755499c9f87fe30b920602255f8b5648 ; affected 1edb9ca69e8a7988900fc0283e10550b5592164d < 18ef3ad1bb57dcf1a9ee61736039aedccf670b21 ; affected 1edb9ca69e8a7988900fc0283e10550b5592164d < 46e5332126596a2ca791140feab18ce1fc1a3c86 ; affected 1edb9ca69e8a7988900fc0283e10550b5592164d < 7fd789d6ea4915034eb6bcb72f6883c8151083e5 ; affected 1edb9ca69e8a7988900fc0283e10550b5592164d < 45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc ; affected 1edb9ca69e8a7988900fc0283e10550b5592164d < 88f46c0be77bfe45830ac33102c75be7c34ac3f3
Linux · Linuxaffected 3.15 ; unaffected 0 < 3.15 ; unaffected 5.10.247 ≤ 5.10.* ; unaffected 5.15.197 ≤ 5.15.* ; unaffected 6.1.159 ≤ 6.1.* ; unaffected 6.6.119 ≤ 6.6.*

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