lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100418-CVE-2022-50493-2b70@gregkh>
Date: Sat,  4 Oct 2025 17:51:18 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50493: scsi: qla2xxx: Fix crash when I/O abort times out

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: Fix crash when I/O abort times out

While performing CPU hotplug, a crash with the following stack was seen:

Call Trace:
     qla24xx_process_response_queue+0x42a/0x970 [qla2xxx]
     qla2x00_start_nvme_mq+0x3a2/0x4b0 [qla2xxx]
     qla_nvme_post_cmd+0x166/0x240 [qla2xxx]
     nvme_fc_start_fcp_op.part.0+0x119/0x2e0 [nvme_fc]
     blk_mq_dispatch_rq_list+0x17b/0x610
     __blk_mq_sched_dispatch_requests+0xb0/0x140
     blk_mq_sched_dispatch_requests+0x30/0x60
     __blk_mq_run_hw_queue+0x35/0x90
     __blk_mq_delay_run_hw_queue+0x161/0x180
     blk_execute_rq+0xbe/0x160
     __nvme_submit_sync_cmd+0x16f/0x220 [nvme_core]
     nvmf_connect_admin_queue+0x11a/0x170 [nvme_fabrics]
     nvme_fc_create_association.cold+0x50/0x3dc [nvme_fc]
     nvme_fc_connect_ctrl_work+0x19/0x30 [nvme_fc]
     process_one_work+0x1e8/0x3c0

On abort timeout, completion was called without checking if the I/O was
already completed.

Verify that I/O and abort request are indeed outstanding before attempting
completion.

The Linux kernel CVE team has assigned CVE-2022-50493 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.5 with commit 71c80b75ce8f08c0978ce9a9816b81b5c3ce5e12 and fixed in 5.15.86 with commit d3871af13aa03fbbe7fbb812eaf140501229a72e
	Issue introduced in 5.5 with commit 71c80b75ce8f08c0978ce9a9816b81b5c3ce5e12 and fixed in 6.0.16 with commit cb4dff498468b62e8c520568559b3a9007e104d7
	Issue introduced in 5.5 with commit 71c80b75ce8f08c0978ce9a9816b81b5c3ce5e12 and fixed in 6.1.2 with commit 05382ed9142cf8a8a3fb662224477eecc415778b
	Issue introduced in 5.5 with commit 71c80b75ce8f08c0978ce9a9816b81b5c3ce5e12 and fixed in 6.2 with commit 68ad83188d782b2ecef2e41ac245d27e0710fe8e
	Issue introduced in 5.3.17 with commit 457173c8b43ecd3ac48c8ace8d4437a50f7ad77b
	Issue introduced in 5.4.4 with commit b7abcc7df5e131c0b4bf89cb2411c5301ee83d26

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-50493
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_init.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/d3871af13aa03fbbe7fbb812eaf140501229a72e
	https://git.kernel.org/stable/c/cb4dff498468b62e8c520568559b3a9007e104d7
	https://git.kernel.org/stable/c/05382ed9142cf8a8a3fb662224477eecc415778b
	https://git.kernel.org/stable/c/68ad83188d782b2ecef2e41ac245d27e0710fe8e

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ