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 8D1CF10E3 for ; Tue, 30 Jul 2024 07:49:12 +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=1722325752; cv=none; b=H1C5njxckCjLmYUC2hbP1zDlPXyKAtIC6vBv607SnqzqG99D19MCppDkP7DwCsKKp8mIVM0t0OsyY/xCWJAXiBY5dk+gwDmjiPdsq5AIDtLeLGoqgwcVyBBuHG5V4jmrt/AXONyUBlLAKTslUaKKHxoRYg4P7jXHDhqjPP9pYuU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325752; c=relaxed/simple; bh=aYuz7EKDtiXobaDMTEYFyj3tIuVTfazc4D/R0RZYz/o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q9rRww37hgthpAjIR8V9JJmSgjLsEjgFHTvpBtkq+Vsenx5e7GQ/yJcBivJWVH/llL6d3v+bNoJSFpC2bWEl0OGCasZzfly6cvfUnEZO9J+7vJdEwa4K5I15q+U+/DflUG9KYIcenz0eYJGGXzd+4CXyDbjZvaKw0dPqSLqUOCo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sOK1CTeG; 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="sOK1CTeG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E406CC32782; Tue, 30 Jul 2024 07:49:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325752; bh=aYuz7EKDtiXobaDMTEYFyj3tIuVTfazc4D/R0RZYz/o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=sOK1CTeGK0P8WCRWCn62oULPt/T1Ygnd8er6r26liZaaT0khS7sdaYZ7I7dncmaaQ XEFKRgMpn18G8eChK2SG/8WM6yFdNkIK8Xnbi0O+iDiZsMToGj70Edr0rAyetoV9nI FPqcIWZ/Ur6XSWpfsECgXu8YXJJ6TneOTpoJu0tA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42124: scsi: qedf: Make qedf_execute_tmf() non-preemptible Date: Tue, 30 Jul 2024 09:47:42 +0200 Message-ID: <2024073025-CVE-2024-42124-e4ad@gregkh> X-Mailer: git-send-email 2.45.2 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=2419; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aYuz7EKDtiXobaDMTEYFyj3tIuVTfazc4D/R0RZYz/o=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZvX2bGL+eMkjUK9mzfZ77VHBKvuWPA9Yqiq1fXK/x tqIsAuHO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiLvMZFuzVX5hZ2VJ1fuE2 h8h18gv2WKpVPWNYsGi3i/KXdJ8823rO6evETN4u9bqyEgA= 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: qedf: Make qedf_execute_tmf() non-preemptible Stop calling smp_processor_id() from preemptible code in qedf_execute_tmf90. This results in BUG_ON() when running an RT kernel. [ 659.343280] BUG: using smp_processor_id() in preemptible [00000000] code: sg_reset/3646 [ 659.343282] caller is qedf_execute_tmf+0x8b/0x360 [qedf] The Linux kernel CVE team has assigned CVE-2024-42124 to this issue. Affected and fixed versions =========================== Fixed in 5.4.280 with commit 4f314aadeed8 Fixed in 5.10.222 with commit 5ceb40cdee72 Fixed in 5.15.163 with commit 0a8a91932b27 Fixed in 6.1.98 with commit fa49c65a1cec Fixed in 6.6.39 with commit b6ded5316ec5 Fixed in 6.9.9 with commit 2b9c7787cfcd Fixed in 6.10 with commit 0d8b637c9c5e 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-2024-42124 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/qedf/qedf_io.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/4f314aadeed8cdf42c8cf30769425b5e44702748 https://git.kernel.org/stable/c/5ceb40cdee721e13cbe15a0515cacf984e11236b https://git.kernel.org/stable/c/0a8a91932b2772e75bf3f6d133ca4225d1d3e920 https://git.kernel.org/stable/c/fa49c65a1cec6a3901ef884fdb24d98068b63493 https://git.kernel.org/stable/c/b6ded5316ec56e973dcf5f9997945aad01a9f062 https://git.kernel.org/stable/c/2b9c7787cfcd1e76d873a78f16cf45bfa4b100ea https://git.kernel.org/stable/c/0d8b637c9c5eeaa1a4e3dfb336f3ff918eb64fec