CVE-2026-68290
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
10/08/2026
Last modified:
30/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
rds: tcp: unregister sysctl before tearing down listen socket<br />
<br />
rds_tcp_exit_net() frees the per-netns RDS TCP listen socket via<br />
rds_tcp_kill_sock() before unregistering the per-netns sysctl table. Since<br />
rds_tcp_skbuf_handler() derives the netns from<br />
rtn->rds_tcp_listen_sock->sk, a concurrent sysctl write can race with<br />
netns teardown and dereference the freed socket/sk.<br />
<br />
KASAN reports the race as:<br />
<br />
BUG: KASAN: slab-use-after-free in rds_tcp_skbuf_handler+0x2aa/0x2e0<br />
rds_tcp_skbuf_handler net/rds/tcp.c:721<br />
proc_sys_call_handler fs/proc/proc_sysctl.c<br />
vfs_write fs/read_write.c<br />
__x64_sys_pwrite64 fs/read_write.c<br />
<br />
Fix this by unregistering the RDS TCP sysctl table before calling<br />
rds_tcp_kill_sock(). unregister_net_sysctl_table() prevents new sysctl<br />
handlers from starting and waits for in-flight handlers to finish, so<br />
the listen socket can then be released safely. The fix was tested<br />
against the linked reproducer.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/167e54c703ccd4fa028feb568b0d1002020cff86
- https://git.kernel.org/stable/c/16df2d154ec82e2f7e7585b4fa154751ba37729a
- https://git.kernel.org/stable/c/3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d
- https://git.kernel.org/stable/c/66fd678eef1bc2862bde5e7a0f6106256de74f30
- https://git.kernel.org/stable/c/80fffed08dc1c10e971066941d2daa56253f1552


