Linux kernel: rds: tcp: unregister sysctl before tearing down listen socket
Overview
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.
- Published
- 8/10/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 6f353c2230c199f343406c08482940ec5d8ba89c, < 66fd678eef1bc2862bde5e7a0f6106256de74f30 | Verify advisory | Source |
Linux Linux | ≥ de8d6de0ee27be4b2b1e5b06f04aeacbabbba492, < 80fffed08dc1c10e971066941d2daa56253f1552 | Verify advisory | Source |
Linux Linux | ≥ 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, < 16df2d154ec82e2f7e7585b4fa154751ba37729a | Verify advisory | Source |
Linux Linux | ≥ 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, < 3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d | Verify advisory | Source |
Linux Linux | ≥ 7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c, < 167e54c703ccd4fa028feb568b0d1002020cff86 | Verify advisory | Source |
Linux Linux | 33b3e09a489a31b30342b77cc55290f025d95c7e | Verify advisory | Source |
Linux Linux | ≥ 6.12.10, < 6.12.101 | Verify advisory | Source |
Linux Linux | ≥ 6.6.160, < 6.7 | Verify advisory | Source |
Linux Linux | 6.13 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.