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: n/a
Action: n/a
AI Analysis

Impact

The flaw occurs in the Linux kernel’s RDS TCP code when the system frees a network‑namespace specific listen socket before unregistering its sysctl table. A concurrent write to the sysctl can race with the teardown; the handler derives the namespace from a field of the socket that has already been freed, causing a slab use‑after‑free. An attacker who can write to the sysctl parameter can trigger this race, potentially executing arbitrary code in kernel mode or crashing the system.

Affected Systems

This vulnerability affects all Linux kernel builds that include the unpatched RDS TCP feature. No specific kernel version is listed, so any kernel compiled with the default RDS TCP code may be vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score of 7.8 classifies the issue as high severity. An EPSS score of <1% suggests a low likelihood of exploitation. The flaw is not listed in the CISA KEV catalogue, indicating no publicly known exploits. The race condition requires write access to a kernel sysctl parameter, which typically means a local user or privileged process. While the exploitation probability is currently low, the high severity requires that the issue be patched promptly to avoid potential local privilege escalation.

Generated by OpenCVE AI on August 14, 2026 at 02:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to the latest version that includes the RDS TCP sysctl unregistration fix using your distribution’s package manager.
  • Reboot the system into the updated kernel to activate the patch.
  • If a kernel upgrade cannot be performed immediately, disable or remove the RDS TCP sysctl parameters, or restrict write access to them through file permissions or module removal, and monitor kernel logs for KASAN or other memory corruption events related to rds_tcp_skbuf_handler.

Generated by OpenCVE AI on August 14, 2026 at 02:42 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
History

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-08-17T05:02:25.806Z

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

Link: CVE-2026-68290

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-17T05:18:31.653

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-08-14T02:45:03Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference