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 CDA501A5BB6 for ; Wed, 26 Feb 2025 01:58:54 +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=1740535134; cv=none; b=Sio2hFW9984SBO+nKprUR0N9pM5y2nK1eD632L3YtAVeXaDUEJ6Jdup5t0rThCALLTrKBnabOJ7Pn5Tfi621BJ4Uv8lhNC4Zex4TeB1HJ+kILWB4gGCcKc/wEf950LH1sfVc6eVfLt5eHd9dGgdB2tHxh4dJqWzI5uUwpsPCH6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535134; c=relaxed/simple; bh=OjAhwaNqe2jwNmSq3rWy8BRCWzgUpszrHwR1YlqER00=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LWUBtbAnUapqeT0vkwWLlR5r2L/2wRt7xYM+jsAdna97jFHacwxuIi+fL2CJe18Ai0omNlQXeQ3pZgyeoaCkTImjpo9om6rZiNPR2UtuWTjQPzm/saII1kKoZk1IPOF60uH97sNLFabMrr6L8bNyvq2jpM03afgf7WRb6EQNreo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Oc7fSA1z; 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="Oc7fSA1z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1EFDC4CEDD; Wed, 26 Feb 2025 01:58:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535134; bh=OjAhwaNqe2jwNmSq3rWy8BRCWzgUpszrHwR1YlqER00=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Oc7fSA1z2VFCYzHLohOAoFGw91gDiHM2r4hEBiOshg6937RwgrsxgzmOv7oklk8Vx 9I7k7AX13CRYqYqKu43ukjZ93THMwcMcwJie3NfMVwPsCRd60XMBpU6Hdl3USgXxyO GWfUMnWS5ufOQevaXfVozEkOUagm4IXDwHV+aqsk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49155: scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair() Date: Wed, 26 Feb 2025 02:56:00 +0100 Message-ID: <2025022609-CVE-2022-49155-f1d2@gregkh> X-Mailer: git-send-email 2.48.1 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=4185; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OjAhwaNqe2jwNmSq3rWy8BRCWzgUpszrHwR1YlqER00=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Spwec1m5vVRiYBS4u+tU28fCRKPZ2zhkP0iYenWbb lL2CknuiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlk8TIs2G5vPens3icVC5dd kGzqi0yeHHBzKsP8sGduNSb/eCo/53inhn0OSxLVavcFAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair() [ 12.323788] BUG: using smp_processor_id() in preemptible [00000000] code: systemd-udevd/1020 [ 12.332297] caller is qla2xxx_create_qpair+0x32a/0x5d0 [qla2xxx] [ 12.338417] CPU: 7 PID: 1020 Comm: systemd-udevd Tainted: G I --------- --- 5.14.0-29.el9.x86_64 #1 [ 12.348827] Hardware name: Dell Inc. PowerEdge R610/0F0XJ6, BIOS 6.6.0 05/22/2018 [ 12.356356] Call Trace: [ 12.358821] dump_stack_lvl+0x34/0x44 [ 12.362514] check_preemption_disabled+0xd9/0xe0 [ 12.367164] qla2xxx_create_qpair+0x32a/0x5d0 [qla2xxx] [ 12.372481] qla2x00_probe_one+0xa3a/0x1b80 [qla2xxx] [ 12.377617] ? _raw_spin_lock_irqsave+0x19/0x40 [ 12.384284] local_pci_probe+0x42/0x80 [ 12.390162] ? pci_match_device+0xd7/0x110 [ 12.396366] pci_device_probe+0xfd/0x1b0 [ 12.402372] really_probe+0x1e7/0x3e0 [ 12.408114] __driver_probe_device+0xfe/0x180 [ 12.414544] driver_probe_device+0x1e/0x90 [ 12.420685] __driver_attach+0xc0/0x1c0 [ 12.426536] ? __device_attach_driver+0xe0/0xe0 [ 12.433061] ? __device_attach_driver+0xe0/0xe0 [ 12.439538] bus_for_each_dev+0x78/0xc0 [ 12.445294] bus_add_driver+0x12b/0x1e0 [ 12.451021] driver_register+0x8f/0xe0 [ 12.456631] ? 0xffffffffc07bc000 [ 12.461773] qla2x00_module_init+0x1be/0x229 [qla2xxx] [ 12.468776] do_one_initcall+0x44/0x200 [ 12.474401] ? load_module+0xad3/0xba0 [ 12.479908] ? kmem_cache_alloc_trace+0x45/0x410 [ 12.486268] do_init_module+0x5c/0x280 [ 12.491730] __do_sys_init_module+0x12e/0x1b0 [ 12.497785] do_syscall_64+0x3b/0x90 [ 12.503029] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 12.509764] RIP: 0033:0x7f554f73ab2e The Linux kernel CVE team has assigned CVE-2022-49155 to this issue. Affected and fixed versions =========================== Fixed in 4.14.276 with commit 43195a0c620761fbb88db04e2475313855b948a4 Fixed in 4.19.238 with commit f68776f28d9134fa65056e7e63bfc734049730b7 Fixed in 5.4.189 with commit 8077a7162bc3cf658dd9ff112bc77716c08458c5 Fixed in 5.10.110 with commit f97316dd393bc8df1cc2af6295a97b876eecf252 Fixed in 5.15.33 with commit 9c33d49ab9f3d8bd7512b3070cd2f07c4a8849d5 Fixed in 5.16.19 with commit 1ab81d82fb1db7ec4be4b0d04563513e6d4bcdd5 Fixed in 5.17.2 with commit a669a22aef0ceff706b885370af74b5a60a8ac85 Fixed in 5.18 with commit a60447e7d451df42c7bde43af53b34f10f34f469 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-49155 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/43195a0c620761fbb88db04e2475313855b948a4 https://git.kernel.org/stable/c/f68776f28d9134fa65056e7e63bfc734049730b7 https://git.kernel.org/stable/c/8077a7162bc3cf658dd9ff112bc77716c08458c5 https://git.kernel.org/stable/c/f97316dd393bc8df1cc2af6295a97b876eecf252 https://git.kernel.org/stable/c/9c33d49ab9f3d8bd7512b3070cd2f07c4a8849d5 https://git.kernel.org/stable/c/1ab81d82fb1db7ec4be4b0d04563513e6d4bcdd5 https://git.kernel.org/stable/c/a669a22aef0ceff706b885370af74b5a60a8ac85 https://git.kernel.org/stable/c/a60447e7d451df42c7bde43af53b34f10f34f469