{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1241c5650ff7a0236cebb89acca8aade48839fd6"
            },
            {
              "fixed": "95c82d498d74c4e587db30021ca1aec90e29b5a5"
            },
            {
              "fixed": "32d7584441b9ecb279a03653b432612546e5efbe"
            },
            {
              "fixed": "dd7b6a8671939708cc4b7a46786d8c11297e8f69"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.34"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64145.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: fix dma_buffer leak on bus acquire failure\n\nwilc_wlan_firmware_download() allocates dma_buffer with kmalloc() at\nthe top of the function and uses a 'fail:' label to free it via\nkfree(dma_buffer) on error.\n\nAll later error paths correctly use 'goto fail' to route through this\ncleanup. However, the early failure path after the first acquire_bus()\ncall uses a bare 'return ret;', which leaks dma_buffer whenever the bus\nacquire fails.\n\nReplace the early return with goto fail so the existing cleanup path\nruns.\n\nFound via a custom Coccinelle semantic patch hunting for kmalloc'd\nlocals leaked on early-return error paths in driver firmware-download\ncode.",
  "id": "CVE-2026-64145",
  "modified": "2026-08-19T03:31:09.533602085Z",
  "published": "2026-07-19T15:40:36.767Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/32d7584441b9ecb279a03653b432612546e5efbe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/95c82d498d74c4e587db30021ca1aec90e29b5a5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dd7b6a8671939708cc4b7a46786d8c11297e8f69"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64145.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64145"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "wifi: wilc1000: fix dma_buffer leak on bus acquire failure"
}