CVE-2026-68290
rds: tcp: unregister sysctl before tearing down listen socket
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.
INFO
Published Date :
Aug. 10, 2026, 1:20 p.m.
Last Modified :
Aug. 17, 2026, 5:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Unregister RDS TCP sysctl table before calling rds_tcp_kill_sock().
- Ensure sysctl handlers finish before releasing sockets.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-68290.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-68290 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-68290
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-68290 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-68290 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'de8d6de0ee27be4b2b1e5b06f04aeacbabbba492', 'lessThan': '80fffed08dc1c10e971066941d2daa56253f1552', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '16df2d154ec82e2f7e7585b4fa154751ba37729a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '167e54c703ccd4fa028feb568b0d1002020cff86', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.10', 'lessThan': '6.12.101', 'versionType': 'semver'}], 'programFiles': ['net/rds/tcp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/rds/tcp.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'de8d6de0ee27be4b2b1e5b06f04aeacbabbba492', 'lessThan': '80fffed08dc1c10e971066941d2daa56253f1552', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '16df2d154ec82e2f7e7585b4fa154751ba37729a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '167e54c703ccd4fa028feb568b0d1002020cff86', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.10', 'lessThan': '6.12.101', 'versionType': 'semver'}], 'programFiles': ['net/rds/tcp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/rds/tcp.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'de8d6de0ee27be4b2b1e5b06f04aeacbabbba492', 'lessThan': '80fffed08dc1c10e971066941d2daa56253f1552', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '16df2d154ec82e2f7e7585b4fa154751ba37729a', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d', 'versionType': 'git'}, {'status': 'affected', 'version': '7f5611cbc4871c7fb1ad36c2e5a9edad63dca95c', 'lessThan': '167e54c703ccd4fa028feb568b0d1002020cff86', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.10', 'lessThan': '6.12.101', 'versionType': 'semver'}], 'programFiles': ['net/rds/tcp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/rds/tcp.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/167e54c703ccd4fa028feb568b0d1002020cff86 Added Reference https://git.kernel.org/stable/c/16df2d154ec82e2f7e7585b4fa154751ba37729a Added Reference https://git.kernel.org/stable/c/3aa13fe0c1bb7bc5312f878e61523e5d8cf3f85d Added Reference https://git.kernel.org/stable/c/80fffed08dc1c10e971066941d2daa56253f1552