{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2025-68302",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2025-68302"
  ],
  "published": "2025-12-16T15:06:57Z",
  "summary": "net: sxgbe: fix potential NULL dereference in sxgbe_rx()",
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.159",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-68302"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ac171c3c755499c9f87fe30b920602255f8b5648"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/18ef3ad1bb57dcf1a9ee61736039aedccf670b21"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/46e5332126596a2ca791140feab18ce1fc1a3c86"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7fd789d6ea4915034eb6bcb72f6883c8151083e5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/45b5b4ddb8d6bea5fc1625ff6f163bbb125d49cc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/88f46c0be77bfe45830ac33102c75be7c34ac3f3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f5bce28f6b9125502abec4a67d68eabcd24b3b17"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T12:19:11Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.5,
      "cvss_v3_severity": "High",
      "scenario": "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."
    }
  }
}
