{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f147dd9ecabf23fd63d2562ffe64252a0453ecde"
            },
            {
              "fixed": "424019be3f637da76b74f44a40034669acbb166f"
            },
            {
              "fixed": "14fb90067d13f4494cff0f03243fae3cf2911cbc"
            },
            {
              "fixed": "344c72a0bc2703a6de4918ed935850e07dae3af2"
            },
            {
              "fixed": "b5c9f2951d330d4a198a64d6e60f79b4bd6ef078"
            },
            {
              "fixed": "d392b16acd0908f077289aad8bba066ff16de336"
            },
            {
              "fixed": "65ca0a5037152a5a80b8fe6aac80eb80458be573"
            },
            {
              "fixed": "7d8c22cb2cb1efb5e830a4545c76abf7b35cc2e8"
            },
            {
              "fixed": "f97d8c7bab7843631206a114986c9059da03efeb"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.37"
            },
            {
              "fixed": "5.10.271"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.222"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.189"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.158"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.112"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.54"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98257.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nrds: ib: use rds_conn_drop() on protocol version mismatch\n\nrds_ib_cm_connect_complete() runs from the RDMA-CM event handler with\nconn-\u003ec_cm_lock held.  When the peer negotiates a protocol version\nolder than RDS_PROTOCOL_COMPAT_VERSION, the handler calls\nrds_conn_destroy(), which is only safe in the rmmod path: it\nsynchronously tears the connection down and flush_work()es the\nshutdown work cp_down_w.\n\nThat shutdown work (rds_conn_shutdown()) needs cp_cm_lock, which is\nthe very lock the event handler still holds, so the flush never\ncompletes: the two workers wait on each other and the RDS connection\nworkqueues stall for good.\n\nAll other RDMA-CM failure paths (REJECTED, CONNECT_ERROR,\nDISCONNECTED) use rds_conn_drop(), which marks the connection\nRDS_CONN_ERROR and schedules the shutdown work asynchronously.  Use\nit here as well.",
  "id": "CVE-2026-98257",
  "modified": "2026-10-08T02:30:38.517299467Z",
  "published": "2026-10-06T08:45:22.722Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/14fb90067d13f4494cff0f03243fae3cf2911cbc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/344c72a0bc2703a6de4918ed935850e07dae3af2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/424019be3f637da76b74f44a40034669acbb166f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65ca0a5037152a5a80b8fe6aac80eb80458be573"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7d8c22cb2cb1efb5e830a4545c76abf7b35cc2e8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b5c9f2951d330d4a198a64d6e60f79b4bd6ef078"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d392b16acd0908f077289aad8bba066ff16de336"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f97d8c7bab7843631206a114986c9059da03efeb"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98257.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98257"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "rds: ib: use rds_conn_drop() on protocol version mismatch"
}