{"id":"CVE-2026-98846","aliases":["CVE-2026-98846"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: check RCV_SHUTDOWN after the sendmsg connect wait","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: check RCV_SHUTDOWN after the sendmsg connect wait\n\nsctp_wait_for_connect() drops the socket lock while it sleeps. An\nout-of-the-blue ABORT can then be processed from the socket backlog and\nunlink the association. If a concurrent shutdown(fd, SHUT_RD) sets\nRCV_SHUTDOWN, the waiter breaks with err == 0 before checking\nasoc->base.dead. Its final sctp_association_put() can then free the\nassociation, leaving sctp_sendmsg_to_asoc() to continue with a dangling\npointer.\n\nCheck RCV_SHUTDOWN along with the wait error in sctp_sendmsg_to_asoc()\nbefore using the association again. The check only accesses the socket,\nso it needs no additional association reference. Return the existing\n-ESRCH so that sctp_sendmsg() skips freeing a new association that may\nalready have been destroyed.\n\nKeep sctp_wait_for_connect() unchanged to preserve its behavior for the\nconnect() caller.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: check RCV_SHUTDOWN after the sendmsg connect wait\n\nsctp_wait_for_connect() drops the socket lock while it sleeps. An\nout-of-the-blue ABORT can then be processed from the socket backlog and\nunlink the association. If a concurrent shutdown(fd, SHUT_RD) sets\nRCV_SHUTDOWN, the waiter breaks with err == 0 before checking\nasoc->base.dead. Its final sctp_association_put() can then free the\nassociation, leaving sctp_sendmsg_to_asoc() to continue with a dangling\npointer.\n\nCheck RCV_SHUTDOWN along with the wait error in sctp_sendmsg_to_asoc()\nbefore using the association again. The check only accesses the socket,\nso it needs no additional association reference. Return the existing\n-ESRCH so that sctp_sendmsg() skips freeing a new association that may\nalready have been destroyed.\n\nKeep sctp_wait_for_connect() unchanged to preserve its behavior for the\nconnect() caller.","source":"cvelist"}],"published":"2026-10-18T15:50:34.714Z","modified":"2026-10-30T13:21:30.343Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"7f798168c54455559da0f7a377a23ab7019fec35","status":"affected"},{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"fe5a23c76fc48b711eb7d6f3462c994e34da36f9","status":"affected"},{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4","status":"affected"},{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"1bef1944ef15a40797305bf916827b04df6307ca","status":"affected"},{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"e8f972b1759d26bbefe4c524caae1ed7c8a593bd","status":"affected"},{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"e701345d886e831fb593a0870d69c8c5de6fc938","status":"affected"},{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669","status":"affected"},{"type":"git","introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928","fixed":"4f1da630d13de0370e2f6361f961f1c8b384af1c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7f798168c54455559da0f7a377a23ab7019fec35","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe5a23c76fc48b711eb7d6f3462c994e34da36f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1bef1944ef15a40797305bf916827b04df6307ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8f972b1759d26bbefe4c524caae1ed7c8a593bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e701345d886e831fb593a0870d69c8c5de6fc938","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f1da630d13de0370e2f6361f961f1c8b384af1c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98846","url":"https://www.cve.org/CVERecord?id=CVE-2026-98846","licence":"CVE Terms of Use","modified":"2026-10-30T12:40:09.817Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98846","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98846","licence":"Public domain","modified":"2026-10-30T13:21:30.343Z"}],"updatedAt":"2026-11-25T22:59:45.324Z","epss":{"score":0.00171,"percentile":0.06758,"date":"2026-12-01T12:00:22.000Z"}}