Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 792CE386566 for ; Sat, 15 Aug 2026 06:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775889; cv=none; b=FlhdpW26Hnga+0bMSKEBW8OONES0T9sJXaNULchrKO5q75fPugPfXaXgLuSzPumMAbeD0JzvorTTbU2BXSc1hvtD9bEDjju3YZVk14NTWirH6jKYFE+gqPWFRiF3ZqMuuSUH/L49VBIQKcfpzXK5jhXfnrrjzL3Mk5/yFy038WU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775889; c=relaxed/simple; bh=EDJ9gCWoJeNrr1jf3+NNCj/9p7TM+k1L4fHYcw0ip+o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BRo8S81MQd4TfHlOIrqqmDcAbB61O6QtmK3MLNVOIVxYTqrf2P/mhxoQuvUyWlgM6siTFPhW88guwWudzx8+1xpxIiq1IbUr4zLebZJNTBehCVhsqD7zbegAJ4ZZMVq+89zqWcachvf0O78MzYSMbv9LAqj3X78DjmLWOxx1rHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f9gxrmNX; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="f9gxrmNX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C222A1F000E9; Sat, 15 Aug 2026 06:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775888; bh=ImtzAukgez6GTPPcpka5eNR/jTUuZTZVo5Xk/0sLvR8=; h=From:To:Cc:Subject:Date:Reply-To; b=f9gxrmNXBZ+qxpbLQ720sV79itHiPUKxlLId/akNEJwI5hfSk4wN4ao/2vPs5Vy93 Mi1F5zWrCtnkSu8T5tJwJclohUeTbAlArYbegclI+qH7AnCZ6x6HZtFmYPCOXSAYJ/ 9CMfbVej17ueF+sG3nE5hp3tQCSzhBoPq8Pn1tQI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74389: RDMA/hns: Fix log flood after cmd_mbox failure Date: Sat, 15 Aug 2026 15:11:56 +0900 Message-ID: <2026081506-CVE-2026-74389-057b@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2766; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9/QVtfVMIBQ5IFVSjJ5weMfOpT5YKsEZVSN3J0FeuwA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjFKRD50NClhqnaxe930wTbQPn2Md1jnZunSLVrr1Q a5Ac6uOWBYGQSYGWTFFli/beI7urzik6GVoexpmDisTyBAGLk4BmMgSO4b5mUbz044WbJ/g9HbD 1HvrFE59alzrwrBg7dWrXamnjBd8neHKt3bp1Nd1kvquAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix log flood after cmd_mbox failure hns_roce_cmd_mbox() is the command interface between driver and hardware. When hardware is abnormal, the unlimited error printings after hns_roce_cmd_mbox() failure will cause log flood and even system crash. Replace ibdev_err() and ibdev_warn() with their ratelimited versions in the error handling path after hns_roce_cmd_mbox() (and its wrappers hns_roce_create_hw_ctx/hns_roce_destroy_hw_ctx) fails. The Linux kernel CVE team has assigned CVE-2026-74389 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit 9a4435375cd151e07c0c38fa601b00115986091b and fixed in 6.12.97 with commit 7d9fbee252f84de3e6947a40eec01481c9d8afbb Issue introduced in 4.9 with commit 9a4435375cd151e07c0c38fa601b00115986091b and fixed in 6.18.40 with commit 66f44ec974ab372e4e1ee9eac4245237c94e8f68 Issue introduced in 4.9 with commit 9a4435375cd151e07c0c38fa601b00115986091b and fixed in 7.1.5 with commit f3c9e84268e9fa613d40d6c138fb6969c35879b5 Issue introduced in 4.9 with commit 9a4435375cd151e07c0c38fa601b00115986091b and fixed in 7.2-rc1 with commit bbd97d71e53e551890e4115ad9de46b5f2ac0858 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-2026-74389 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_cq.c drivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_mr.c drivers/infiniband/hw/hns/hns_roce_srq.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/7d9fbee252f84de3e6947a40eec01481c9d8afbb https://git.kernel.org/stable/c/66f44ec974ab372e4e1ee9eac4245237c94e8f68 https://git.kernel.org/stable/c/f3c9e84268e9fa613d40d6c138fb6969c35879b5 https://git.kernel.org/stable/c/bbd97d71e53e551890e4115ad9de46b5f2ac0858