Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794823203; b=anyTEjnAUL1WNWRKc+QnTAFj2ErmfhN4qIgm8dgk82EEg1RBe+GoGnIurt7VF62cUQjR MgIvaAil2Edq8OJ2x9F5U0Dnwae2+3zwlelWc2dJyPnniMnMXKjAzBgOFmIBuXoJ1t2sK Ex3cPcV23ZB8VC6GIoTFKBsBVis1R44hp2lgP5+Tt20zW57YeQq6HIm1YQ2GciMZDrl+F QnDtWyCYVINRjP22u1E5QCwjynhiNJ3cqGiHXN5Kfoj3F6PWrk+/qdDtHi6FdJ9+8BI8q NSdrb1KRjtj+vt6nByq/l6nyfwd2EvIA8AfiWroA5BzVc+khOUCY3lw6InYGDC5QPlg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794823203; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=7A0N9KnvxeqD9mOjVTRdC68P1708MkNOLpidJboXGsM=; b=JDY+k6nPMS3aKuEzVPePRgMKx92VmGghUw1bHuonUML+F8b129dUxM3TQUZByQwVpgCt QxIDprASHB5FrWVWrB0JqLZge/DvUJlk9mGUvUR+jkNAqWngcffY+3BGY7tTfpcF7BldI lHY8RyUSXRNqs3JKY80DmRt71HCHaMHOAY0thGKqcNj0voL/bBriLtqVbRxFMeILDf5Vp u7l2/rIr2OXNN83NwJOKtp/Z+BjWO5pexRg9ea9LmLGjrp2ZoY+HXEJYzsCabG8ZprkD3 c6yBHGpwF1RHv6H8xWa5syK9co9NUhEy14POYd6C+Ff1RcxKrE9tgcM7u7lChEzZRpg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=UHub87Dd; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 011A8606A333 for ; Mon, 16 Nov 2026 10:00:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=UHub87Dd Received: by smtp.kernel.org (Postfix) with ESMTPSA id 222E91F000C8; Mon, 16 Nov 2026 10:00:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794823202; bh=7A0N9KnvxeqD9mOjVTRdC68P1708MkNOLpidJboXGsM=; h=From:To:Cc:Subject:Date:Reply-To; b=UHub87DduCVUCjt21Vg7KCfqDeQi4SSxfKABtGluTfzgI3+GK7nYei/M64YMd6NK+ Kzv9wi8L7Qh8jUk5WhiP8Oou43ZIpBWvaP69HdIQWlpGVXfklDpRk7JcEFEXRqjRES hd/phADpj9IeRmuCGCBki9YQddhSCO1/v8tzpA2g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99302: nvmet-rdma: reject short connection requests Date: Mon, 16 Nov 2026 10:59:51 +0100 Message-ID: <2026111640-CVE-2026-99302-4469@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TMSAO8kjqJPi3nS9Tx08/InSn1uGicccelJA9/g4+ww=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm/rvAEpn+W/GT7q5yZay3fAgaNI2nrtuvf2LZ++V4J4 6W9tse7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiN3sZ5mkaHenZGr50vX7H 1NkS6zYapswz5mGYp//J8VS4CGcX99Npkd92Fh7SS2BiAwA= 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: nvmet-rdma: reject short connection requests nvmet_rdma_parse_cm_connect_req() treats RDMA-CM private data as a struct nvme_rdma_cm_req but accepts any nonzero private_data_len. The iWARP path allocates exactly the peer-provided length, so a six-byte MPA request reaches the parser and the hsqsize load reads two bytes past the allocation. Require the complete request structure before reading any of its fields. The decoded KASAN report is: BUG: KASAN: slab-out-of-bounds in nvmet_rdma_cm_handler (drivers/nvme/target/rdma.c:1427 drivers/nvme/target/rdma.c:1475 drivers/nvme/target/rdma.c:1614 drivers/nvme/target/rdma.c:1814) Read of size 2 at addr ff1100010459d366 by task kworker/u16:1/41 Workqueue: iw_cm_wq cm_work_handler Call Trace: dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120) print_report (mm/kasan/report.c:378 mm/kasan/report.c:482) kasan_report (mm/kasan/report.c:595) nvmet_rdma_cm_handler (drivers/nvme/target/rdma.c:1427 drivers/nvme/target/rdma.c:1475 drivers/nvme/target/rdma.c:1614 drivers/nvme/target/rdma.c:1814) cma_cm_event_handler (drivers/infiniband/core/cma.c:2181) iw_conn_req_handler (drivers/infiniband/core/cma.c:2640) cm_work_handler (drivers/infiniband/core/cm.c:2502 drivers/infiniband/core/cm.c:3858) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Allocated by task 12: __kasan_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415) __kmalloc_node_track_caller_noprof (mm/slub.c:5414 mm/slub.c:5545) kmemdup_noprof (mm/util.c:138) cm_event_handler (drivers/infiniband/core/iwcm.c:194 drivers/infiniband/core/iwcm.c:1076) siw_cm_upcall (drivers/infiniband/sw/siw/siw_cm.c:408) siw_proc_mpareq (drivers/infiniband/sw/siw/siw_cm.c:750) siw_cm_work_handler (drivers/infiniband/sw/siw/siw_cm.c:1086) The buggy address is located 0 bytes to the right of allocated 6-byte region [ff1100010459d360, ff1100010459d366) The Linux kernel CVE team has assigned CVE-2026-99302 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b and fixed in 6.12.117 with commit 22d0eb8d7aa4e45d22491d7cc1327010f19c86b9 Issue introduced in 4.8 with commit 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b and fixed in 6.18.63 with commit 36c3af0e94b6c385c4934c028cbca27e138ae1ee Issue introduced in 4.8 with commit 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b and fixed in 7.3.4 with commit c17d443d1e984a0c0840692c6435cdc455936160 Issue introduced in 4.8 with commit 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b and fixed in 7.4-rc1 with commit 635e760169a87abf03874cd4636cd91b580cb427 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-99302 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/nvme/target/rdma.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/22d0eb8d7aa4e45d22491d7cc1327010f19c86b9 https://git.kernel.org/stable/c/36c3af0e94b6c385c4934c028cbca27e138ae1ee https://git.kernel.org/stable/c/c17d443d1e984a0c0840692c6435cdc455936160 https://git.kernel.org/stable/c/635e760169a87abf03874cd4636cd91b580cb427