Skip to content
Heist/ feed
Unrated

rds: filter RDS_INFO_* getsockopt by caller's netns

Type: advisorySource: Official CVE List1 source record

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 co

Announced Source revision 1
Original source ↗

CVE-2026-97476

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97476

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4",
        "lessThan": "64ca5839916176c3451f61a2c7178033423c67d7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4",
        "lessThan": "8b04dda272c30d46834bb03dd2895b08c090483b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4",
        "lessThan": "f05142d0eeaa6e8227511c88e10a2b8fe7a78fc4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4",
        "lessThan": "65fae4b42269dbea7e3842ae4dd0786162c6248e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4",
        "lessThan": "093f172296d32499ffac7809629b206178776eb6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4",
        "lessThan": "c4081e49ebe0e3160c4b70ec7639494792dee206",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "639b321b4d8f4e412bfbb2a4a19bfebc1e68ace4",
        "lessThan": "c96a5209dda666004b8ee1ed7f0d493d09a4f200",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/rds/af_rds.c",
      "net/rds/connection.c",
      "net/rds/tcp.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2.6.30"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "2.6.30",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.271",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.222",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/rds/af_rds.c",
      "net/rds/connection.c",
      "net/rds/tcp.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97476

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#8340 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement