{"id":"CVE-2025-68302","state":"PUBLISHED","title":"net: sxgbe: fix potential NULL dereference in sxgbe_rx()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sxgbe: fix potential NULL dereference in sxgbe_rx()\n\nCurrently, when skb is null, the driver prints an error and then\ndereferences skb on the next line.\n\nTo fix this, let's add a 'break' after the error message to switch\nto sxgbe_rx_refill(), which is similar to the approach taken by the\nother drivers in this particular case, e.g. calxeda with xgmac_rx().\n\nFound during a code review.","publishedAt":"2025-12-16T15:06:20.420Z","updatedAt":"2026-08-05T12:10:43.401Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"ac171c3c755499c9f87fe30b920602255f8b5648","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"18ef3ad1bb57dcf1a9ee61736039aedccf670b21","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"46e5332126596a2ca791140feab18ce1fc1a3c86","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"7fd789d6ea4915034eb6bcb72f6883c8151083e5","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"88f46c0be77bfe45830ac33102c75be7c34ac3f3","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"f5bce28f6b9125502abec4a67d68eabcd24b3b17","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.15","versionType":"semver"},{"version":"5.10.247","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.197","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.159","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.119","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.61","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.11","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c"]}],"references":["https://git.kernel.org/stable/c/ac171c3c755499c9f87fe30b920602255f8b5648","https://git.kernel.org/stable/c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21","https://git.kernel.org/stable/c/46e5332126596a2ca791140feab18ce1fc1a3c86","https://git.kernel.org/stable/c/7fd789d6ea4915034eb6bcb72f6883c8151083e5","https://git.kernel.org/stable/c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc","https://git.kernel.org/stable/c/88f46c0be77bfe45830ac33102c75be7c34ac3f3","https://git.kernel.org/stable/c/f5bce28f6b9125502abec4a67d68eabcd24b3b17"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68302.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68302","state":"PUBLISHED","datePublished":"2025-12-16T15:06:20.420Z","dateUpdated":"2026-08-05T12:10:43.401Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T14:48:05.293Z"},"containers":{"cna":{"title":"net: sxgbe: fix potential NULL dereference in sxgbe_rx()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sxgbe: fix potential NULL dereference in sxgbe_rx()\n\nCurrently, when skb is null, the driver prints an error and then\ndereferences skb on the next line.\n\nTo fix this, let's add a 'break' after the error message to switch\nto sxgbe_rx_refill(), which is similar to the approach taken by the\nother drivers in this particular case, e.g. calxeda with xgmac_rx().\n\nFound during a code review."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"ac171c3c755499c9f87fe30b920602255f8b5648","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"18ef3ad1bb57dcf1a9ee61736039aedccf670b21","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"46e5332126596a2ca791140feab18ce1fc1a3c86","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"7fd789d6ea4915034eb6bcb72f6883c8151083e5","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"88f46c0be77bfe45830ac33102c75be7c34ac3f3","versionType":"git"},{"version":"1edb9ca69e8a7988900fc0283e10550b5592164d","status":"affected","lessThan":"f5bce28f6b9125502abec4a67d68eabcd24b3b17","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.15","versionType":"semver"},{"version":"5.10.247","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.197","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.159","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.119","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.61","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.11","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ac171c3c755499c9f87fe30b920602255f8b5648"},{"url":"https://git.kernel.org/stable/c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21"},{"url":"https://git.kernel.org/stable/c/46e5332126596a2ca791140feab18ce1fc1a3c86"},{"url":"https://git.kernel.org/stable/c/7fd789d6ea4915034eb6bcb72f6883c8151083e5"},{"url":"https://git.kernel.org/stable/c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc"},{"url":"https://git.kernel.org/stable/c/88f46c0be77bfe45830ac33102c75be7c34ac3f3"},{"url":"https://git.kernel.org/stable/c/f5bce28f6b9125502abec4a67d68eabcd24b3b17"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - Unauthenticated network traffic is processed by the SXGBE hardware receive ring before any protocol authentication, and routed packets can reach the affected NIC without requiring local or adjacent access.\nAC:L - A sustained packet flood can drive GFP_ATOMIC RX-buffer allocation failures and advance the receive cursor to the resulting dirty descriptor; the attacker controls and can repeatedly generate the required traffic.\nPR:N - The vulnerable receive path runs before authentication or privilege checks, so the remote sender requires no account, capability, or other privileges on the target.\nUI:N - Exploitation requires only delivery of network traffic to an active SXGBE interface and does not depend on any user action.\nS:U - The NULL dereference affects the same host kernel and does not cross a virtualization, IOMMU, or other distinct security boundary.\nC:N - The defect dereferences a NULL skb pointer and provides no attacker-controlled out-of-bounds read, use-after-free, or information-disclosure primitive.\nI:N - The defect is a pure NULL-pointer dereference with no attacker-controlled memory corruption, arbitrary write, or data-modification primitive.\nA:H - The NULL dereference occurs in the kernel NAPI receive path and can cause an oops or kernel panic, producing complete loss of availability."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:10:43.401Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.10.247"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"5.15.197"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.1.159"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.6.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.12.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.17.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.15","versionEndExcluding":"6.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}