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 145F439B94D for ; Wed, 3 Jun 2026 15:51:31 +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=1780501892; cv=none; b=aokDzaaqN1cfXa8gVujgIC20BdbEss0O8tToY7jCATIqOAAn4K/87MxYRfGK7qUnbPYfjdcK621rW8LaIwafb7Mr2Ua0RP52TVXcssA1FsM0FB4TzH4Sg1gdG35WDqfGqpQIhdxKgmviDyL9/mvaxKBsBJZX+/bYz4m8fb6JoQk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780501892; c=relaxed/simple; bh=MqHwAr5byIfYNG4CtW9p0rD+y0mpx37ILJXhKPRPIo4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dbjM7FhC+dL7AuZEG/uI8e27AgCB8YWWV9uyY1atnWRtxlFggKMxDBmaxZd47Ucw9qnQLmWbE0MjmffuxHJfzKrQ2WI0xBBOZ3xnCAscjxJjKcjKPcbYL0+G3T1S9iLOvT9SqiR8x5GmabfsaUKZV+cGgYQyldSlZ7VTWXMhCjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VLWtPSF3; 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="VLWtPSF3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 574C31F00893; Wed, 3 Jun 2026 15:51:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780501891; bh=P9cJbWDJK5ll/GBJPsF66STTWEJiANz9ZRfQVEnlVaY=; h=From:To:Cc:Subject:Date:Reply-To; b=VLWtPSF3Ep+LAiu3EZCEHCI80KrSAk5OhbJEJghvFE0vJqh6Zb7uOsXpj0MsQmftb kGu7z+C6LD+qunPa0pFrb1t4yOmG5ZpgFHSm06EyiFqp3/ZLXt8SW0hVS+4ejbTuQ8 8lYqYdCcYqYAUhCmtLAITA2HyzVT5GVy62MVSYhk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46265: RDMA/hns: Fix WQ_MEM_RECLAIM warning Date: Wed, 3 Jun 2026 17:49:54 +0200 Message-ID: <2026060337-CVE-2026-46265-492c@gregkh> X-Mailer: git-send-email 2.54.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=3629; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cWPxlUbXMRqNDTs4UA6/V10K1audYNY/8Rj17sxG4hQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkKvoJp7XuP56vvYl9c9Gdp7HGWY1/suQ7vy2h5dOtTR e3VhlvMHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRsm6GWczrL97w2Bw+eaLq vq+GWx01T11d6sowh/O/dqjU3nA94VurK19fzGMLymvgAAA= 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 WQ_MEM_RECLAIM warning When sunrpc is used, if a reset triggered, our wq may lead the following trace: workqueue: WQ_MEM_RECLAIM xprtiod:xprt_rdma_connect_worker [rpcrdma] is flushing !WQ_MEM_RECLAIM hns_roce_irq_workq:flush_work_handle [hns_roce_hw_v2] WARNING: CPU: 0 PID: 8250 at kernel/workqueue.c:2644 check_flush_dependency+0xe0/0x144 Call trace: check_flush_dependency+0xe0/0x144 start_flush_work.constprop.0+0x1d0/0x2f0 __flush_work.isra.0+0x40/0xb0 flush_work+0x14/0x30 hns_roce_v2_destroy_qp+0xac/0x1e0 [hns_roce_hw_v2] ib_destroy_qp_user+0x9c/0x2b4 rdma_destroy_qp+0x34/0xb0 rpcrdma_ep_destroy+0x28/0xcc [rpcrdma] rpcrdma_ep_put+0x74/0xb4 [rpcrdma] rpcrdma_xprt_disconnect+0x1d8/0x260 [rpcrdma] xprt_rdma_connect_worker+0xc0/0x120 [rpcrdma] process_one_work+0x1cc/0x4d0 worker_thread+0x154/0x414 kthread+0x104/0x144 ret_from_fork+0x10/0x18 Since QP destruction frees memory, this wq should have the WQ_MEM_RECLAIM. The Linux kernel CVE team has assigned CVE-2026-46265 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit ffd541d45726341c1830ff595fd7352b6d1cfbcd and fixed in 6.1.165 with commit 12761bd0ae16a80f237c2a65ab1b1064076cc74a Issue introduced in 5.7 with commit ffd541d45726341c1830ff595fd7352b6d1cfbcd and fixed in 6.6.128 with commit 70a5eb757ace5bd627a36f04d871eaf85def424d Issue introduced in 5.7 with commit ffd541d45726341c1830ff595fd7352b6d1cfbcd and fixed in 6.12.75 with commit 562c96b1393da2df3ea62173c84117b39da353b9 Issue introduced in 5.7 with commit ffd541d45726341c1830ff595fd7352b6d1cfbcd and fixed in 6.18.14 with commit 0cbec8b49270f3f0600b8e3ef5e8f0d233dcea27 Issue introduced in 5.7 with commit ffd541d45726341c1830ff595fd7352b6d1cfbcd and fixed in 6.19.4 with commit c5ef9a1bcf5b597695d9c2e6ac452e9f89521862 Issue introduced in 5.7 with commit ffd541d45726341c1830ff595fd7352b6d1cfbcd and fixed in 7.0 with commit c0a26bbd3f99b7b03f072e3409aff4e6ec8af6f6 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-46265 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_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/12761bd0ae16a80f237c2a65ab1b1064076cc74a https://git.kernel.org/stable/c/70a5eb757ace5bd627a36f04d871eaf85def424d https://git.kernel.org/stable/c/562c96b1393da2df3ea62173c84117b39da353b9 https://git.kernel.org/stable/c/0cbec8b49270f3f0600b8e3ef5e8f0d233dcea27 https://git.kernel.org/stable/c/c5ef9a1bcf5b597695d9c2e6ac452e9f89521862 https://git.kernel.org/stable/c/c0a26bbd3f99b7b03f072e3409aff4e6ec8af6f6