{"id":"CVE-2026-98846","state":"PUBLISHED","title":"sctp: check RCV_SHUTDOWN after the sendmsg connect wait","description":"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.","publishedAt":"2026-10-18T15:50:34.714Z","updatedAt":"2026-10-30T12:40:09.817Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"7f798168c54455559da0f7a377a23ab7019fec35","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"fe5a23c76fc48b711eb7d6f3462c994e34da36f9","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"1bef1944ef15a40797305bf916827b04df6307ca","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"e8f972b1759d26bbefe4c524caae1ed7c8a593bd","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"e701345d886e831fb593a0870d69c8c5de6fc938","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"4f1da630d13de0370e2f6361f961f1c8b384af1c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/socket.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/socket.c"]}],"references":["https://git.kernel.org/stable/c/7f798168c54455559da0f7a377a23ab7019fec35","https://git.kernel.org/stable/c/fe5a23c76fc48b711eb7d6f3462c994e34da36f9","https://git.kernel.org/stable/c/1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4","https://git.kernel.org/stable/c/1bef1944ef15a40797305bf916827b04df6307ca","https://git.kernel.org/stable/c/e8f972b1759d26bbefe4c524caae1ed7c8a593bd","https://git.kernel.org/stable/c/e701345d886e831fb593a0870d69c8c5de6fc938","https://git.kernel.org/stable/c/222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669","https://git.kernel.org/stable/c/4f1da630d13de0370e2f6361f961f1c8b384af1c"],"weaknesses":[],"ingestedAt":"2026-10-30T13:00:06.648Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98846.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98846","state":"PUBLISHED","datePublished":"2026-10-18T15:50:34.714Z","dateUpdated":"2026-10-30T12:40:09.817Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.373Z"},"containers":{"cna":{"title":"sctp: check RCV_SHUTDOWN after the sendmsg connect wait","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"7f798168c54455559da0f7a377a23ab7019fec35","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"fe5a23c76fc48b711eb7d6f3462c994e34da36f9","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"1bef1944ef15a40797305bf916827b04df6307ca","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"e8f972b1759d26bbefe4c524caae1ed7c8a593bd","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"e701345d886e831fb593a0870d69c8c5de6fc938","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669","versionType":"git"},{"version":"668c9beb9020d5834ee9e43c208190a07d2b1928","status":"affected","lessThan":"4f1da630d13de0370e2f6361f961f1c8b384af1c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/socket.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/socket.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7f798168c54455559da0f7a377a23ab7019fec35"},{"url":"https://git.kernel.org/stable/c/fe5a23c76fc48b711eb7d6f3462c994e34da36f9"},{"url":"https://git.kernel.org/stable/c/1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4"},{"url":"https://git.kernel.org/stable/c/1bef1944ef15a40797305bf916827b04df6307ca"},{"url":"https://git.kernel.org/stable/c/e8f972b1759d26bbefe4c524caae1ed7c8a593bd"},{"url":"https://git.kernel.org/stable/c/e701345d886e831fb593a0870d69c8c5de6fc938"},{"url":"https://git.kernel.org/stable/c/222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669"},{"url":"https://git.kernel.org/stable/c/4f1da630d13de0370e2f6361f961f1c8b384af1c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:40:09.817Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}