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.
INFO
Published Date :
Dec. 16, 2025, 4:16 p.m.
Last Modified :
Dec. 16, 2025, 4:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the kernel patch to fix the NULL dereference.
- Ensure skb is checked before dereferencing.
- Add a break statement after error handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-68302.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-68302 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-68302
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-68302 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-68302 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 16, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21 Added Reference https://git.kernel.org/stable/c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc Added Reference https://git.kernel.org/stable/c/46e5332126596a2ca791140feab18ce1fc1a3c86 Added Reference https://git.kernel.org/stable/c/7fd789d6ea4915034eb6bcb72f6883c8151083e5 Added Reference https://git.kernel.org/stable/c/88f46c0be77bfe45830ac33102c75be7c34ac3f3 Added Reference https://git.kernel.org/stable/c/ac171c3c755499c9f87fe30b920602255f8b5648 Added Reference https://git.kernel.org/stable/c/f5bce28f6b9125502abec4a67d68eabcd24b3b17