# CVE-2025-68302: net: sxgbe: fix potential NULL dereference in sxgbe_rx()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-12-16T15:06:20.420Z
- Modified: 2026-10-13T19:10:00.193Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1edb9ca69e8a7988900fc0283e10550b5592164d before ac171c3c755499c9f87fe30b920602255f8b5648; from 1edb9ca69e8a7988900fc0283e10550b5592164d before 18ef3ad1bb57dcf1a9ee61736039aedccf670b21; from 1edb9ca69e8a7988900fc0283e10550b5592164d before 46e5332126596a2ca791140feab18ce1fc1a3c86; from 1edb9ca69e8a7988900fc0283e10550b5592164d before 7fd789d6ea4915034eb6bcb72f6883c8151083e5; from 1edb9ca69e8a7988900fc0283e10550b5592164d before 45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc; from 1edb9ca69e8a7988900fc0283e10550b5592164d before 88f46c0be77bfe45830ac33102c75be7c34ac3f3; from 1edb9ca69e8a7988900fc0283e10550b5592164d before f5bce28f6b9125502abec4a67d68eabcd24b3b17; 3.15 (not affected: before 3.15; from 5.10.247 up to 5.10.*; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.119 up to 6.6.*; from 6.12.61 up to 6.12.*; from 6.17.11 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/ac171c3c755499c9f87fe30b920602255f8b5648>
- <https://git.kernel.org/stable/c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21>
- <https://git.kernel.org/stable/c/46e5332126596a2ca791140feab18ce1fc1a3c86>
- <https://git.kernel.org/stable/c/7fd789d6ea4915034eb6bcb72f6883c8151083e5>
- <https://git.kernel.org/stable/c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc>
- <https://git.kernel.org/stable/c/88f46c0be77bfe45830ac33102c75be7c34ac3f3>
- <https://git.kernel.org/stable/c/f5bce28f6b9125502abec4a67d68eabcd24b3b17>

## Sources

- CVE List: [CVE-2025-68302](https://www.cve.org/CVERecord?id=CVE-2025-68302), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-68302](https://nvd.nist.gov/vuln/detail/CVE-2025-68302), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-68302 · Whole record: https://cve.day/CVE-2025-68302.json · Rebuilt by cve.day 2026-11-25T22:59:09.534Z
