CVE-2025-68302

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

State
Published
Severity
7.5 High
Published
Dec 16, 2025
Updated
Aug 5, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to before ac171c3c755499c9f87fe30b920602255f8b5648Affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to before 18ef3ad1bb57dcf1a9ee61736039aedccf670b21Affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to before 46e5332126596a2ca791140feab18ce1fc1a3c86Affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to before 7fd789d6ea4915034eb6bcb72f6883c8151083e5Affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to before 45b5b4ddb8d6bea5fc1625ff6f163bbb125d49ccAffected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to before 88f46c0be77bfe45830ac33102c75be7c34ac3f3Affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to before f5bce28f6b9125502abec4a67d68eabcd24b3b17Affected
LinuxLinux
  • 3.15Affected
  • before 3.15Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.119 through 6.6.*Not affected
  • 6.12.61 through 6.12.*Not affected
  • 6.17.11 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.