From mboxrd@z Thu Jan 1 00:00:00 1970 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 AAF911C287 for ; Thu, 22 Aug 2024 03:33:28 +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=1724297608; cv=none; b=uMCiWdlnKfUeEabY3qbvm3uHhg+qrnZnhtxDSW5dwah+WE0pOnTb3NGtUwrCV5IoEM6eYkpN7yxj4zs4g3AfOuL7EXcLPB/8ZbEq6gIJhLd9Pwv4HN+usCSCs8GaSie32KB1gJEH/KpUqXTbbukcDv9NLbA6aqjAHyKqEFbUb30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724297608; c=relaxed/simple; bh=OEup9jv6tQ2kw5RD6B8GOdjtKsTJEVk+y725Kziiz0g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MGQ2VPfmCAnzEEU52/RxkAxK88ENAATQf4eq9AU2Y4oPyj0Pe6iUepCTtTssT9MP3CKPDyvCvVVVHv3GBCQ9YJGHil622/DTZXoYb3x2jtFXfYUfnS5SzsEqkPLcAVWA7wswxBeO+67s3Ex3Ig/6GnxUvNl+7cZXYb2gognl0/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ltHKffej; 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="ltHKffej" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44D18C4AF09; Thu, 22 Aug 2024 03:33:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724297608; bh=OEup9jv6tQ2kw5RD6B8GOdjtKsTJEVk+y725Kziiz0g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ltHKffejSAMMw6Y6ZNGiU4jwf82NHnYfXTKTz17QdBWIrMbBjKB7GlTP/m+0SYVaC Jv0Eb418zC3MXU0Ui1pMqgKjMGdwoEBjVUfL3ApVj9fdDQnPk7mNnjdUdJJyon6wBU VSRXW9dT4sNykaKNVI4Ia+7fXXh/UEONATyuWqaw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48930: RDMA/ib_srp: Fix a deadlock Date: Thu, 22 Aug 2024 11:31:31 +0800 Message-ID: <2024082222-CVE-2022-48930-9bda@gregkh> X-Mailer: git-send-email 2.46.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=2834; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OEup9jv6tQ2kw5RD6B8GOdjtKsTJEVk+y725Kziiz0g=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnHNnK9/lHAyPhi2ozJp6c+8jjWJhsrrPpd6ABbc67b/ fIgo1/zO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiap8ZFhyf6bJ/3v2Y+g1f P87M+nKiY5bHvxkMC3rPfP2e+YP5CntBiP5zb/Omt2teRQAA 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: RDMA/ib_srp: Fix a deadlock Remove the flush_workqueue(system_long_wq) call since flushing system_long_wq is deadlock-prone and since that call is redundant with a preceding cancel_work_sync() The Linux kernel CVE team has assigned CVE-2022-48930 to this issue. Affected and fixed versions =========================== Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 4.9.304 with commit 8cc342508f9e Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 4.14.269 with commit 4752fafb4618 Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 4.19.232 with commit d7997d19dfa7 Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 5.4.182 with commit 901206f71e6a Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 5.10.103 with commit 99eb8d694174 Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 5.15.26 with commit c8b56e51aa91 Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 5.16.12 with commit 98d056603ce5 Issue introduced in 3.8 with commit ef6c49d87c34 and fixed in 5.17 with commit 081bdc9fe05b 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-48930 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/infiniband/ulp/srp/ib_srp.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/8cc342508f9e7fdccd2e9758ae9d52aff72dab7f https://git.kernel.org/stable/c/4752fafb461821f8c8581090c923ababba68c5bd https://git.kernel.org/stable/c/d7997d19dfa7001ca41e971cd9efd091bb195b51 https://git.kernel.org/stable/c/901206f71e6ad2b2e7accefc5199a438d173c25f https://git.kernel.org/stable/c/99eb8d694174c777558dc902d575d1997d5ca650 https://git.kernel.org/stable/c/c8b56e51aa91b8e7df3a98388dce3fdabd15c1d4 https://git.kernel.org/stable/c/98d056603ce55ceb90631b3927151c190dfb1b27 https://git.kernel.org/stable/c/081bdc9fe05bb23248f5effb6f811da3da4b8252