CVE-2025-68302
net: sxgbe: fix potential NULL dereference in sxgbe_rx()
Check your servers for CVE-2025-68302
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68302 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.49%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 43.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1edb9ca69e8a7988900fc0283e10550b5592164d, before ac171c3c755499c9f87fe30b920602255f8b5648 affected from 1edb9ca69e8a7988900fc0283e10550b5592164d, before 18ef3ad1bb57dcf1a9ee61736039aedccf670b21 affected from 1edb9ca69e8a7988900fc0283e10550b5592164d, before 46e5332126596a2ca791140feab18ce1fc1a3c86 affected from 1edb9ca69e8a7988900fc0283e10550b5592164d, before 7fd789d6ea4915034eb6bcb72f6883c8151083e5 affected from 1edb9ca69e8a7988900fc0283e10550b5592164d, before 45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc affected from 1edb9ca69e8a7988900fc0283e10550b5592164d, before 88f46c0be77bfe45830ac33102c75be7c34ac3f3 affected from 1edb9ca69e8a7988900fc0283e10550b5592164d, before f5bce28f6b9125502abec4a67d68eabcd24b3b17
Other versions: unaffected
|
| Linux |
affected 3.15 unaffected before 3.15 unaffected from 5.10.247 up to and including 5.10.* unaffected from 5.15.197 up to and including 5.15.* unaffected from 6.1.159 up to and including 6.1.* unaffected from 6.6.119 up to and including 6.6.* unaffected from 6.12.61 up to and including 6.12.* unaffected from 6.17.11 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68302 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68302
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68302
trivy image --scanners vuln IMAGE | grep CVE-2025-68302
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ac171c3c755499c9f87fe30b920602255f8b5648 git.kernel.org
- https://git.kernel.org/stable/c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21 git.kernel.org
- https://git.kernel.org/stable/c/46e5332126596a2ca791140feab18ce1fc1a3c86 git.kernel.org
- https://git.kernel.org/stable/c/7fd789d6ea4915034eb6bcb72f6883c8151083e5 git.kernel.org
- https://git.kernel.org/stable/c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc git.kernel.org
- https://git.kernel.org/stable/c/88f46c0be77bfe45830ac33102c75be7c34ac3f3 git.kernel.org
- https://git.kernel.org/stable/c/f5bce28f6b9125502abec4a67d68eabcd24b3b17 git.kernel.org
Source: the record CVE-2025-68302 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse