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 EFEA94F649F for ; Wed, 16 Sep 2026 10:35:36 +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=1789554943; cv=none; b=CcT4Q3kuGvVagtE0MsB1vdKw2xtXFEovu5D1WG5Zm3CvfOtOEEMV2Bjq11mTgrINXc+Nqim7mhlsIv4lxEPSxbzuPQasae08a09Ib6CAv1ChPgiSkbddnwdj72J8epDSjyfDdlyPNUUoLWiYylD+U3SmeNxdnX1F+OsuvqlSzFc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554943; c=relaxed/simple; bh=GzP4+qQyZQlP09SSG8B22ub8jYWtmOJ8JQhtwP+BR7Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U4HQniqx8wwX7Ht+Ahv0EldbZXMBGGuOTZaDz9er/Uq+RZ7sLR6FVdgbMh19zr+vu+U20k5zm1NtesPA2CRuYRC6AiL8sHpLaKGbbDgD/W+Mg6B3pqrmAJQbUEPWJ7xb38kcG5h05GPS/9br+0fp2YDAw3XlI3UrcVyTSJLfRqw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xV+8XKQZ; 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="xV+8XKQZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5EBB1F00898; Wed, 16 Sep 2026 10:35:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554936; bh=xg5qaL/VKaJkctkEAHCX5sT35xkvEWCRIZVj2edvoeE=; h=From:To:Cc:Subject:Date:Reply-To; b=xV+8XKQZJCBdbFW67V2ND4I7FsIpY0fd7OHdVFwFoEg36636PPkuKyaerot+u9XIa 7/blxXmgWChuov3TTLe8pneH6hFfn+nCoCXMoxAjhS/VWCbxV8GgQJCJqlKBx+N9Dm 9FLO8fjfV5zUFtAzY3KMAlZTUMwYvvADXvtAE1Vw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89854: scsi: qla2xxx: Fix cs84xx use-after-free on host teardown Date: Wed, 16 Sep 2026 11:29:44 +0100 Message-ID: <2026091617-CVE-2026-89854-a8b1@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=3901; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=h1HhfXSRJh/3fFMks3dNrFdY3UGZvseOBM4TnwGbdyA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8msfWTKVfWyI6mVn9H0196p16zSLiT8yO73fhXQ8v XPiz+1PHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRpBkM8zO/RIYqt2ycc7ho /sJr3jNFdoqwNDAsWCJssTTqV2rF/mBzKdkWu1uCx3Y0AwA= 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: Fix cs84xx use-after-free on host teardown qla84xx_put_chip() drops the last reference to ha->cs84xx and frees it via __qla84xx_chip_release() without clearing ha->cs84xx. During teardown it ran before scsi_remove_host(), which is what removes the 84xx_fw_version host sysfs attribute. A concurrent read of that attribute in the window between the two calls executes qla24xx_84xx_fw_version_show(), which dereferences the freed ha->cs84xx, resulting in a use-after-free. Move qla84xx_put_chip() to after scsi_remove_host() in both qla2x00_remove_one() and qla2x00_disable_board_on_pci_error(). Once scsi_remove_host() returns, the sysfs attribute is gone and kernfs has drained any in-flight show(), so no reader can touch cs84xx; the put still runs before the host and ha are freed. The Linux kernel CVE team has assigned CVE-2026-89854 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 5.10.270 with commit 8c1ebcade6aac58137f2645b579894301febabf3 Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 5.15.221 with commit 1d8bbc4344b9367d9d54731475d745fbc9ea28f2 Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 6.1.188 with commit 2c3b17ee53f034936f7398dbf4d143e608b7c35c Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 6.6.157 with commit ae09260be7454ed7630a913f147591a25e3a9d09 Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 6.12.110 with commit fcf0804dfe05862007189ac9dc4dc2063be36de1 Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 6.18.51 with commit 8286a9095fb59751fba171afa2b4f590271c87d5 Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 7.2.5 with commit 122bf170c94a3797531b12fee580639a5dc893ed Issue introduced in 3.14 with commit fe1b806f4f7172b1eae18ddeebb7d8fb351043f7 and fixed in 7.3-rc1 with commit 33d102102d925357c5fd172dd6672a27d74b3215 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-89854 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/8c1ebcade6aac58137f2645b579894301febabf3 https://git.kernel.org/stable/c/1d8bbc4344b9367d9d54731475d745fbc9ea28f2 https://git.kernel.org/stable/c/2c3b17ee53f034936f7398dbf4d143e608b7c35c https://git.kernel.org/stable/c/ae09260be7454ed7630a913f147591a25e3a9d09 https://git.kernel.org/stable/c/fcf0804dfe05862007189ac9dc4dc2063be36de1 https://git.kernel.org/stable/c/8286a9095fb59751fba171afa2b4f590271c87d5 https://git.kernel.org/stable/c/122bf170c94a3797531b12fee580639a5dc893ed https://git.kernel.org/stable/c/33d102102d925357c5fd172dd6672a27d74b3215