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 B684A3CF69E for ; Mon, 10 Aug 2026 12:12:02 +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=1786363923; cv=none; b=RXIK8Wm+yUxBsdwkIsbKo+3F1/kUdu4IbvZNgt5Z0jLvRY63Du45ToBetrf7kXEHKM4U2bfMi+fpmm8b1e5JME1MhmokN1BWFafhkdaf2wro+WXL+8Fpb0WVV7/DnLSVhy8mj1atnIgaokCYdXQxNPZzmbQj3gh6D/kc3eM0VXU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363923; c=relaxed/simple; bh=nAzl8jB+02i/aZ38LF1/0zJruuFiLmBT6P+OWgve/ck=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B+rSflMmzilqcnRFDV2BC4W/xjOSu4PymSUPcPQahjirSZ0x5qS8dGgGZFI5l5zsmHYE/1gFtJc+YFjm6QZ7ETNOf/iQ2IbqW6xW0CNHYy3o32L8eOwNykf0ZdbzoG5wuG4NWq6LcQtZ0S2wtTCyTByPL8kAk9/JCJklf2qx1fw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JKV24knT; 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="JKV24knT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 341701F000E9; Mon, 10 Aug 2026 12:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363922; bh=6D2VGG6UZngxsXmrimU86rYSNDDWicZtdYVPm3x+DZo=; h=From:To:Cc:Subject:Date:Reply-To; b=JKV24knT3MjS3QiJIRpF/2jKWcZBoYE/0oZI/PpbtzFaueJyaBKVWvUAdre3q9vuY uN4rerw0ThsSY/zZeE7eFelt48jiUsByoJV7EWQcnFU68ToKubVwz5Xmybb2qYGugM egwjEmHtKNYT1IXNJoEzjpKpsYWfR5oaLLjdXzvk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68322: rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled Date: Mon, 10 Aug 2026 14:00:39 +0200 Message-ID: <2026081033-CVE-2026-68322-fd29@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=3862; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rMyNKWXYInvs+WXBpfDEysWJkLWNSnGORJ0KtYWVlzA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe9YyMWpsj7ht97FpRerh8jv1Jv9uszXb2114lLR1r vhHIc2XHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR/YwMc4V3f/dfXGzyh6mm uMngPmfe0lpmK4YFs9fJ7/WKmzIzx3biApuQqSEbNBP3AAA= 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: rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled When booting with the 'ipv6.disable=1' parameter, inet6_addr_lst is never initialized because inet6_init() exits before addrconf_init() is called to initialize it. An attempt to bind an RDS socket to an ipv6 address results in a crash in __ipv6_chk_addr_and_flags() KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] RIP: 0010:__ipv6_chk_addr_and_flags+0x1df/0x7e0 Call Trace: ipv6_chk_addr+0x3b/0x50 rds_tcp_laddr_check+0x155/0x3b0 [rds_tcp] rds_trans_get_preferred+0x15d/0x2d0 [rds] ? trace_hardirqs_on+0x2d/0x110 rds_bind+0x1433/0x1d60 [rds] ? rds_remove_bound+0xd50/0xd50 [rds] ? aa_af_perm+0x250/0x250 ? __might_fault+0xde/0x190 ? __sys_bind+0x1dc/0x210 __sys_bind+0x1dc/0x210 ? __ia32_sys_socketpair+0x100/0x100 ? restore_fpregs_from_fpstate+0x53/0x100 __x64_sys_bind+0x73/0xb0 ? syscall_enter_from_user_mode+0x1c/0x50 do_syscall_64+0x34/0x80 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f47f8269ea9 The following code reproduces the issue: struct sockaddr_in6 addr; s = socket(PF_RDS, SOCK_SEQPACKET, 0); memset(&addr, 0, sizeof(addr)); inet_pton(AF_INET6, ADDRESS, &addr.sin6_addr); addr.sin6_family = AF_INET6; addr.sin6_port = htons(PORT); bind(s, &addr, sizeof(addr)); Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with Syzkaller. The Linux kernel CVE team has assigned CVE-2026-68322 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 and fixed in 6.6.151 with commit 8e48d7ab1e01936a172ff31531904b003895fd8c Issue introduced in 4.19 with commit eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 and fixed in 6.12.103 with commit a8302e758050e6a922765aee8d220a4fd350f52d Issue introduced in 4.19 with commit eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 and fixed in 6.18.44 with commit f6787fdffcae5490c779f0f3f33b11597525d1ae Issue introduced in 4.19 with commit eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 and fixed in 7.1.6 with commit 00d5707217b5972554898ff734ae7b71bce704e6 Issue introduced in 4.19 with commit eee2fa6ab3225192d6d894c54a6fb02ac9efdff6 and fixed in 7.2-rc5 with commit 9c805e592a29be9e4e61ff1bd567da04aa8fd6f9 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-68322 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: net/rds/ib.c net/rds/ib_cm.c net/rds/tcp.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/8e48d7ab1e01936a172ff31531904b003895fd8c https://git.kernel.org/stable/c/a8302e758050e6a922765aee8d220a4fd350f52d https://git.kernel.org/stable/c/f6787fdffcae5490c779f0f3f33b11597525d1ae https://git.kernel.org/stable/c/00d5707217b5972554898ff734ae7b71bce704e6 https://git.kernel.org/stable/c/9c805e592a29be9e4e61ff1bd567da04aa8fd6f9