Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D028548EBE4 for ; Fri, 25 Sep 2026 10:22:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331781; cv=none; b=E3XWuFRbTuuitwQLP9zlPJznopPpATPptQj8APkU2uN9pIxfHgTnWTQ7D9TJ6czpvL1LRof4t8vi0UmYzL43FFwNLB485WKqEOG6EF5Chl6unE5cqeVrlC4fW6cPXYOhEwwpAz9JDa56krSWuH2L1heTvEYgmEZnONjb7kfxwAg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331781; c=relaxed/simple; bh=Isvb3Kk8xqXy3MeBG0+K4WoJx4vid3WAnvFCrAP1f6I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ucoUZPfy81NEw8f1GL8A75PtNT/n5uNwcBK5ILS0cGvDUFvfKZ2uySCAu4oqYzGrHP1iyShdgn7MtOTHDOwHQ0bDkV1f9gej513wvRViCmwI3e4nv5KJnr+bZFdCuufn0z2fbadfIIAKwWhb1kTSbdqNUg06wbPYY8etMkess8M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PtAE4/KU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PtAE4/KU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED8351F000FF; Fri, 25 Sep 2026 10:22:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331779; bh=qeutb65aMk520TUWhS+gYnQhTsbNzpjLOA0e++ubO60=; h=From:To:Cc:Subject:Date:Reply-To; b=PtAE4/KUOCwbec1H5Qbawv2IblBJSdrSpWQxrYgn1TsU5XY/haKtjY9rvl+SCIkh0 xaeUSCdyWIW0o0N+FerWeIOdFtfhRgRT84hanOSwtW0ZJPc6kIMGPSt6n1+nOeVy29 DzXNYwtNj3RJmp9e3aMrVPgA89br7vyY36dF19Bs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97532: scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path Date: Fri, 25 Sep 2026 12:21:52 +0200 Message-ID: <2026092547-CVE-2026-97532-a5ba@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2434; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tDfDo6XAzpUUnXGEUh5gB98PrOtJZBlLUvyPdnvh4xg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvK0bPdTYbrMxl62cts/vRdFrlkNuVyvSS/T9gidOr dr4Rcu9I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYiv49hftyGWP6udwkRJ9+E 9HGzMtksunHgHsOC1jV7JmZ4uy08fe6c3gJl56yQ1mlVAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path When qla2x00_mem_alloc() fails, qla2x00_probe_one() jumps to probe_hw_failed and calls qla2x00_mem_free(). Several error labels in qla2x00_mem_alloc() freed adapter members (elsrej.c, purex_dma_pool, flt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, npiv_info) but left the pointers dangling. qla2x00_mem_free() then freed them a second time. Worse, for the dma_pool members it issued dma_pool_free(ha->s_dma_pool, ...) after s_dma_pool had already been destroyed and set to NULL at fail_s_dma_pool, dereferencing a NULL pool. Clear each freed pointer (and its DMA handle) in the error labels so the subsequent qla2x00_mem_free() skips them. The Linux kernel CVE team has assigned CVE-2026-97532 to this issue. Affected and fixed versions =========================== Fixed in 6.18.53 with commit a57570229edb7a0990d5c8067daeb9ac8858a961 Fixed in 7.2.7 with commit 286d9594a022dd7e0caa3de9daa63b896bc70d43 Fixed in 7.3-rc1 with commit 6d90f0feb929f6c0f3010f9af4747c7230b75993 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-97532 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/scsi/qla2xxx/qla_os.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a57570229edb7a0990d5c8067daeb9ac8858a961 https://git.kernel.org/stable/c/286d9594a022dd7e0caa3de9daa63b896bc70d43 https://git.kernel.org/stable/c/6d90f0feb929f6c0f3010f9af4747c7230b75993