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 4B3494AF9C8 for ; Fri, 11 Sep 2026 19:53:37 +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=1789156425; cv=none; b=E9tycs0E2u2xZSSV8SeTWygU/Rj/wFl29p/5Y7aLoAAWzLzWkoTrUG+EWHFXJcI0ROhtjuIkOJazbTwjnLC8Tm5KPS0eTIHzYJ3CTGR/EFdKTb8gV7VpT63ZZUdCVrYzrqO6n0pP2QweTo3fKN/sdjtTvMg0FAK+mnrQeQ2Omtg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156425; c=relaxed/simple; bh=TcoX/mPCO0Agn2iZPD4lE6zxA1eOSN9q6DaHgJ66vck=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sNxe6debmBPsq9dXDfntBbbh36US5HAskmrnemHEeHCdU2/XO3LjlTKoLAqyGwbeogBgLRc3cKHDqSrCcUpcWmi3w0G1kGPEJWgVwZVSNkuYXeFW8I0TyBIKFa5P4PuJ2VWArxQI7by49M+LX4vYxZFovEUowPbHJ4d7XhNYyF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wHOQQ37o; 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="wHOQQ37o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FC791F0089A; Fri, 11 Sep 2026 19:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156417; bh=TIT5cpMxv1M61vC1bKxQf6r1fjpFvO+nGgvmEeriuIo=; h=From:To:Cc:Subject:Date:Reply-To; b=wHOQQ37oomD6+4WOC+NDK3usY1SG3KNxf7JRSC/3wNqABgXXG85F8ipJNwi6BqJXl deofXiF1QihlYgvh61/QV/krXCB4OPmd/s85t0QMBTpa6pmGtULW+3sgMR9eyD4gFa 3s6lTiyFuZFUrmFNt9QrTGjgY4xoSTIRxsOl3EHY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89509: RDMA/ionic: Embed counter driver data in rdma_counter allocation Date: Fri, 11 Sep 2026 21:43:18 +0200 Message-ID: <2026091112-CVE-2026-89509-2359@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=2779; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=s+xoBzzPyOsh/Ap4oZYe2Jz1Td+VuDjF3WJNAJuiHOo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIiPaemQbntoFfUy070jyvR1zps094XjE40cLxVT/H T9d9CGuI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyah7DgvUHOudffZ+79GDH Bd8Iv+I1d5v2HWFYsCZxgVhcR5qUUcZCg/qn+0Kk9Pd5AQA= 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/ionic: Embed counter driver data in rdma_counter allocation Commit 7e53b31acc7f ("RDMA/core: Create and destroy rdma_counter using rdma_zalloc_drv_obj()") requires drivers implementing counter ops to embed struct rdma_counter in a driver-specific struct, register its size via INIT_RDMA_OBJ_SIZE, and provide a counter_init callback. The ionic driver was merged without this adaptation, causing a NULL pointer dereference in alloc_and_bind() since rdma_zalloc_drv_obj() allocates zero bytes when size_rdma_counter is unset. Consolidate struct ionic_counter into a new struct ionic_rdma_counter that embeds struct rdma_counter, replace the xarray with a lightweight ida for ID allocation, and add the required counter_init and INIT_RDMA_OBJ_SIZE declarations. The Linux kernel CVE team has assigned CVE-2026-89509 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit ea4c399642b85dc30f44d90ee805c6a18fa03062 and fixed in 6.18.51 with commit c98197ee3cd28288da13dc9881bb9e74daa7cbbc Issue introduced in 6.18 with commit ea4c399642b85dc30f44d90ee805c6a18fa03062 and fixed in 7.2.4 with commit 08b8630b557828aedb1d9ef0a6e2ec421f334ee2 Issue introduced in 6.18 with commit ea4c399642b85dc30f44d90ee805c6a18fa03062 and fixed in 7.3-rc1 with commit cf3ebd89e754015625fee90aa938f6bc79a2c974 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-89509 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/ionic/ionic_hw_stats.c drivers/infiniband/hw/ionic/ionic_ibdev.h 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/c98197ee3cd28288da13dc9881bb9e74daa7cbbc https://git.kernel.org/stable/c/08b8630b557828aedb1d9ef0a6e2ec421f334ee2 https://git.kernel.org/stable/c/cf3ebd89e754015625fee90aa938f6bc79a2c974