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.
Product status
1edb9ca69e8a7988900fc0283e10550b5592164d (git) before ac171c3c755499c9f87fe30b920602255f8b5648
1edb9ca69e8a7988900fc0283e10550b5592164d (git) before 18ef3ad1bb57dcf1a9ee61736039aedccf670b21
1edb9ca69e8a7988900fc0283e10550b5592164d (git) before 46e5332126596a2ca791140feab18ce1fc1a3c86
1edb9ca69e8a7988900fc0283e10550b5592164d (git) before 7fd789d6ea4915034eb6bcb72f6883c8151083e5
1edb9ca69e8a7988900fc0283e10550b5592164d (git) before 45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc
1edb9ca69e8a7988900fc0283e10550b5592164d (git) before 88f46c0be77bfe45830ac33102c75be7c34ac3f3
1edb9ca69e8a7988900fc0283e10550b5592164d (git) before f5bce28f6b9125502abec4a67d68eabcd24b3b17
3.15
Any version before 3.15
5.10.247 (semver)
5.15.197 (semver)
6.1.159 (semver)
6.6.119 (semver)
6.12.61 (semver)
6.17.11 (semver)
6.18 (original_commit_for_fix)
References
git.kernel.org/...c/ac171c3c755499c9f87fe30b920602255f8b5648
git.kernel.org/...c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21
git.kernel.org/...c/46e5332126596a2ca791140feab18ce1fc1a3c86
git.kernel.org/...c/7fd789d6ea4915034eb6bcb72f6883c8151083e5
git.kernel.org/...c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc
git.kernel.org/...c/88f46c0be77bfe45830ac33102c75be7c34ac3f3
git.kernel.org/...c/f5bce28f6b9125502abec4a67d68eabcd24b3b17
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.