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 C09CC3D333C for ; Fri, 28 Aug 2026 06:51:58 +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=1787899920; cv=none; b=bkIVvkg3Y/HTroTYWtJ16Qh3hAsJ9x4L/ydVn1iOQ/l+8jkXP0Dc5BAmNooDLPBvpk96xi2NPXVQgPtKcJVPHp0RnUFNNsZnvfWzq4K54zWGhgOaQzq1FV0DUTjKip4ZKRsKzgBIa+7lVLx7jFtWJnLQeo5r6hMNwJarzvWnfSQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899920; c=relaxed/simple; bh=8qENLHrMHvyWjNEXb0O0PWi09XKBXXxtZleLNdfPqVc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oJRGjPm5DynTtRuKpcJOqzaCpZDwgara6t/X6NNCzDPy4gl/vJLe6qB/ayuNb+1YrP6OTHwl3K03lGzqCgPSEgsqGO0T0f6Lnm0Ls3vhP5HSER0/6Or/CCTPvamoGUHoMpBoTBnRAmHflxjAxgrtq6vIb84bA0UCs7+cy94djEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JEI0+TEV; 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="JEI0+TEV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5F7A1F00A3A; Fri, 28 Aug 2026 06:51:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899918; bh=ERkqMnerW0Mflf0E9ByUW2lmg+CG6jN6UX4G6/Pf7uY=; h=From:To:Cc:Subject:Date:Reply-To; b=JEI0+TEV1oJs3uUXXR3a0X3QxBJ1sSme0XQHDHW9UaT55GzC2eRWfgQEY0LL60QdY cHPuDbrEbZCQbwnb8aLlrym5VaRRuhWPY1WZAym8qlC42x7M016D/P5mnfQ6dorMSw vxpHOFpF1qZtKy95JTIuWfSCq/9mdKUwqL9TPVY0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80625: RDMA/hns: Fix memory leak of bonding resources Date: Fri, 28 Aug 2026 08:49:02 +0200 Message-ID: <2026082837-CVE-2026-80625-cd6e@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=2475; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kwayYO0YX44YBRkCQ3JtiOyzIR3dGp05F8R5kjGWkWA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9V13qvpO33Vy+ZegXVeNG9R3rdgoe2Xd9Yy/LWYvf LYcNrtzuyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm4rWYYcExRukXKWWv3r6X btx3Ti2fUb5ISIVhwe4Jz2fWNE2Mvlxmpmu2b3nNoeADLwA= 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 memory leak of bonding resources In a corner case of concurrent driver removal and driver reset, bonding resource is first released in hns_roce_hw_v2_exit() during driver removal, and then is allocated again in hns_roce_register_device() during driver reset. This leads to memory leak because the release timing has already passed. This may also lead to a kernel panic as below because of the leaked notifier callback: Call trace: 0xffffa20fccc04978 (P) raw_notifier_call_chain+0x20/0x38 call_netdevice_notifiers_info+0x60/0xb8 netdev_lower_state_changed+0x4c/0xb8 As Sashiko suggested, the teardown order of bonding resources should be inverted to make sure the resources are released when the driver is removed. The Linux kernel CVE team has assigned CVE-2026-80625 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit b37ad2e290fc52e575572b04803a4f93f584df6c and fixed in 7.1.5 with commit bc4caea7a82bbcf94a34eff7094e7f9b501680ab Issue introduced in 6.19 with commit b37ad2e290fc52e575572b04803a4f93f584df6c and fixed in 7.2 with commit c0bd03b850d81a8914168d87ddf7f6ffa58875ef 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-80625 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/bc4caea7a82bbcf94a34eff7094e7f9b501680ab https://git.kernel.org/stable/c/c0bd03b850d81a8914168d87ddf7f6ffa58875ef