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.
Published: 2026-08-10
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel Use-After-Free
Action: Patch Kernel
AI Analysis

Impact

The vulnerability is in the Linux kernel RDS TCP subsystem, where the kernel frees a per‑network‑namespace listen socket before unregistering the corresponding sysctl table. During this teardown, a concurrent write to a sysctl entry can race with the socket deallocation, causing rds_tcp_skbuf_handler to dereference a freed socket. This results in a slab use‑after‑free, which corresponds to CWE‑416, and can also lead to uninitialized value usage (CWE‑825). The memory corruption may crash the kernel or, under favorable conditions, allow execution of arbitrary code with kernel privileges.

Affected Systems

Any Linux kernel that contains the RDS TCP module and its sysctl interface is potentially vulnerable until the patch is applied. Existing kernel builds from major distributions, as well as custom kernels that have not yet incorporated the fix, fall into this category.

Risk and Exploitability

The CVSS score of 7.8 classifies the issue as high severity. The EPSS score is reported as <1%, indicating a low likelihood of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the attack vector requires write access to a kernel sysctl parameter, so a local user with permission to modify net.rds.tcp.* values or a privileged process could initiate the race. The presence of a KASAN warning confirms the use‑after‑free; however, no publicly known exploits exist. The risk remains high enough to warrant prompt remediation.

Generated by OpenCVE AI on October 20, 2026 at 10:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel release that includes the RDS TCP sysctl unregistration patch using the distribution’s package manager or by compiling a patched kernel.
  • Reboot the system to activate the updated kernel.
  • If an immediate upgrade is not feasible, tighten write permissions on the RDS TCP sysctl files in /proc/sys/net/rds/tcp so that only root can modify them, or set the sysctl parameters to zero with sysctl -w net.rds.tcp.*=0.
  • Enable kernel crash and KASAN logging and regularly inspect dmesg or the system journal for messages related to rds_tcp_skbuf_handler to detect any exploitation attempts.

Generated by OpenCVE AI on October 20, 2026 at 10:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
History

Fri, 30 Oct 2026 12:45:00 +0000


Mon, 19 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 17 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 14 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Mon, 10 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values 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.
Title rds: tcp: unregister sysctl before tearing down listen socket
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:28:19.129Z

Reserved: 2026-07-30T09:28:09.380Z

Link: CVE-2026-68290

cve-icon Vulnrichment

Updated: 2026-10-16T15:46:39.242Z

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:18.340

Modified: 2026-10-30T13:19:42.960

Link: CVE-2026-68290

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-10T12:02:23Z

Links: CVE-2026-68290 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T11:00:15Z

Weaknesses