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 3B8672E6CDE for ; Wed, 1 Oct 2025 11:56:58 +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=1759319819; cv=none; b=Q1Aoj5YIy7skEU62Y2xjcKR5hjHr75FekxTQfn2rkXlLGdta/iWbnFKdCrJ6gNzfnS02a6ER1XtLbS2PLxtc/D3jm/3Vtc6W79F7ZvNvGykD7h773bIvU33yzDPsRx/WuT6L49m6qeTXzQzC+pm+9hvb2a5+vyCH0Zex02oAYTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319819; c=relaxed/simple; bh=bMt0hSRick2XbVDyDWsAIhHGwYLFfjBFWiLKqtk4FQg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cg5i3Z5XMpzqzbn1XOG6SrwUkKTrBWn35xDOb40BOBGWJ3/MpJJuKT1U0t5M+KqhWvBxRPFi9COZ7pRX+V6b2wh2A9g8DdtMoQaaKWXUYCrGYEaDQwpO9CsddBi0hZv2tCLeK1NgRvqIxvCs0Ae5Pux9+FAavo7Bttef8B3ex6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iffoTm6w; 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="iffoTm6w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 485C9C4CEF4; Wed, 1 Oct 2025 11:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319818; bh=bMt0hSRick2XbVDyDWsAIhHGwYLFfjBFWiLKqtk4FQg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=iffoTm6wcEp7ZAHsin7hrsgmZoK+m9G8OP0yNE6fiCCe/otcZXyMAC97b6od5iHfQ cs1hPhT7KSVO043z1gG8wJROh+vO/y1oAKMPNBwDtEm2s0VZXU0aOkC1xf94/wA+fq r5AJbRcn8ArbXqxkphwaQ701JUitYdp2+r369wjo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53504: RDMA/bnxt_re: Properly order ib_device_unalloc() to avoid UAF Date: Wed, 1 Oct 2025 13:45:56 +0200 Message-ID: <2025100128-CVE-2023-53504-ccc8@gregkh> X-Mailer: git-send-email 2.51.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=1869; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W2NwCyl0bCeWEYBi+w7LNbPTBdGVg4RxgzDFV2eQBeU=; b=kA0DAAIRMUfUDdst+ykByyZiAGjdFFig/M0WhdRtHtoDlt1TgH8ubgY/f/nkedtdEN8Y9Hcyb ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmjdFFgACgkQMUfUDdst+ym+QwCfYLFI qHsAecRR4OPFksc6PsAv1IMAn0oAPM6Hfszm1Mg8FBfnT20h1NpP 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/bnxt_re: Properly order ib_device_unalloc() to avoid UAF ib_dealloc_device() should be called only after device cleanup. Fix the dealloc sequence. The Linux kernel CVE team has assigned CVE-2023-53504 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 6d758147c7b80a46465f72e9e6294d244ee98a21 and fixed in 6.4.11 with commit c95863f6d970ef968e7c1f3c481f72a4b0734654 Issue introduced in 6.3 with commit 6d758147c7b80a46465f72e9e6294d244ee98a21 and fixed in 6.5 with commit 5363fc488da579923edf6a2fdca3d3b651dd800b 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-2023-53504 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/bnxt_re/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/c95863f6d970ef968e7c1f3c481f72a4b0734654 https://git.kernel.org/stable/c/5363fc488da579923edf6a2fdca3d3b651dd800b