{"id":"CVE-2026-64118","title":"qed: fix double free in qed_cxt_tables_alloc()","summary":"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 previ…","severity":"high","cvss":8.4,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 9fe030719bd083b766602692ee96c8c985798e3c","Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227","Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb","Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684","Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < bdf678a273cadbccc347f331ae2e93ff4d14834c","Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 0e47fc1c9181ae029e0e35a865cbf2adcbae626c","Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < a04c207f0801abdd23a169b5f902a9845059a65a","Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 2bccfb8476ca5f3548afbd623dc7a6980d4e77de","Linux 4.4"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:36:40.630775Z"},"published":"2026-07-19","updated":"2026-10-16","sourceUpdated":"2026-10-16T15:42:23.936Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-64118","references":[{"url":"https://git.kernel.org/stable/c/9fe030719bd083b766602692ee96c8c985798e3c"},{"url":"https://git.kernel.org/stable/c/06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227"},{"url":"https://git.kernel.org/stable/c/8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb"},{"url":"https://git.kernel.org/stable/c/3904b993cc17ec5d7c5d3b57dbd0b775dafb9684"},{"url":"https://git.kernel.org/stable/c/bdf678a273cadbccc347f331ae2e93ff4d14834c"},{"url":"https://git.kernel.org/stable/c/0e47fc1c9181ae029e0e35a865cbf2adcbae626c"},{"url":"https://git.kernel.org/stable/c/a04c207f0801abdd23a169b5f902a9845059a65a"},{"url":"https://git.kernel.org/stable/c/2bccfb8476ca5f3548afbd623dc7a6980d4e77de"}],"tags":["cve.org"],"epss":0.00152,"epssPercentile":0.03939,"ingestedAt":"2026-10-16T17:24:46.806Z","slug":"CVE-2026-64118","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 9fe030719bd083b766602692ee96c8c985798e3c`\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227`\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb`\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684`\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < bdf678a273cadbccc347f331ae2e93ff4d14834c`\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 0e47fc1c9181ae029e0e35a865cbf2adcbae626c`\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < a04c207f0801abdd23a169b5f902a9845059a65a`\n- `Linux >= fe56b9e6a8d957d6a20729d626027f800c17a2da < 2bccfb8476ca5f3548afbd623dc7a6980d4e77de`\n- `Linux 4.4`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":46,"depthScoreParts":{"impact":46.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}