Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-68302

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1edb9ca69e8a7988900fc0283e10550b5592164d to < ac171c3c755499c9f87fe30b920602255f8b5648affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to < 18ef3ad1bb57dcf1a9ee61736039aedccf670b21affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to < 46e5332126596a2ca791140feab18ce1fc1a3c86affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to < 7fd789d6ea4915034eb6bcb72f6883c8151083e5affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to < 45b5b4ddb8d6bea5fc1625ff6f163bbb125d49ccaffected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to < 88f46c0be77bfe45830ac33102c75be7c34ac3f3affected
  • 1edb9ca69e8a7988900fc0283e10550b5592164d to < f5bce28f6b9125502abec4a67d68eabcd24b3b17affected

Linux Linux

Default version status: affected

  • 3.15affected
  • 0 to < 3.15unaffected
  • 5.10.247 to ≤ 5.10.*unaffected
  • 5.15.197 to ≤ 5.15.*unaffected
  • 6.1.159 to ≤ 6.1.*unaffected
  • 6.6.119 to ≤ 6.6.*unaffected
  • 6.12.61 to ≤ 6.12.*unaffected
  • 6.17.11 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References