{"api_version":"1","generated_at":"2026-07-20T14:43:31+00:00","cve":"CVE-2026-64118","urls":{"html":"https://cve.report/CVE-2026-64118","api":"https://cve.report/api/cve/CVE-2026-64118.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64118","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64118"},"summary":{"title":"qed: fix double free in qed_cxt_tables_alloc()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-19 16:17:53","updated_at":"2026-07-19 16:17:53"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/3904b993cc17ec5d7c5d3b57dbd0b775dafb9684","name":"https://git.kernel.org/stable/c/3904b993cc17ec5d7c5d3b57dbd0b775dafb9684","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2bccfb8476ca5f3548afbd623dc7a6980d4e77de","name":"https://git.kernel.org/stable/c/2bccfb8476ca5f3548afbd623dc7a6980d4e77de","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a04c207f0801abdd23a169b5f902a9845059a65a","name":"https://git.kernel.org/stable/c/a04c207f0801abdd23a169b5f902a9845059a65a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bdf678a273cadbccc347f331ae2e93ff4d14834c","name":"https://git.kernel.org/stable/c/bdf678a273cadbccc347f331ae2e93ff4d14834c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227","name":"https://git.kernel.org/stable/c/06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb","name":"https://git.kernel.org/stable/c/8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9fe030719bd083b766602692ee96c8c985798e3c","name":"https://git.kernel.org/stable/c/9fe030719bd083b766602692ee96c8c985798e3c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0e47fc1c9181ae029e0e35a865cbf2adcbae626c","name":"https://git.kernel.org/stable/c/0e47fc1c9181ae029e0e35a865cbf2adcbae626c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64118","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64118","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da 9fe030719bd083b766602692ee96c8c985798e3c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da 06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da 8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da 3904b993cc17ec5d7c5d3b57dbd0b775dafb9684 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da bdf678a273cadbccc347f331ae2e93ff4d14834c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da 0e47fc1c9181ae029e0e35a865cbf2adcbae626c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da a04c207f0801abdd23a169b5f902a9845059a65a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe56b9e6a8d957d6a20729d626027f800c17a2da 2bccfb8476ca5f3548afbd623dc7a6980d4e77de git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.259 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.210 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.175 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.142 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.92 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.34 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.11 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/qlogic/qed/qed_cxt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9fe030719bd083b766602692ee96c8c985798e3c","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"},{"lessThan":"06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"},{"lessThan":"8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"},{"lessThan":"3904b993cc17ec5d7c5d3b57dbd0b775dafb9684","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"},{"lessThan":"bdf678a273cadbccc347f331ae2e93ff4d14834c","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"},{"lessThan":"0e47fc1c9181ae029e0e35a865cbf2adcbae626c","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"},{"lessThan":"a04c207f0801abdd23a169b5f902a9845059a65a","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"},{"lessThan":"2bccfb8476ca5f3548afbd623dc7a6980d4e77de","status":"affected","version":"fe56b9e6a8d957d6a20729d626027f800c17a2da","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/qlogic/qed/qed_cxt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.4"},{"lessThan":"4.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.259","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.210","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.175","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.142","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.92","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.34","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.259","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.210","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.175","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.142","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.92","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.34","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"4.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-07-19T15:40:17.643Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}],"title":"qed: fix double free in qed_cxt_tables_alloc()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64118","datePublished":"2026-07-19T15:40:17.643Z","dateReserved":"2026-07-19T07:54:57.035Z","dateUpdated":"2026-07-19T15:40:17.643Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-19 16:17:53","lastModifiedDate":"2026-07-19 16:17:53","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64118","Ordinal":"1","Title":"qed: fix double free in qed_cxt_tables_alloc()","CVE":"CVE-2026-64118","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64118","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"qed: fix double free in qed_cxt_tables_alloc()"}]}}}