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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-08-10T12:03:11.547Z
- **Modified:** 2026-10-19T22:17:13.720Z

## Who should check

- Anyone running Linux \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 742ff6f02545212e991cd8b45011e40d2c2ef25a; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< abff41fd928328bbf3dda1140beb2e61fa424ccd; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 03c574112e5d066df0ddce36d7438e850bcf3050; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 1e2e2d9806944fe485824d617c8b7c78116c22db; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< cfb3ce07b705e486e022a2f2b1242b48f13981ff; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 9591042533140dfe6608d9344806d567dcd39d02; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 0f8690e3869109cd5803ccb400889d20a0b54e0e; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 5521ae71e32a8069ed4ca6e792179dc57bc43ab2; c827073c95fde388bc65fe5227f944eaf859b9f0; \>= 4.17.19, \< 4.18
- Anyone running Linux 4.18

## Description

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

rds: drop incoming messages that cross network namespace boundaries

rds\_find\_bound() looks up the destination socket using a global
rhashtable keyed solely on (addr, port, scope\_id).  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-\>i\_conn points to an rds\_connection whose c\_net
is netns A, but the receiving rs lives in netns B.  Once the child
process that created netns A exits, cleanup\_net() calls
rds\_loop\_exit\_net() -\> rds\_loop\_kill\_conns() -\> rds\_conn\_destroy(),
freeing that connection.  If the survivor socket in netns B still holds
the inc, any subsequent dereference of inc-\>i\_conn is a use-after-free.

There are two dangerous sites in rds\_clear\_recv\_queue():
  1. inc-\>i\_conn-\>c\_lcong (offset 88 of freed rds\_connection, size 200)
     read via rds\_recv\_rcvbuf\_delta() -- confirmed by KASAN.
  2. inc-\>i\_conn-\>c\_trans-\>inc\_free(inc) (function pointer at offset 80)
     called via rds\_inc\_put() when the inc refcount reaches zero -- same
     race window, potential call-through-freed-object primitive.

The bug is reachable from unprivileged user namespaces
(CLONE\_NEWUSER + CLONE\_NEWNET), available since Linux 3.8.

Fix this by rejecting the delivery in rds\_recv\_incoming() when the
socket returned by rds\_find\_bound() belongs to a different network
namespace than the connection that carried the message.  Use the
existing rds\_conn\_net() / sock\_net() helpers and net\_eq() for the
comparison.

## Affected and fixed versions

- Linux: \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 742ff6f02545212e991cd8b45011e40d2c2ef25a; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< abff41fd928328bbf3dda1140beb2e61fa424ccd; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 03c574112e5d066df0ddce36d7438e850bcf3050; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 1e2e2d9806944fe485824d617c8b7c78116c22db; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< cfb3ce07b705e486e022a2f2b1242b48f13981ff; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 9591042533140dfe6608d9344806d567dcd39d02; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 0f8690e3869109cd5803ccb400889d20a0b54e0e; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 5521ae71e32a8069ed4ca6e792179dc57bc43ab2; c827073c95fde388bc65fe5227f944eaf859b9f0; \>= 4.17.19, \< 4.18 (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- Upgrade Linux to 4.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68335. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68335.md
Affected: Linux >= c809195f5523dd4d09403bbb1c9732d548aa0d1e, < 742ff6f02545212e991cd8b45011e40d2c2ef25a; >= c809195f5523dd4d09403bbb1c9732d548aa0d1e, < abff41fd928328bbf3dda1140beb2e61fa424ccd; >= c809195f5523dd4d09403bbb1c9732d548aa0d1e, < 03c574112e5d066df0ddce36d7438e850bcf3050; >= c809195f5523dd4d09403bb…
Fixed in: Linux 742ff6f02545212e991cd8b45011e40d2c2ef25a, Linux 03c574112e5d066df0ddce36d7438e850bcf3050, Linux 1e2e2d9806944fe485824d617c8b7c78116c22db, Linux 9591042533140dfe6608d9344806d567dcd39d02, Linux 0f8690e3869109cd5803ccb400889d20a0b54e0e, Linux 5521ae71e32a8069ed4ca6e792179dc57bc43ab2, Linux 4.18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68335 being exploited?

There is no confirmed exploitation: CVE-2026-68335 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68335?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68335?

Linux \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 742ff6f02545212e991cd8b45011e40d2c2ef25a; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< abff41fd928328bbf3dda1140beb2e61fa424ccd; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 03c574112e5d066df0ddce36d7438e850bcf3050; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 1e2e2d9806944fe485824d617c8b7c78116c22db; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< cfb3ce07b705e486e022a2f2b1242b48f13981ff; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 9591042533140dfe6608d9344806d567dcd39d02; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 0f8690e3869109cd5803ccb400889d20a0b54e0e; \>= c809195f5523dd4d09403bbb1c9732d548aa0d1e, \< 5521ae71e32a8069ed4ca6e792179dc57bc43ab2; c827073c95fde388bc65fe5227f944eaf859b9f0; \>= 4.17.19, \< 4.18; Linux 4.18.

### Is there a fix for CVE-2026-68335?

Yes. Fixed in Linux 742ff6f02545212e991cd8b45011e40d2c2ef25a, Linux 03c574112e5d066df0ddce36d7438e850bcf3050, Linux 1e2e2d9806944fe485824d617c8b7c78116c22db, Linux 9591042533140dfe6608d9344806d567dcd39d02, Linux 0f8690e3869109cd5803ccb400889d20a0b54e0e, Linux 5521ae71e32a8069ed4ca6e792179dc57bc43ab2, Linux 4.18. Upgrade Linux to 4.18 or later.

### How do I check if I'm affected by CVE-2026-68335?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/742ff6f02545212e991cd8b45011e40d2c2ef25a>
- other: <https://git.kernel.org/stable/c/abff41fd928328bbf3dda1140beb2e61fa424ccd>
- other: <https://git.kernel.org/stable/c/03c574112e5d066df0ddce36d7438e850bcf3050>
- other: <https://git.kernel.org/stable/c/1e2e2d9806944fe485824d617c8b7c78116c22db>
- other: <https://git.kernel.org/stable/c/cfb3ce07b705e486e022a2f2b1242b48f13981ff>
- other: <https://git.kernel.org/stable/c/9591042533140dfe6608d9344806d567dcd39d02>
- other: <https://git.kernel.org/stable/c/0f8690e3869109cd5803ccb400889d20a0b54e0e>
- other: <https://git.kernel.org/stable/c/5521ae71e32a8069ed4ca6e792179dc57bc43ab2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68335>

HTML: <https://flawdb.com/CVE-2026-68335> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68335>
