Files
vuln-cve/data/2026/64xxx/CVE-2026-64118.json
T

310 lines
16 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-64118",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-07-19T07:54:57.035Z",
"datePublished": "2026-07-19T15:40:17.643Z",
"dateUpdated": "2026-10-19T20:28:13.114Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T12:39:27.598Z"
},
"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."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.4,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The vulnerable code runs only during PF driver resource initialization (probe or firmware-initiated recovery), reached via local kernel driver bring-up paths rather than network packet processing or remote protocol handlers.\nAC:L - An attacker who can influence system memory pressure (e.g., via local memory exhaustion) can reliably force `bitmap_zalloc()` failures during the multi-step CID bitmap allocation loop, and can also time this with firmware recovery reprobes that re-enter `qed_resc_alloc()`.\nPR:N - No local account or capability is strictly required if a remote attacker can induce firmware process-kill recovery on an internet-facing QED host, causing automatic re-execution of `qed_resc_alloc()` where post-incident memory pressure can trigger the failing allocation path.\nUI:N - Exploitation does not require any victim user action such as opening files or mounting filesystems; driver recovery and re-allocation occur automatically in kernel context once the error/recovery conditions are met.\nS:U - Impact is confined to kernel heap corruption and potential privilege escalation within the same kernel security boundary, not a cross-authority escape such as VM breakout or IOMMU bypass.\nC:H - A double-free of kmalloc-allocated CID bitmap objects corrupts the kernel slab allocator state, which is classically leverageable for arbitrary kernel memory disclosure through heap manipulation primitives.\nI:H - Slab double-free is a standard heap corruption primitive that can be developed into arbitrary kernel writes and control-flow hijacking, not merely a bounded or cosmetic modification.\nA:H - Double-free during driver initialization can cause immediate kernel oops/panic from allocator corruption, and repeated recovery attempts on production QED hardware can produce sustained denial of service."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/qlogic/qed/qed_cxt.c"
],
"versions": [
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "9fe030719bd083b766602692ee96c8c985798e3c",
"status": "affected",
"versionType": "git"
},
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "06fa8e69019fd3c41a7b0ea8c5f509c3a33dc227",
"status": "affected",
"versionType": "git"
},
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "8cf5e4d2ca6b101d163c7423a426fb0aec34f7bb",
"status": "affected",
"versionType": "git"
},
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "3904b993cc17ec5d7c5d3b57dbd0b775dafb9684",
"status": "affected",
"versionType": "git"
},
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "bdf678a273cadbccc347f331ae2e93ff4d14834c",
"status": "affected",
"versionType": "git"
},
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "0e47fc1c9181ae029e0e35a865cbf2adcbae626c",
"status": "affected",
"versionType": "git"
},
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "a04c207f0801abdd23a169b5f902a9845059a65a",
"status": "affected",
"versionType": "git"
},
{
"version": "fe56b9e6a8d957d6a20729d626027f800c17a2da",
"lessThan": "2bccfb8476ca5f3548afbd623dc7a6980d4e77de",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/qlogic/qed/qed_cxt.c"
],
"versions": [
{
"version": "4.4",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.4",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.259",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.210",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.175",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.142",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.92",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.34",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.0.11",
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.1",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "5.10.259"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "5.15.210"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "6.1.175"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "6.6.142"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "6.12.92"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "6.18.34"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "7.0.11"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "7.1"
}
]
}
]
}
],
"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"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-64118",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-16T15:36:40.630775Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-415",
"description": "CWE-415 Double Free"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-19T20:28:13.114Z"
}
}
]
}
}