{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2025-68759",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2025-68759"
  ],
  "published": "2026-01-05T09:32:59Z",
  "summary": "wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()\n\nIn rtl8180_init_rx_ring(), memory is allocated for skb packets and DMA\nallocations in a loop. When an allocation fails, the previously\nsuccessful allocations are not freed on exit.\n\nFix that by jumping to err_free_rings label on error, which calls\nrtl8180_free_rx_ring() to free the allocations. Remove the free of\nrx_ring in rtl8180_init_rx_ring() error path, and set the freed\npriv->rx_buf entry to null, to avoid double free.",
  "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.160",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-68759"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3677c01891fb0239361e444afee8398868e34bdf"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/89caaeee8dd95fae8bb4f4964e6fe3ca688500c4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a4fb7cca9837378878e6c94d9e7af019c8fdfcdb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bf8513dfa31ea015c9cf415796dca2113d293840"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ee7db11742b30641f21306105ad27a275e3c61d7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a813a74570212cb5f3a7d3b05c0cb0cd00bace1d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c9d1c4152e6d32fa74034464854bee262a60bc43"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9b5b9c042b30befc5b37e4539ace95af70843473"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-05-12T04:54:46Z"
  }
}
