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 02AC7191 for ; Wed, 21 Aug 2024 00:08:01 +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=1724198882; cv=none; b=mkNL2TjDXQsBYvDibr6cE06QwErbp5kYe5Wlyo/3RMxaRPc0WmmapVKoOL0rpv/Mhl+tPwmLLhJfNEtekKDo2xip3e7igioGTrhrCHows+CnF1nq9bl+JlloPX6YSGnI2gfKho/7F2grHmoDQooVf01suyuS1mOIfZBQVLM5+mc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724198882; c=relaxed/simple; bh=gkIkDcfgVPrqqelQC7Ry5tvZH3NCjs2bHf6FW5UiM7E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M+fioyW2dtDPRLQBroKcS9woWtSTs59JjpCgU25KxkSZsDmR+sdn8UG3/9fdjAx3DpH3VFDdSF/7lHrSJWtyi1Vp4pEVJgCLOh0taO+wkrjvBEIvPMMgrxqIFCl5Iuh02myiS0CDunkFM4Q1UqGlqYCXdfP759CFz+T+/coKy8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R/1V0Iyk; 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="R/1V0Iyk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A91CC4AF0E; Wed, 21 Aug 2024 00:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724198881; bh=gkIkDcfgVPrqqelQC7Ry5tvZH3NCjs2bHf6FW5UiM7E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=R/1V0Iyk+DoAbW20bGLzgznQlkk3NP+2agVPq8H1umNSU/aeiaZ40KE6dLFhpEGVa lkgMwJCwuOJ6TKTI+fzIR5Eu0ayja7kRRM1PyjugFLLbsVDoMWLPj1+bfwN7FtU1Tj 0yP3xX1Uo71WMyGjCRzygOpMZ5GxRpf3B09xi2Ak= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43872: RDMA/hns: Fix soft lockup under heavy CEQE load Date: Wed, 21 Aug 2024 08:07:36 +0800 Message-ID: <2024082136-CVE-2024-43872-c87e@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=1991; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gkIkDcfgVPrqqelQC7Ry5tvZH3NCjs2bHf6FW5UiM7E=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlH9U+oT2RV+bBe+9zDi96RLeXp4nE2Jbbff8n/PdAcu PAwi9qGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIxTKG+WXpyde2Xjir07Vm zsuCV3um7l1iPI1hwfxGYe4bSbbuc848+njorFP7f4ZVZgA= 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/hns: Fix soft lockup under heavy CEQE load CEQEs are handled in interrupt handler currently. This may cause the CPU core staying in interrupt context too long and lead to soft lockup under heavy load. Handle CEQEs in BH workqueue and set an upper limit for the number of CEQE handled by a single call of work handler. The Linux kernel CVE team has assigned CVE-2024-43872 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit a5073d6054f7 and fixed in 6.10.3 with commit 06580b33c183 Issue introduced in 4.16 with commit a5073d6054f7 and fixed in 6.11-rc1 with commit 2fdf34038369 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-43872 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/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v2.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/06580b33c183c9f98e2a2ca96a86137179032c08 https://git.kernel.org/stable/c/2fdf34038369c0a27811e7b4680662a14ada1d6b