sctp: revalidate output stream after association connect wait
Summary
| CVE | CVE-2026-99165 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-28 11:17:36 UTC |
| Updated | 2026-10-30 13:21:50 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: sctp: revalidate output stream after association connect wait When message interleaving is enabled, the first send waits for association establishment before building its data chunks. The wait drops the socket lock, and handshake processing can reduce the output stream count to the peer-advertised inbound stream count. sctp_stream_init() then frees the extension of every removed stream. The sender resumes with the stream that it checked before the wait. If the peer removed that stream, sctp_outq_tail() later dereferences its NULL extension. Fatal-oops policies then panic the host. KASAN: null-ptr-deref in range [0x38-0x3f] RIP: sctp_outq_tail+0x49e/0xaa0 Call Trace: sctp_primitive_SEND sctp_sendmsg_to_asoc sctp_sendmsg A range check alone is insufficient. Stream reconfiguration can grow the output count again while the lock is released without recreating extensions freed by the earlier shrink. The stream can then be in range while its extension remains NULL. The send-buffer wait has the same issue. Factor the range and extension checks into a helper and repeat both after each send-path wait that drops the socket lock. Once the lock is reacquired, the validation remains stable through data creation and queueing. If validation fails after the connect wait, the auto-created association is already established. Return ESRCH so the existing caller path keeps it under state-machine ownership instead of freeing it directly, which would leave protocol, counter and socket state inconsistent. |
Risk And Classification
EPSS: 0.001830000 probability, percentile 0.079250000 (date 2026-11-01)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 26af2969b29cc5eb893a454fee2a36b39521a5bd git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 b925652ba3a3ee11b2617e68de92379144b5b84b git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 504bdf55438ad4b1ecbfba0f7fe95e1933f7fb66 git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 994694a2d4611d7b76cf05ff401a92b1c0451e1f git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 84f741b7bb3974e674c9739055826aa040362bba git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 77a63d1b813b08c4e5a948f5e04fbaca6176aa8f git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 fd56ac95ec31a05b66e8938debfa847f49c0e993 git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 b7ad72414c673ce1fa1f463e807cd4f34f8be9bf git | Not specified |
| CNA | Linux | Linux | affected 4.16 | Not specified |
| CNA | Linux | Linux | unaffected 4.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.273 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.224 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.191 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.161 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.115 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.59 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.13 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/84f741b7bb3974e674c9739055826aa040362bba | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/77a63d1b813b08c4e5a948f5e04fbaca6176aa8f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/504bdf55438ad4b1ecbfba0f7fe95e1933f7fb66 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/fd56ac95ec31a05b66e8938debfa847f49c0e993 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b7ad72414c673ce1fa1f463e807cd4f34f8be9bf | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/994694a2d4611d7b76cf05ff401a92b1c0451e1f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/26af2969b29cc5eb893a454fee2a36b39521a5bd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b925652ba3a3ee11b2617e68de92379144b5b84b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.