{"id":"CVE-2024-26930","state":"PUBLISHED","title":"scsi: qla2xxx: Fix double free of the ha->vp_map pointer","description":"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.","publishedAt":"2024-05-01T05:17:10.685Z","updatedAt":"2026-08-05T11:28:25.607Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"f14cee7a882cb79528f17a2335f53e9fd1848467","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"b7deb675d674f44e0ddbab87fee8f9f098925e73","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"825d63164a2e6bacb059a9afb5605425b485413f","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"e288285d47784fdcf7c81be56df7d65c6f10c58b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_os.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.24","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.12","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.3","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_os.c"]}],"references":["https://git.kernel.org/stable/c/f14cee7a882cb79528f17a2335f53e9fd1848467","https://git.kernel.org/stable/c/b7deb675d674f44e0ddbab87fee8f9f098925e73","https://git.kernel.org/stable/c/825d63164a2e6bacb059a9afb5605425b485413f","https://git.kernel.org/stable/c/e288285d47784fdcf7c81be56df7d65c6f10c58b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26930.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26930","state":"PUBLISHED","datePublished":"2024-05-01T05:17:10.685Z","dateUpdated":"2026-08-05T11:28:25.607Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.195Z"},"containers":{"cna":{"title":"scsi: qla2xxx: Fix double free of the ha->vp_map pointer","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"f14cee7a882cb79528f17a2335f53e9fd1848467","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"b7deb675d674f44e0ddbab87fee8f9f098925e73","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"825d63164a2e6bacb059a9afb5605425b485413f","versionType":"git"},{"version":"430eef03a763e5e76a371ba6d02779ae4a64b6ea","status":"affected","lessThan":"e288285d47784fdcf7c81be56df7d65c6f10c58b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_os.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.24","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.12","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.3","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_os.c"]}],"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"}],"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."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:28:25.607Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-17T17:46:59.086Z"}},{"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"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:21:05.520Z"}}]}}}