{"id":"CVE-2026-97532","aliases":["CVE-2026-97532"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path\n\nWhen qla2x00_mem_alloc() fails, qla2x00_probe_one() jumps to\nprobe_hw_failed and calls qla2x00_mem_free(). Several error labels in\nqla2x00_mem_alloc() freed adapter members (elsrej.c, purex_dma_pool,\nflt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, npiv_info)\nbut left the pointers dangling. qla2x00_mem_free() then freed them a\nsecond time. Worse, for the dma_pool members it issued\ndma_pool_free(ha->s_dma_pool, ...) after s_dma_pool had already been\ndestroyed and set to NULL at fail_s_dma_pool, dereferencing a NULL pool.\n\nClear each freed pointer (and its DMA handle) in the error labels so the\nsubsequent qla2x00_mem_free() skips them.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path\n\nWhen qla2x00_mem_alloc() fails, qla2x00_probe_one() jumps to\nprobe_hw_failed and calls qla2x00_mem_free(). Several error labels in\nqla2x00_mem_alloc() freed adapter members (elsrej.c, purex_dma_pool,\nflt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, npiv_info)\nbut left the pointers dangling. qla2x00_mem_free() then freed them a\nsecond time. Worse, for the dma_pool members it issued\ndma_pool_free(ha->s_dma_pool, ...) after s_dma_pool had already been\ndestroyed and set to NULL at fail_s_dma_pool, dereferencing a NULL pool.\n\nClear each freed pointer (and its DMA handle) in the error labels so the\nsubsequent qla2x00_mem_free() skips them.","source":"cvelist"}],"published":"2026-09-25T10:21:32.582Z","modified":"2026-10-30T13:21:06.707Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"e6732abc33c41772192ef8717354a5574a5c2ebf","status":"affected"},{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"aea0901d35beb3acc8a4086fb00c5b9c0e9c83ab","status":"affected"},{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"d3dee064ab9d705f6f652c639c55d7ea74df87cc","status":"affected"},{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"5e0d6ffabbbd86b3fb9168b9dbb62190ecb20d84","status":"affected"},{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"84f5de696b8c924aeb4bf430a0bdc762fc50e99f","status":"affected"},{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"a57570229edb7a0990d5c8067daeb9ac8858a961","status":"affected"},{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"286d9594a022dd7e0caa3de9daa63b896bc70d43","status":"affected"},{"type":"git","introduced":"d64d6c5671db5e693a0caaee79f2571b098749c9","fixed":"6d90f0feb929f6c0f3010f9af4747c7230b75993","status":"affected"},{"type":"git","version":"8540351ee8a4d540b1b7ee64b88d5e42c7c0bfbc","status":"affected"},{"type":"git","version":"7142b10b87d5b393a0688358b16a4b1d3680ec7d","status":"affected"},{"type":"semver","introduced":"4.14.27","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.15.10","fixed":"4.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e6732abc33c41772192ef8717354a5574a5c2ebf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aea0901d35beb3acc8a4086fb00c5b9c0e9c83ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3dee064ab9d705f6f652c639c55d7ea74df87cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e0d6ffabbbd86b3fb9168b9dbb62190ecb20d84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84f5de696b8c924aeb4bf430a0bdc762fc50e99f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a57570229edb7a0990d5c8067daeb9ac8858a961","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/286d9594a022dd7e0caa3de9daa63b896bc70d43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d90f0feb929f6c0f3010f9af4747c7230b75993","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97532","url":"https://www.cve.org/CVERecord?id=CVE-2026-97532","licence":"CVE Terms of Use","modified":"2026-10-30T12:37:13.602Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97532","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97532","licence":"Public domain","modified":"2026-10-30T13:21:06.707Z"}],"updatedAt":"2026-11-25T22:59:40.948Z","epss":{"score":0.00217,"percentile":0.12914,"date":"2026-12-02T12:00:21.000Z"}}