{"id":"CVE-2026-68315","summary":"sctp: validate stream count in sctp_process_strreset_inreq()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: validate stream count in sctp_process_strreset_inreq()\n\nWhen processing a RESET_IN_REQUEST from a peer,\nsctp_process_strreset_inreq() derives the stream count from the\nparameter length but does not check whether the resulting\nRESET_OUT_REQUEST would exceed SCTP_MAX_CHUNK_LEN.\n\nThe OUT request header (sctp_strreset_outreq, 16 bytes) is 8 bytes\nlarger than the IN request header (sctp_strreset_inreq, 8 bytes).\nGenerally, the IP payload is bounded to 65535 bytes, so the stream\nlist cannot be large enough to trigger the overflow. However, on\ninterfaces with MTU \u003e 65535 (e.g., loopback with IPv6 jumbograms), a\nstream list that fits within the incoming IN parameter can cause a\n__u16 overflow in sctp_make_strreset_req() when computing the OUT\nrequest size, leading to an undersized skb allocation and a kernel\nBUG:\n\n  net/core/skbuff.c:207         skb_panic\n  net/core/skbuff.c:2625        skb_put\n  net/sctp/sm_make_chunk.c:1535 sctp_addto_chunk\n  net/sctp/sm_make_chunk.c:3695 sctp_make_strreset_req\n  net/sctp/stream.c:655         sctp_process_strreset_inreq\n\nThe local setsockopt path validates the generated reset request size.\nHowever, for an incoming-only reset, it accounts for the smaller IN\nrequest even though the peer must generate an OUT request with the same\nstream list. Such a request cannot be completed successfully by the\npeer.\n\nReject peer IN requests whose corresponding OUT request would exceed\nSCTP_MAX_CHUNK_LEN. Also tighten the local check so it does not send an\nIN request that would require an oversized OUT request from the peer.","modified":"2026-08-21T03:30:22.559382349Z","published":"2026-08-10T12:02:50.156Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68315.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/00ae679cb21a035491fdad8d58dc6d79cc68b675"},{"type":"WEB","url":"https://git.kernel.org/stable/c/18ae07691d43183d270de8be9dc8e027906015d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a10fe1aa9c01f41b389a31906a77d538637c9d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60c47dea5d320d2fc706e9aad1db38a04df0a056"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61327d8e7cfb0259d527be17202630f556213249"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f0e39d180cd7cced647381b6fa14fd83d261047"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7cf7439948e3bf639119119922c88ec190874ca3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b255d8cd6cc68045ae9eecbac3b3c14e1f176c9b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68315.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68315"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137"},{"fixed":"61327d8e7cfb0259d527be17202630f556213249"},{"fixed":"7cf7439948e3bf639119119922c88ec190874ca3"},{"fixed":"60c47dea5d320d2fc706e9aad1db38a04df0a056"},{"fixed":"b255d8cd6cc68045ae9eecbac3b3c14e1f176c9b"},{"fixed":"6f0e39d180cd7cced647381b6fa14fd83d261047"},{"fixed":"1a10fe1aa9c01f41b389a31906a77d538637c9d9"},{"fixed":"00ae679cb21a035491fdad8d58dc6d79cc68b675"},{"fixed":"18ae07691d43183d270de8be9dc8e027906015d9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68315.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.11.0"},{"fixed":"5.10.265"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.216"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68315.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}