# CVE-2026-68290: rds: tcp: unregister sysctl before tearing down listen socket

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-08-10T12:02:23.425Z
- Modified: 2026-10-30T13:19:42.960Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6f353c2230c199f343406c08482940ec5d8ba89c before 66fd678eef1bc2862bde5e7a0f6106256de74f30; from de8d6de0ee27be4b2b1e5b06f04aeacbabbba492 before 80fffed08dc1c10e971066941d2daa56253f1552; from 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c before 16df2d154ec82e2f7e7585b4fa154751ba37729a; from 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c before 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d; from 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c before 167e54c703ccd4fa028feb568b0d1002020cff86; 33b3e09a489a31b30342b77cc55290f025d95c7e; from 6.12.10 before 6.12.101; from 6.6.160 before 6.7; 6.13 (not affected: before 6.13; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/66fd678eef1bc2862bde5e7a0f6106256de74f30>
- <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>

## Sources

- CVE List: [CVE-2026-68290](https://www.cve.org/CVERecord?id=CVE-2026-68290), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-68290](https://nvd.nist.gov/vuln/detail/CVE-2026-68290), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-68290 · Whole record: https://cve.day/CVE-2026-68290.json · Rebuilt by cve.day 2026-11-25T22:59:32.073Z
