Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 10899288503 for ; Wed, 18 Jun 2025 11:09:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244999; cv=none; b=LMAukcVfToK8dMWntEBpuR6dKSoQEtGDKNLSCvKAkKb0nBKdBfwVyYVSIn5mJXe12TNi8scurlkbiBePap7Hk91CJ5khiVP12yMgZ6bRXNQUGyaFy30ZeHsy6Co/dN3ZUA/SfJSXo/qtcmR9OBq84kwGbNDdl/mBg52uZdmtrFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244999; c=relaxed/simple; bh=xTTZb3Ow4KuTsL4GN2UvjKZxzM73xzW3Oez/yUE2oyA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fm3cD8zr327uLWhqQ1pSPS/OkiXHjfbC0zzmYcg1baZmaBG+arJi4BNgtG3ZzG5/XA6Conf2N3TskWIlotK1oLM/WGaQfOonikSRfTJ3p+u+PBuW2rq9WOl9X5tK73DZVh3ZuYWEf8yQPO9vk/KzgRXdj/cWM+UeF0MH+/jUiDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GsEFbWdO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GsEFbWdO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C7E3C4CEE7; Wed, 18 Jun 2025 11:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244998; bh=xTTZb3Ow4KuTsL4GN2UvjKZxzM73xzW3Oez/yUE2oyA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GsEFbWdOEfZNLH4p2YqOAZOw2kDp8HkIvK7z7nUtG4YeIy8m32pQ5zlEHAdjW1a5v rVNtFvW80K9UjJx8hBlEYTB0ERY8E8NubXrfAYOy/3+QSgmkK06Wigws+mvL+aclkn X226atKa/lUWcnsD5UW7U6yP80c1saPf/nC19CXM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50098: scsi: qla2xxx: Fix crash due to stale SRB access around I/O timeouts Date: Wed, 18 Jun 2025 13:02:43 +0200 Message-ID: <2025061803-CVE-2022-50098-ed6e@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2801; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6UvAiSF7wEz805eH+3kG+3xO1p4NSrHfC2tpJpKZDSQ=; b=kA0DAAIRMUfUDdst+ykByyZiAGhSnG+hV/ozavtrxZ0qo6g5tgkWRclvWqUxBup/ZNSn8FcCw YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmhSnG8ACgkQMUfUDdst+ymqaQCgrRBh S7mdyfKhfs6IrbZQfCRxZpsAoNjVe+wZpJLXtPOyts2DtHaYgKZX 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 crash due to stale SRB access around I/O timeouts Ensure SRB is returned during I/O timeout error escalation. If that is not possible fail the escalation path. Following crash stack was seen: BUG: unable to handle kernel paging request at 0000002f56aa90f8 IP: qla_chk_edif_rx_sa_delete_pending+0x14/0x30 [qla2xxx] Call Trace: ? qla2x00_status_entry+0x19f/0x1c50 [qla2xxx] ? qla2x00_start_sp+0x116/0x1170 [qla2xxx] ? dma_pool_alloc+0x1d6/0x210 ? mempool_alloc+0x54/0x130 ? qla24xx_process_response_queue+0x548/0x12b0 [qla2xxx] ? qla_do_work+0x2d/0x40 [qla2xxx] ? process_one_work+0x14c/0x390 The Linux kernel CVE team has assigned CVE-2022-50098 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 5.15.61 with commit b7bae3886a30d258b5b4fee26647043d68da3661 Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 5.18.18 with commit b70553175d0f94ebd73670bc16ade90bd7f7d76f Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 5.19.2 with commit 7dcd49c42b14717dd668fd73b503d241fdf82439 Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 6.0 with commit c39587bc0abaf16593f7abcdf8aeec3c038c7d52 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-2022-50098 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/b7bae3886a30d258b5b4fee26647043d68da3661 https://git.kernel.org/stable/c/b70553175d0f94ebd73670bc16ade90bd7f7d76f https://git.kernel.org/stable/c/7dcd49c42b14717dd668fd73b503d241fdf82439 https://git.kernel.org/stable/c/c39587bc0abaf16593f7abcdf8aeec3c038c7d52