{"id":"CVE-2026-98846","summary":"sctp: check RCV_SHUTDOWN after the sendmsg connect wait","details":"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-\u003ebase.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.","modified":"2026-10-19T02:47:34.992367496Z","published":"2026-10-18T15:50:34.714Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98846.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f1da630d13de0370e2f6361f961f1c8b384af1c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e701345d886e831fb593a0870d69c8c5de6fc938"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8f972b1759d26bbefe4c524caae1ed7c8a593bd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98846.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98846"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"668c9beb9020d5834ee9e43c208190a07d2b1928"},{"fixed":"e8f972b1759d26bbefe4c524caae1ed7c8a593bd"},{"fixed":"e701345d886e831fb593a0870d69c8c5de6fc938"},{"fixed":"222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669"},{"fixed":"4f1da630d13de0370e2f6361f961f1c8b384af1c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98846.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98846.json"}}],"schema_version":"1.9.0"}