Bug 2422839 (CVE-2025-68302) - CVE-2025-68302 kernel: net: sxgbe: fix potential NULL dereference in sxgbe_rx()
Summary: CVE-2025-68302 kernel: net: sxgbe: fix potential NULL dereference in sxgbe_rx()
Keywords:
Status: NEW
Alias: CVE-2025-68302
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-16 16:05 UTC by OSIDB Bzimport
Modified: 2025-12-16 17:20 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-16 16:05:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.