Skip to content
Heist/ feed
Unrated

net/rds: don't let rds_conn_shutdown() consume a concurrent drop

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net/rds: don't let rds_conn_shutdown() consume a concurrent drop rds_conn_shutdown() finishes by moving the path from RDS_CONN_DISCONNECTING to RDS_CONN_DOWN, and also accepts RDS_CONN_ERROR as the starting state of that final transition, so that a FIN processed in softirq context during the teardown does not derail the shutdown into a noisy error path. But consuming that RDS_CONN_ERROR also consumes the shutdown pass that came with it: rds_conn_path_drop() sets RDS_CONN_ERROR and then queues cp_down_w, and a pass that starts on a path already in RDS_CONN_DOWN is a no-op. For the FIN case that is harmless - the socket the FIN arrived on is the very socket the teardown just released. It is not harmless for a dropper that attached something to the path first. rds_tcp_accept_one() is such a dropper. Its path claim in rds_tcp_accept_one_path() transitions RDS_CONN_DOWN -> RDS_CONN_CONNECTING, and a concurrent drop - a FIN on a previous socket in softirq context, an administrative reset - can put the path into RDS_CONN_ERROR between that claim and the state check that follows, which accepts RDS_CONN_ERROR. The accept then installs the freshly accepted socket with rds_tcp_set_callbacks() while the queued teardown - which sampled tc->t_sock before this socket existed - is still running. rds_connect_path_complete() fails its transition to RDS_CONN_UP and drops the path again, queueing the pass that should reap the so

Announced Source revision 1
Original source ↗

CVE-2026-98068

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-98068

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": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "f777c602d3e15d3414b53f760147687bd56b03f2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "7cb11257aa3e5ef0bedfd5d55ac60bb00347aa97",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "4980ce260205001d582a7b3cb5eab29877777fbc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "0ec75c69918b7f6a1a5e3fb6442925246a9ec86b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "bd1cb197a07111ca8d4f4c21411c56a3c85a9797",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "4cb9b6d3d31a2dbaa5469981c2c4c03e9acc7aca",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "2941561395066be856a53626d4ca973dd9c982b2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e97656d03ca0cea888a0b9d382abce8233771f31",
        "lessThan": "260c6308fe2e19ad519389d44d582e292aecc3af",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "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": "4.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.12",
        "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.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/rds/connection.c",
      "net/rds/tcp.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98068

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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