{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fe56b9e6a8d957d6a20729d626027f800c17a2da"
            },
            {
              "fixed": "9fe030719bd083b766602692ee96c8c985798e3c"
            },
            {
              "fixed": "06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227"
            },
            {
              "fixed": "8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb"
            },
            {
              "fixed": "3904b993cc17ec5d7c5d3b57dbd0b775dafb9684"
            },
            {
              "fixed": "bdf678a273cadbccc347f331ae2e93ff4d14834c"
            },
            {
              "fixed": "0e47fc1c9181ae029e0e35a865cbf2adcbae626c"
            },
            {
              "fixed": "a04c207f0801abdd23a169b5f902a9845059a65a"
            },
            {
              "fixed": "2bccfb8476ca5f3548afbd623dc7a6980d4e77de"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.4.0"
            },
            {
              "fixed": "5.10.259"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.210"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.142"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.92"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "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-64118.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nqed: fix double free in qed_cxt_tables_alloc()\n\nIf one of the later PF or VF CID bitmap allocations fails,\nqed_cid_map_alloc() jumps to cid_map_fail and frees the previously\nallocated CID bitmaps before returning an error. qed_cxt_tables_alloc()\nthen calls qed_cxt_mngr_free(), which invokes qed_cid_map_free()\nagain.\n\nFix this by setting each CID bitmap pointer to NULL after bitmap_free()\nto avoid double free.\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing\nv6.13-rc1. The tool is still under development and is not yet publicly\navailable. Manual inspection confirms that the bug is still\npresent in v7.1-rc3.\n\nRuntime reproduction was not attempted because exercising the failing\nallocation path requires device-specific setup.",
  "id": "CVE-2026-64118",
  "modified": "2026-07-22T05:29:59.349456308Z",
  "published": "2026-07-19T15:40:17.643Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0e47fc1c9181ae029e0e35a865cbf2adcbae626c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2bccfb8476ca5f3548afbd623dc7a6980d4e77de"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3904b993cc17ec5d7c5d3b57dbd0b775dafb9684"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9fe030719bd083b766602692ee96c8c985798e3c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a04c207f0801abdd23a169b5f902a9845059a65a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bdf678a273cadbccc347f331ae2e93ff4d14834c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64118.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64118"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "qed: fix double free in qed_cxt_tables_alloc()"
}