CVE-2025-68302 net: sxgbe: fix potential NULL dereference in sxgbe_rx()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.15
해결 버전
- 3.15 미만
- 5.10.247 이상
- 5.15.197 이상
- 6.1.159 이상
- 6.6.119 이상
- 6.12.61 이상
- 6.17.11 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc (새 창)
- 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/88f46c0be77bfe45830ac33102c75be7c34ac3f3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ac171c3c755499c9f87fe30b920602255f8b5648 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f5bce28f6b9125502abec4a67d68eabcd24b3b17 (새 창)