# CVE-2026-97476: rds: filter RDS\_INFO\_\* getsockopt by caller's netns

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-24T16:04:18.454Z
- **Modified:** 2026-10-03T11:17:57.857Z

## Who should check

- Anyone running Linux \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 64ca5839916176c3451f61a2c7178033423c67d7; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 8b04dda272c30d46834bb03dd2895b08c090483b; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< f05142d0eeaa6e8227511c88e10a2b8fe7a78fc4; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 65fae4b42269dbea7e3842ae4dd0786162c6248e; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 093f172296d32499ffac7809629b206178776eb6; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< c4081e49ebe0e3160c4b70ec7639494792dee206; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< c96a5209dda666004b8ee1ed7f0d493d09a4f200
- Anyone running Linux 2.6.30

## Description

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

rds: filter RDS\_INFO\_\* getsockopt by caller's netns

The RDS\_INFO\_\* family of getsockopt(2) options reads several
file-scope global lists that are not per-netns:

  rds\_sock\_info / rds6\_sock\_info,
  rds\_sock\_inc\_info / rds6\_sock\_inc\_info        -\> rds\_sock\_list
  rds\_tcp\_tc\_info / rds6\_tcp\_tc\_info            -\> rds\_tcp\_tc\_list
  rds\_conn\_info / rds6\_conn\_info,
  rds\_conn\_message\_info\_cmn (for the \*\_SEND\_MESSAGES and
  \*\_RETRANS\_MESSAGES variants),
  rds\_for\_each\_conn\_info (for RDS\_INFO\_IB\_CONNECTIONS)
                                                -\> rds\_conn\_hash\[\]

The handlers do not filter by the caller's network namespace.
rds\_info\_getsockopt() has no netns or capable() check, and
rds\_create() has no capable() check, so AF\_RDS is reachable from
an unprivileged user namespace. As a result, an unprivileged
caller in a fresh user\_ns plus netns can read the bound address
and sock inode of every RDS socket on the host, the peer address
of incoming messages on every RDS socket on the host, the peer
address and TCP sequence numbers of every rds-tcp connection on
the host, and the peer address and RDS sequence numbers of every
RDS connection on the host.

The rds-tcp transport is reachable from a non-initial netns (see
rds\_set\_transport()), so a one-shot init\_net gate at
rds\_info\_getsockopt() would deny legitimate per-netns visibility
to rds-tcp callers. Instead, filter at each handler by comparing
the netns of the caller's socket to the netns of the list entry,
or to rds\_conn\_net(conn) for connection paths. Only copy entries
whose netns matches the caller. Counters (RDS\_INFO\_COUNTERS) are
aggregate statistics and remain global.

Reproducer (KASAN VM, rds and rds\_tcp loaded): an AF\_RDS socket
binds 127.0.0.1:4242 in init\_net as root. A child process enters
a fresh user\_ns plus netns and opens AF\_RDS there, then calls
getsockopt(SOL\_RDS, RDS\_INFO\_SOCKETS). Before this change, the
child sees the init\_net socket. After this change, the child
sees zero entries.

Drop the rds\_sock\_count, rds\_tcp\_tc\_count, and rds6\_tcp\_tc\_count
globals. v2 used them for the size precheck and lens-\>nr; v3
replaced the precheck with a per-ns count from a first pass over
the list, so the globals have no remaining readers. The matching
increments and decrements in rds\_create()/rds\_destroy\_sock() and
rds\_tcp\_set\_callbacks()/rds\_tcp\_restore\_callbacks() go away with
them. Reported by the kernel test robot under clang W=1.

## Affected and fixed versions

- Linux: \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 64ca5839916176c3451f61a2c7178033423c67d7; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 8b04dda272c30d46834bb03dd2895b08c090483b; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< f05142d0eeaa6e8227511c88e10a2b8fe7a78fc4; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 65fae4b42269dbea7e3842ae4dd0786162c6248e; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 093f172296d32499ffac7809629b206178776eb6; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< c4081e49ebe0e3160c4b70ec7639494792dee206; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< c96a5209dda666004b8ee1ed7f0d493d09a4f200 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-97476.md
Affected: Linux >= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, < 64ca5839916176c3451f61a2c7178033423c67d7; >= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, < 8b04dda272c30d46834bb03dd2895b08c090483b; >= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, < f05142d0eeaa6e8227511c88e10a2b8fe7a78fc4; >= 639b321b4d8f4e412bfbb2a…
Fixed in: Linux 64ca5839916176c3451f61a2c7178033423c67d7, Linux 8b04dda272c30d46834bb03dd2895b08c090483b, Linux 65fae4b42269dbea7e3842ae4dd0786162c6248e, Linux 093f172296d32499ffac7809629b206178776eb6

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-97476 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 64ca5839916176c3451f61a2c7178033423c67d7; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 8b04dda272c30d46834bb03dd2895b08c090483b; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< f05142d0eeaa6e8227511c88e10a2b8fe7a78fc4; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 65fae4b42269dbea7e3842ae4dd0786162c6248e; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< 093f172296d32499ffac7809629b206178776eb6; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< c4081e49ebe0e3160c4b70ec7639494792dee206; \>= 639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4, \< c96a5209dda666004b8ee1ed7f0d493d09a4f200; Linux 2.6.30.

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

Yes. Fixed in Linux 64ca5839916176c3451f61a2c7178033423c67d7, Linux 8b04dda272c30d46834bb03dd2895b08c090483b, Linux 65fae4b42269dbea7e3842ae4dd0786162c6248e, Linux 093f172296d32499ffac7809629b206178776eb6. No fix listed yet: follow the vendor advisory.

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

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/64ca5839916176c3451f61a2c7178033423c67d7>
- other: <https://git.kernel.org/stable/c/8b04dda272c30d46834bb03dd2895b08c090483b>
- other: <https://git.kernel.org/stable/c/f05142d0eeaa6e8227511c88e10a2b8fe7a78fc4>
- other: <https://git.kernel.org/stable/c/65fae4b42269dbea7e3842ae4dd0786162c6248e>
- other: <https://git.kernel.org/stable/c/093f172296d32499ffac7809629b206178776eb6>
- other: <https://git.kernel.org/stable/c/c4081e49ebe0e3160c4b70ec7639494792dee206>
- other: <https://git.kernel.org/stable/c/c96a5209dda666004b8ee1ed7f0d493d09a4f200>

## 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-97476>

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