{"id":"CVE-2026-68290","aliases":["CVE-2026-68290"],"related":[],"kind":"vulnerability","state":"published","title":"rds: tcp: unregister sysctl before tearing down listen socket","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrds: tcp: unregister sysctl before tearing down listen socket\n\nrds_tcp_exit_net() frees the per-netns RDS TCP listen socket via\nrds_tcp_kill_sock() before unregistering the per-netns sysctl table.  Since\nrds_tcp_skbuf_handler() derives the netns from\nrtn->rds_tcp_listen_sock->sk, a concurrent sysctl write can race with\nnetns teardown and dereference the freed socket/sk.\n\nKASAN reports the race as:\n\n  BUG: KASAN: slab-use-after-free in rds_tcp_skbuf_handler+0x2aa/0x2e0\n  rds_tcp_skbuf_handler              net/rds/tcp.c:721\n  proc_sys_call_handler              fs/proc/proc_sysctl.c\n  vfs_write                          fs/read_write.c\n  __x64_sys_pwrite64                 fs/read_write.c\n\nFix this by unregistering the RDS TCP sysctl table before calling\nrds_tcp_kill_sock().  unregister_net_sysctl_table() prevents new sysctl\nhandlers from starting and waits for in-flight handlers to finish, so\nthe listen socket can then be released safely. The fix was tested\nagainst the linked reproducer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrds: tcp: unregister sysctl before tearing down listen socket\n\nrds_tcp_exit_net() frees the per-netns RDS TCP listen socket via\nrds_tcp_kill_sock() before unregistering the per-netns sysctl table.  Since\nrds_tcp_skbuf_handler() derives the netns from\nrtn->rds_tcp_listen_sock->sk, a concurrent sysctl write can race with\nnetns teardown and dereference the freed socket/sk.\n\nKASAN reports the race as:\n\n  BUG: KASAN: slab-use-after-free in rds_tcp_skbuf_handler+0x2aa/0x2e0\n  rds_tcp_skbuf_handler              net/rds/tcp.c:721\n  proc_sys_call_handler              fs/proc/proc_sysctl.c\n  vfs_write                          fs/read_write.c\n  __x64_sys_pwrite64                 fs/read_write.c\n\nFix this by unregistering the RDS TCP sysctl table before calling\nrds_tcp_kill_sock().  unregister_net_sysctl_table() prevents new sysctl\nhandlers from starting and waits for in-flight handlers to finish, so\nthe listen socket can then be released safely. The fix was tested\nagainst the linked reproducer.","source":"cvelist"}],"published":"2026-08-10T12:02:23.425Z","modified":"2026-10-30T13:19:42.960Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"6f353c2230c199f343406c08482940ec5d8ba89c","fixed":"66fd678eef1bc2862bde5e7a0f6106256de74f30","status":"affected"},{"type":"git","introduced":"de8d6de0ee27be4b2b1e5b06f04aeacbabbba492","fixed":"80fffed08dc1c10e971066941d2daa56253f1552","status":"affected"},{"type":"git","introduced":"7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c","fixed":"16df2d154ec82e2f7e7585b4fa154751ba37729a","status":"affected"},{"type":"git","introduced":"7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c","fixed":"3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d","status":"affected"},{"type":"git","introduced":"7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c","fixed":"167e54c703ccd4fa028feb568b0d1002020cff86","status":"affected"},{"type":"git","version":"33b3e09a489a31b30342b77cc55290f025d95c7e","status":"affected"},{"type":"semver","introduced":"6.12.10","fixed":"6.12.101","status":"affected"},{"type":"semver","introduced":"6.6.160","fixed":"6.7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/66fd678eef1bc2862bde5e7a0f6106256de74f30","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80fffed08dc1c10e971066941d2daa56253f1552","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16df2d154ec82e2f7e7585b4fa154751ba37729a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/167e54c703ccd4fa028feb568b0d1002020cff86","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:46:38.665Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68290","url":"https://www.cve.org/CVERecord?id=CVE-2026-68290","licence":"CVE Terms of Use","modified":"2026-10-30T12:28:19.129Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68290","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68290","licence":"Public domain","modified":"2026-10-30T13:19:42.960Z"}],"updatedAt":"2026-11-25T22:59:32.073Z","epss":{"score":0.00159,"percentile":0.05287,"date":"2026-12-01T12:00:22.000Z"}}