{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26930","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-19T14:20:24.195Z","datePublished":"2024-05-01T05:17:10.685Z","dateUpdated":"2026-08-05T11:28:25.607Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:28:25.607Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix double free of the ha->vp_map pointer\n\nCoverity scan reported potential risk of double free of the pointer\nha->vp_map.  ha->vp_map was freed in qla2x00_mem_alloc(), and again freed\nin function qla2x00_mem_free(ha).\n\nAssign NULL to vp_map and kfree take care of NULL."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable code is only entered from `qla2x00_probe_one()`, i.e. local driver bring-up via module load, sysfs driver bind, or boot-time PCI enumeration; no network or remote-peer data reaches this path.\nAC:H - Triggering requires a kernel memory-allocation failure at one of ~20 specific sites inside the probe, plus the non-default `qlini_mode=exclusive|disabled|dual` (FC target) or `ql2xsecenable=1` on QLA28xx — neither the timing of the probe nor which allocation fails is under the attacker's control.\nPR:L - The only attacker-supplied ingredient is memory exhaustion/fragmentation, which any unprivileged local user can create; the probe itself is driven by ordinary system activity (boot, PCI hotplug, udev/driver rebind), so no elevated privilege is needed for the attacker's half.\nUI:N - Once the allocation failure occurs during probe, the error unwind and the second `kfree()` in `qla2x00_mem_free()` happen automatically inside the kernel with no action by any other user.\nS:U - The corruption is confined to the kernel slab allocator on the same host and crosses no virtualization, IOMMU, or sandbox authority boundary.\nC:H - The double free of the 4 KB `vp_map` object lets the same slab object be handed to two owners, yielding a use-after-free read primitive over whatever kernel structure lands there — potentially arbitrary kernel memory disclosure.\nI:H - Freelist corruption from the double free gives overlapping allocations, the classic path to controlled kernel heap writes and control-flow hijack; the freed 4 KB object is also a prime heap-spray target.\nA:H - With `CONFIG_SLAB_FREELIST_HARDENED`/SLUB debug the second `kfree()` is detected and BUG()s immediately; without it, freelist corruption reliably leads to an oops or panic."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_os.c"],"versions":[{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","lessThan":"f14cee7a882cb79528f17a2335f53e9fd1848467","status":"affected","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","lessThan":"b7deb675d674f44e0ddbab87fee8f9f098925e73","status":"affected","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","lessThan":"825d63164a2e6bacb059a9afb5605425b485413f","status":"affected","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","lessThan":"e288285d47784fdcf7c81be56df7d65c6f10c58b","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/scsi/qla2xxx/qla_os.c"],"versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.24","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.12","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8.3","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","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":"6.3","versionEndExcluding":"6.6.24"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.7.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.8.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f14cee7a882cb79528f17a2335f53e9fd1848467"},{"url":"https://git.kernel.org/stable/c/b7deb675d674f44e0ddbab87fee8f9f098925e73"},{"url":"https://git.kernel.org/stable/c/825d63164a2e6bacb059a9afb5605425b485413f"},{"url":"https://git.kernel.org/stable/c/e288285d47784fdcf7c81be56df7d65c6f10c58b"}],"title":"scsi: qla2xxx: Fix double free of the ha->vp_map pointer","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-17T17:40:52.767633Z","id":"CVE-2024-26930","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-17T17:46:59.086Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T00:21:05.520Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/f14cee7a882cb79528f17a2335f53e9fd1848467","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/b7deb675d674f44e0ddbab87fee8f9f098925e73","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/825d63164a2e6bacb059a9afb5605425b485413f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e288285d47784fdcf7c81be56df7d65c6f10c58b","tags":["x_transferred"]}]}]}}