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 AA8724ED18A for ; Thu, 17 Sep 2026 16:20:29 +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=1789662031; cv=none; b=BPaUfi9oJYtJpqX2GPCoWJPSCstibbOM4ILYyB9RHBrIF5wLeIrTEJYrBgzw3onwt3TYI3FqzssnSgnvyhZUjsVko561YgEld39KPVNA+KQF2HrDuO4CGUhgum84vHjhnKL5MZFKM3NfxlnVW54JqvSldM4v9GHOTeoykMX6od4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662031; c=relaxed/simple; bh=SMAfFyIupj1A5nMXPaq3XGn9zfUWBKQSU4XyCrDDkHo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LgeKF4Nkx2ldcAE+t3wfXMt4cyQvffe953R88qEjtBcwAkkDwEF3u2X+2Q/JMErsLoaPidaReqLT6T6yGjMdzdpI0N4xddmqEsSflckrJAFClsY9zWWNwcZDvcUVvibUUk2LHGbgASbQP76qgMxKa0dv9r2YZLkyoLZ4hfczWKA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fzs84Elv; 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="fzs84Elv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E71151F000FF; Thu, 17 Sep 2026 16:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662029; bh=ux0+aijobVc7xicZUTrbElePiE8Lb/TkWU6qkbCq3Ks=; h=From:To:Cc:Subject:Date:Reply-To; b=fzs84ElvZi+8RlkaHZAIV0bQDx8w0AM02ReP6IXKB46BNiNHmKHXkmqgbofj5zJrE D8Js0Ligk6HzNIZpYNO9cgz5OG32bigDsAV8zzmNrzs6cY70cOwR0ZdIOZFb+EnDhT fJVQOwc1zBAtXDs2calYLMwOg05ECYivjOEGrP6c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90218: RDMA/cma: Fix WARNING in res_to_rt Date: Thu, 17 Sep 2026 17:10:48 +0100 Message-ID: <2026091737-CVE-2026-90218-0ce3@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=5500; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hxTPCY4re8+gRjoZG42NpDpDaLmcga3AkHSueb6PwgM=; b=kA0DAAIRMUfUDdst+ykByyZiAGqsEIWjnwWaOrew5QqSzUTX5W2EWP4YTrAljd4zulxn8y6I/ IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmqsEIUACgkQMUfUDdst+ykgVgCgsDfh tRF5nnN6UwnJNG6of7hdXP8AoLif3rW3TeFBPnGV74Vkv1GOIwkO 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/cma: Fix WARNING in res_to_rt syzbot reported a WARN_ON(!res->dev) in res_to_rt() triggered via addr_handler() during asynchronous address resolution: " WARNING: drivers/infiniband/core/restrack.c:138 at res_to_rt+0x1c4/0x230 CPU#1: kworker/u8:4/59 Modules linked in: CPU: 1 UID: 0 PID: 59 Comm: kworker/u8:4 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Compute Engine, BIOS Google 07/24/2026 Workqueue: ib_addr process_one_req RIP: 0010:res_to_rt+0x1c4/0x230 drivers/infiniband/core/restrack.c:138 RSP: 0018:ffffc9000201f850 EFLAGS: 00010293 RAX: ffffffff88d00ce5 RBX: ffff88807f0fd4f8 RCX: ffff88801e6e0000 RDX: 0000000000000000 RSI: ffffffff8fd996f0 RDI: 0000000000000003 RBP: 0000000000000000 R08: ffff88801e6e0000 R09: 000000000000000a R10: 0000000000000009 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff1100fe1fa9f R14: 0000000000000000 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff888125012000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00001d559c3d2000 CR3: 0000000077c4c000 CR4: 00000000003526f0 Call Trace: rdma_restrack_add+0x5a/0x8a0 drivers/infiniband/core/restrack.c:236 addr_handler+0x41a/0x5a0 drivers/infiniband/core/cma.c:3534 process_one_req+0x2eb/0x540 drivers/infiniband/core/addr.c:624 process_one_work kernel/workqueue.c:3375 [inline] process_scheduled_works+0xc4e/0x1630 kernel/workqueue.c:3458 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3539 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 " In addr_handler(), cma_acquire_dev_by_src_ip() is called to populate id_priv->cma_dev and bind the associated ib_device to id_priv->id.device. If cma_acquire_dev_by_src_ip() returns an error (non-zero status), the ID remains unassociated with any RDMA device. Previously, rdma_restrack_add(&id_priv->res) was invoked unconditionally even when cma_acquire_dev_by_src_ip() failed, passing a resource with a NULL dev pointer and triggering the WARN_ON assertion in res_to_rt(). Fix this by only adding the resource to restrack when acquiring the device succeeds. The Linux kernel CVE team has assigned CVE-2026-90218 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.37 with commit c5ebaca402f5c5bd61ac8316feb2aa3a0be4d4a8 and fixed in 5.10.270 with commit 1d7e55ea64dd15769318ba2e0fe0956db82ba3c3 Issue introduced in 5.13 with commit cb5cd0ea4eb3ce338a593a5331ddb4986ae20faa and fixed in 5.15.221 with commit 39e83bb77fc92344cd62a373b311f096d812e548 Issue introduced in 5.13 with commit cb5cd0ea4eb3ce338a593a5331ddb4986ae20faa and fixed in 6.1.188 with commit 9c80273d663959504957606b9a24fe901ee2a4a1 Issue introduced in 5.13 with commit cb5cd0ea4eb3ce338a593a5331ddb4986ae20faa and fixed in 6.6.157 with commit 2a63cb9ea862ac7d947952b497eef6520853538c Issue introduced in 5.13 with commit cb5cd0ea4eb3ce338a593a5331ddb4986ae20faa and fixed in 6.12.110 with commit f72957e0b31f2962f4c1089a9223f1206aa26983 Issue introduced in 5.13 with commit cb5cd0ea4eb3ce338a593a5331ddb4986ae20faa and fixed in 6.18.52 with commit 544e40805dbb6cfe64916bd4c8b238fec585ac2a Issue introduced in 5.13 with commit cb5cd0ea4eb3ce338a593a5331ddb4986ae20faa and fixed in 7.2.6 with commit 64a2bd4cfc16c24f0a0e6321a2fd00ffde3e0a5b Issue introduced in 5.13 with commit cb5cd0ea4eb3ce338a593a5331ddb4986ae20faa and fixed in 7.3-rc1 with commit c6d1ec4fbe56492bb88987d577f04a5fb6955f26 Issue introduced in 5.11.21 with commit 073fdf539d4c022162db3d77a5afca1710f0de2d Issue introduced in 5.12.4 with commit fa37a461bd6d9ee86e891ba3e4074a450e44c881 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-90218 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/core/cma.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/1d7e55ea64dd15769318ba2e0fe0956db82ba3c3 https://git.kernel.org/stable/c/39e83bb77fc92344cd62a373b311f096d812e548 https://git.kernel.org/stable/c/9c80273d663959504957606b9a24fe901ee2a4a1 https://git.kernel.org/stable/c/2a63cb9ea862ac7d947952b497eef6520853538c https://git.kernel.org/stable/c/f72957e0b31f2962f4c1089a9223f1206aa26983 https://git.kernel.org/stable/c/544e40805dbb6cfe64916bd4c8b238fec585ac2a https://git.kernel.org/stable/c/64a2bd4cfc16c24f0a0e6321a2fd00ffde3e0a5b https://git.kernel.org/stable/c/c6d1ec4fbe56492bb88987d577f04a5fb6955f26