CVE-2026-68335: rds: drop incoming messages that cross network namespace boundaries

Published Aug 10, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

rds: drop incoming messages that cross network namespace boundaries

rdsfindbound() looks up the destination socket using a global rhashtable keyed solely on (addr, port, scopeid). Network namespaces are not part of the key, so a sender in netns A can deliver an incoming message (inc) to a socket that lives in a different netns B.

When this happens, inc->iconn points to an rdsconnection whose cnet is netns A, but the receiving rs lives in netns B. Once the child process that created netns A exits, cleanupnet() calls rdsloopexitnet() -> rdsloopkillconns() -> rdsconndestroy(), freeing that connection. If the survivor socket in netns B still holds the inc, any subsequent dereference of inc->iconn is a use-after-free.

There are two dangerous sites in rdsclearrecvqueue(): 1. inc->iconn->clcong (offset 88 of freed rdsconnection, size 200) read via rdsrecvrcvbufdelta() -- confirmed by KASAN. 2. inc->iconn->ctrans->incfree(inc) (function pointer at offset 80) called via rdsincput() when the inc refcount reaches zero -- same race window, potential call-through-freed-object primitive.

The bug is reachable from unprivileged user namespaces (CLONENEWUSER + CLONENEWNET), available since Linux 3.8.

Fix this by rejecting the delivery in rdsrecvincoming() when the socket returned by rdsfindbound() belongs to a different network namespace than the connection that carried the message. Use the existing rdsconnnet() / socknet() helpers and neteq() for the comparison.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·12:03 PM
Data Sourced
via MITRE·12:03 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68335?

CVE-2026-68335 has a risk score of 66, indicating a moderate severity level.

2

How do I fix CVE-2026-68335?

To mitigate CVE-2026-68335, users should update to the latest version of the Linux kernel where the vulnerability has been addressed.

3

What are the potential impacts of CVE-2026-68335?

CVE-2026-68335 could lead to unwanted message processing across network namespaces, disrupting communication and potentially leading to data leaks.

4

Who is affected by CVE-2026-68335?

CVE-2026-68335 affects systems running specific versions of the Linux kernel that utilize the RDS transport protocol.

5

Is there a workaround for CVE-2026-68335?

Currently, there is no documented workaround for CVE-2026-68335 aside from applying the necessary updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203