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 921903D1CC6 for ; Fri, 28 Aug 2026 06:51:16 +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=1787899877; cv=none; b=ZqsCQHXLrvf1D2TfOz8n7c5PeXOPzr6vsbr8C2NJwikdcRYuqHI6WDAv+DaLqthLOTJ95Vl2ohvdsU8Iv9LPWixghbhtQFf1Ej0v9rc00Pr+KZcDfrmyOSlwJCQi/I7XvKRTq9Q6b9w940Ui9FSUQT5htn7C3YJDtfQX5VliY0k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899877; c=relaxed/simple; bh=yExm4TpxnBPY+ukar3qcj+v4VBjgDo2cLY7U2doVHCc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T2AQXKTuJVQeMu6kDkp65t2xWNPAObRTqVac3dk8uw+sF/IhtZ2fFe3AkSrcep5IZJKd2h+GJJbToW2cwQZaTjmhERBz6X1zFl7Xu9Bf3B8IhmRQsTH0xu4uQZ5gm5FyF9fvB2bbDM7L3ohNZQnx9OPta3QR6JWK1Aq0Al80zv0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ygeOVCk3; 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="ygeOVCk3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D99D51F000E9; Fri, 28 Aug 2026 06:51:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899876; bh=dfaA6DoyOxbpfi2kFgLRGlKPRDVyJvyKbIXgnTnHHPc=; h=From:To:Cc:Subject:Date:Reply-To; b=ygeOVCk3d15/eO8JxoKHu1x6PwZcH16h8maVXz70/9NVShN063DZtDbGdC44TPBh/ NIt8oaAkjSWKRfVSq/xgTH5xq/CnL83bB5WDrmV9+0L4oGVvblcPJh2bmDuw5uEzvb EIKjVrcDrn1I8fEUy986kILOcE5XXLdfIAkYrjMI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80647: RDMA/hns: Fix warning in poll cq direct mode Date: Fri, 28 Aug 2026 08:49:24 +0200 Message-ID: <2026082842-CVE-2026-80647-3d7f@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=3940; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rfvZwp0qyzlDRwwAle6qYS5421BwQxk/zNHp/QmAMog=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9b2CagTPC8Xd3B189pfni9wyFr5tJe0iIUWNF7tM9 undZ+7siGFhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIloHWGYn/s323hObBGL57w8 RpcSZSWv3oNZDNNLOv/fm7Xzzc7EqUKGLyQ2NhZdNgcA 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 warning in poll cq direct mode CQs allocated by ib_alloc_cq() always have a comp_handler. Though in direct mode this handler is never expected to be called, it is still called when the driver is reset, triggering the following WARN_ONCE(): Call trace: ib_cq_completion_direct+0x38/0x60 hns_roce_cq_completion+0x54/0x90 (hns_roce_hw_v2] hns_roce_handle_device_err+Ox1c8/0x340 [hns_roce_hw_v2] hns_roce_hw_v2_uninit_instance.constprop.0+0x34/0x70 [hns_roce_hw_v2] hns_roce_hw_v2_reset_notify+0xc4/0xe0 [hns_roce_hw_v2] hclge_notify_roce_client+0x60/0xbc [hclge] hclge_reset_rebuild+0x48/0x34c [hclge] hclge_reset_subtask+0xcc/0xec [hclge] hclge_reset_service_task+0x80/0x160 [hclge] hclge_service_task+0x50/0x80 (hclge] process_one_work+0x1cc/0x4d0 worker_thread+0x154/0x414 kthread+0x104/0x144 ret_from_fork+0x10/0x18 The Linux kernel CVE team has assigned CVE-2026-80647 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 5.10.261 with commit 95b2e44bc1e5c5d93bb58e178d914dd99a3baa6f Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 5.15.212 with commit e7d363c0ffa836ac1d89657686cad241392c5eb2 Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 6.1.178 with commit c028c1977b6e61eee26bb69332453efb6513f83b Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 6.6.145 with commit a075a7acd155ffdd058e72eb3f4cce1207ebafa1 Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 6.12.97 with commit 9f05319149c14acedb83e2c2842ec4b38992ad9f Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 6.18.40 with commit 16138ea9833d6bb1bed37a3321f282242704bf02 Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 7.1.5 with commit 1e56f8886d64288cf88d80af44c7b9148aeaa98b Issue introduced in 5.5 with commit f295e4cece5cb4c60715fed539abcd62468f9ef1 and fixed in 7.2 with commit 3f19c2a3852e6ba75f3e92dd5edc4e07f3d07f4a 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-80647 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_main.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/95b2e44bc1e5c5d93bb58e178d914dd99a3baa6f https://git.kernel.org/stable/c/e7d363c0ffa836ac1d89657686cad241392c5eb2 https://git.kernel.org/stable/c/c028c1977b6e61eee26bb69332453efb6513f83b https://git.kernel.org/stable/c/a075a7acd155ffdd058e72eb3f4cce1207ebafa1 https://git.kernel.org/stable/c/9f05319149c14acedb83e2c2842ec4b38992ad9f https://git.kernel.org/stable/c/16138ea9833d6bb1bed37a3321f282242704bf02 https://git.kernel.org/stable/c/1e56f8886d64288cf88d80af44c7b9148aeaa98b https://git.kernel.org/stable/c/3f19c2a3852e6ba75f3e92dd5edc4e07f3d07f4a