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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-08-10T12:02:23.425Z
- **Modified:** 2026-10-30T13:19:42.960Z

## Who should check

- Anyone running Linux \>= 6f353c2230c199f343406c08482940ec5d8ba89c, \< 66fd678eef1bc2862bde5e7a0f6106256de74f30; \>= de8d6de0ee27be4b2b1e5b06f04aeacbabbba492, \< 80fffed08dc1c10e971066941d2daa56253f1552; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 16df2d154ec82e2f7e7585b4fa154751ba37729a; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 167e54c703ccd4fa028feb568b0d1002020cff86; 33b3e09a489a31b30342b77cc55290f025d95c7e; \>= 6.12.10, \< 6.12.101; \>= 6.6.160, \< 6.7
- Anyone running Linux 6.13

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

## Affected and fixed versions

- Linux: \>= 6f353c2230c199f343406c08482940ec5d8ba89c, \< 66fd678eef1bc2862bde5e7a0f6106256de74f30; \>= de8d6de0ee27be4b2b1e5b06f04aeacbabbba492, \< 80fffed08dc1c10e971066941d2daa56253f1552; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 16df2d154ec82e2f7e7585b4fa154751ba37729a; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 167e54c703ccd4fa028feb568b0d1002020cff86; 33b3e09a489a31b30342b77cc55290f025d95c7e; \>= 6.12.10, \< 6.12.101; \>= 6.6.160, \< 6.7 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 6.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68290. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68290.md
Affected: Linux >= 6f353c2230c199f343406c08482940ec5d8ba89c, < 66fd678eef1bc2862bde5e7a0f6106256de74f30; >= de8d6de0ee27be4b2b1e5b06f04aeacbabbba492, < 80fffed08dc1c10e971066941d2daa56253f1552; >= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, < 16df2d154ec82e2f7e7585b4fa154751ba37729a; >= 7f5611cbc4871c7fb1ad36c…
Fixed in: Linux 66fd678eef1bc2862bde5e7a0f6106256de74f30, Linux 80fffed08dc1c10e971066941d2daa56253f1552, Linux 16df2d154ec82e2f7e7585b4fa154751ba37729a, Linux 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d, Linux 167e54c703ccd4fa028feb568b0d1002020cff86, Linux 6.12.101, Linux 6.7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68290 being exploited?

There is no confirmed exploitation: CVE-2026-68290 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68290?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68290?

Linux \>= 6f353c2230c199f343406c08482940ec5d8ba89c, \< 66fd678eef1bc2862bde5e7a0f6106256de74f30; \>= de8d6de0ee27be4b2b1e5b06f04aeacbabbba492, \< 80fffed08dc1c10e971066941d2daa56253f1552; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 16df2d154ec82e2f7e7585b4fa154751ba37729a; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d; \>= 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, \< 167e54c703ccd4fa028feb568b0d1002020cff86; 33b3e09a489a31b30342b77cc55290f025d95c7e; \>= 6.12.10, \< 6.12.101; \>= 6.6.160, \< 6.7; Linux 6.13.

### Is there a fix for CVE-2026-68290?

Yes. Fixed in Linux 66fd678eef1bc2862bde5e7a0f6106256de74f30, Linux 80fffed08dc1c10e971066941d2daa56253f1552, Linux 16df2d154ec82e2f7e7585b4fa154751ba37729a, Linux 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d, Linux 167e54c703ccd4fa028feb568b0d1002020cff86, Linux 6.12.101, Linux 6.7. Upgrade Linux to 6.7 or later.

### How do I check if I'm affected by CVE-2026-68290?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/66fd678eef1bc2862bde5e7a0f6106256de74f30>
- other: <https://git.kernel.org/stable/c/80fffed08dc1c10e971066941d2daa56253f1552>
- other: <https://git.kernel.org/stable/c/16df2d154ec82e2f7e7585b4fa154751ba37729a>
- other: <https://git.kernel.org/stable/c/3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d>
- other: <https://git.kernel.org/stable/c/167e54c703ccd4fa028feb568b0d1002020cff86>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68290>

HTML: <https://flawdb.com/CVE-2026-68290> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68290>
