Skip to content
Heist/ feed
Back to feed
UnratedFix available

sctp: check RCV_SHUTDOWN after the sendmsg connect wait

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: sctp: check RCV_SHUTDOWN after the sendmsg connect wait sctp_wait_for_connect() drops the socket lock while it sleeps. An out-of-the-blue ABORT can then be processed from the socket backlog and unlink the association. If a concurrent shutdown(fd, SHUT_RD) sets RCV_SHUTDOWN, the waiter breaks with err == 0 before checking asoc->base.dead. Its final sctp_association_put() can then free the association, leaving sctp_sendmsg_to_asoc() to continue with a dangling pointer. Check RCV_SHUTDOWN along with the wait error in sctp_sendmsg_to_asoc() before using the association again. The check only accesses the socket, so it needs no additional association reference. Return the existing -ESRCH so that sctp_sendmsg() skips freeing a new association that may already have been destroyed. Keep sctp_wait_for_connect() unchanged to preserve its behavior for the connect() caller.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.273, 5.15.224, 6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.10
CVEs
CVE-2026-98846
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:36 UTC · Revision 1

Source evidence

sctp: check RCV_SHUTDOWN after the sendmsg connect wait

core-osv · Original source

Published 18 Oct 2026, 15:50 UTC

In the Linux kernel, the following vulnerability has been resolved: sctp: check RCV_SHUTDOWN after the sendmsg connect wait sctp_wait_for_connect() drops the socket lock while it sleeps. An out-of-the-blue ABORT can then be processed from the socket backlog and unlink the association. If a concurrent shutdown(fd, SHUT_RD) sets RCV_SHUTDOWN, the waiter breaks with err == 0 before checking asoc->base.dead. Its final sctp_association_put() can then free the association, leaving sctp_sendmsg_to_asoc() to continue with a dangling pointer. Check RCV_SHUTDOWN along with the wait error in sctp_sendmsg_to_asoc() before using the association again. The check only accesses the socket, so it needs no additional association reference. Return the existing -ESRCH so that sctp_sendmsg() skips freeing a new association that may already have been destroyed. Keep sctp_wait_for_connect() unchanged to preserve its behavior for the connect() caller.

osv:CVE-2026-98846

Kernel

Fixed versions: 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10

Complete source record
{
  "id": "92eb04b2dca7f62ac0c802be6f3e2c124121662acec70e2d399a3c52df484c75",
  "url": "https://osv.dev/vulnerability/CVE-2026-98846",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "sctp: check RCV_SHUTDOWN after the sendmsg connect wait",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: sctp: check RCV_SHUTDOWN after the sendmsg connect wait sctp_wait_for_connect() drops the socket lock while it sleeps. An out-of-the-blue ABORT can then be processed from the socket backlog and unlink the association. If a concurrent shutdown(fd, SHUT_RD) sets RCV_SHUTDOWN, the waiter breaks with err == 0 before checking asoc->base.dead. Its final sctp_association_put() can then free the association, leaving sctp_sendmsg_to_asoc() to continue with a dangling pointer. Check RCV_SHUTDOWN along with the wait error in sctp_sendmsg_to_asoc() before using the association again. The check only accesses the socket, so it needs no additional association reference. Return the existing -ESRCH so that sctp_sendmsg() skips freeing a new association that may already have been destroyed. Keep sctp_wait_for_connect() unchanged to preserve its behavior for the connect() caller.",
    "evidence": "osv:CVE-2026-98846",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.273",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.224",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98846",
      "aliases": [
        "CVE-2026-98846"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "668c9beb9020d5834ee9e43c208190a07d2b1928"
                },
                {
                  "fixed": "7f798168c54455559da0f7a377a23ab7019fec35"
                },
                {
                  "fixed": "fe5a23c76fc48b711eb7d6f3462c994e34da36f9"
                },
                {
                  "fixed": "1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4"
                },
                {
                  "fixed": "1bef1944ef15a40797305bf916827b04df6307ca"
                },
                {
                  "fixed": "e8f972b1759d26bbefe4c524caae1ed7c8a593bd"
                },
                {
                  "fixed": "e701345d886e831fb593a0870d69c8c5de6fc938"
                },
                {
                  "fixed": "222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669"
                },
                {
                  "fixed": "4f1da630d13de0370e2f6361f961f1c8b384af1c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98846.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.16.0"
                },
                {
                  "fixed": "5.10.273"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.224"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98846.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:27.189174588Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1bef1944ef15a40797305bf916827b04df6307ca",
        "https://git.kernel.org/stable/c/1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4",
        "https://git.kernel.org/stable/c/222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669",
        "https://git.kernel.org/stable/c/4f1da630d13de0370e2f6361f961f1c8b384af1c",
        "https://git.kernel.org/stable/c/7f798168c54455559da0f7a377a23ab7019fec35",
        "https://git.kernel.org/stable/c/e701345d886e831fb593a0870d69c8c5de6fc938",
        "https://git.kernel.org/stable/c/e8f972b1759d26bbefe4c524caae1ed7c8a593bd",
        "https://git.kernel.org/stable/c/fe5a23c76fc48b711eb7d6f3462c994e34da36f9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98846.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98846",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98846.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98846",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 521018,
  "published_at": "2026-10-18T15:50:34.714+00:00"
}