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 70FF43CF97F for ; Mon, 10 Aug 2026 12:09:09 +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=1786363750; cv=none; b=CRJXtorjzbodlNyX4pfktfQqW8bAC8eedJKQsiziJdXeugQCLGus8rdTcOvOKwi7klkDlM7zyy3BUorpY0vQkG0G0+9w4q/Z62DnfwPye6JMhzF9LI6amdPknHRJhrCaDrIuH3zVanLuolTisdGXtfxW6TLjoR+VfTU0hL1tbmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363750; c=relaxed/simple; bh=uwrZ6UeSdleYxdaw2shuEna1NB5zgAXA237CMtSMVVI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=e8vij+UBoDdxKzsycEXm7m1P1WGSq3+es7C6ttd9LHYXe//ywNDNBzHKULln3xG+CEP6SrK6YAFjPGOtJ9/vqiuK6Zy2I5XyjYMPKJpKPais7fGVkkzOioHY3cEkMr/CcI1RBg8D8AHts4mwHTPdab8Mh9P4dEeTg8JrAgijduA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ncch+bK/; 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="Ncch+bK/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B1131F000E9; Mon, 10 Aug 2026 12:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363749; bh=TqiKBQNOADqcrMsbwJ3Vj7FnXTa080k9eBlyt1Wsl3A=; h=From:To:Cc:Subject:Date:Reply-To; b=Ncch+bK/0fXbo4+EGfsyJjY7+EVEXQ/T++uWsGxaKHt5ElQtfjUz6ZuOU6KX6xgzm daLIoEvoDLZmqMkz1KFckSZOTgiIKMvjogFEptuhV8NIhSii6b1AHnH/oxn+RJ2dgg 90Zz5VGAYbdWyeN8iWXlZ2qDPnKHYEcMdtt/wZTE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68290: rds: tcp: unregister sysctl before tearing down listen socket Date: Mon, 10 Aug 2026 14:00:07 +0200 Message-ID: <2026081027-CVE-2026-68290-413d@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=3175; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iu1JNNhwQBIhFqpWd7743SJN77g0LzpvetuVnSz3YRE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe5Y7Xz0rcmHXxl8noi+Xpm1Y0Hu+5s2fxr7c9YZ32 icwG7kIdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEElwY5mdcv9pyaEKk6ET1 yKBlIW9eX6ufGcwwT2eCxG+BR9MXHft3+q7SX3WvFVsVVwMA 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: tcp: unregister sysctl before tearing down listen socket rds_tcp_exit_net() frees the per-netns RDS TCP listen socket via rds_tcp_kill_sock() before unregistering the per-netns sysctl table. Since rds_tcp_skbuf_handler() derives the netns from rtn->rds_tcp_listen_sock->sk, a concurrent sysctl write can race with netns teardown and dereference the freed socket/sk. KASAN reports the race as: BUG: KASAN: slab-use-after-free in rds_tcp_skbuf_handler+0x2aa/0x2e0 rds_tcp_skbuf_handler net/rds/tcp.c:721 proc_sys_call_handler fs/proc/proc_sysctl.c vfs_write fs/read_write.c __x64_sys_pwrite64 fs/read_write.c Fix this by unregistering the RDS TCP sysctl table before calling rds_tcp_kill_sock(). unregister_net_sysctl_table() prevents new sysctl handlers from starting and waits for in-flight handlers to finish, so the listen socket can then be released safely. The fix was tested against the linked reproducer. The Linux kernel CVE team has assigned CVE-2026-68290 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.10 with commit de8d6de0ee27be4b2b1e5b06f04aeacbabbba492 and fixed in 6.12.101 with commit 80fffed08dc1c10e971066941d2daa56253f1552 Issue introduced in 6.13 with commit 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c and fixed in 6.18.42 with commit 16df2d154ec82e2f7e7585b4fa154751ba37729a Issue introduced in 6.13 with commit 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c and fixed in 7.1.6 with commit 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d Issue introduced in 6.13 with commit 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c and fixed in 7.2-rc5 with commit 167e54c703ccd4fa028feb568b0d1002020cff86 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-68290 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/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/80fffed08dc1c10e971066941d2daa56253f1552 https://git.kernel.org/stable/c/16df2d154ec82e2f7e7585b4fa154751ba37729a https://git.kernel.org/stable/c/3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d https://git.kernel.org/stable/c/167e54c703ccd4fa028feb568b0d1002020cff86