Linux
sctp: stream: fully roll back denied add-stream state
In the Linux kernel, the following vulnerability has been resolved: sctp: stream: fully roll back denied add-stream state When ADD_OUT_STREAMS is denied, SCTP only shrinks the queued chunks and then lowers outcnt. That leaves removed stream metadata behind, so a later re-add can reuse a stale ext and hit a null-pointer dereference in the scheduler get path. Fix the rollback by tearing down the removed stream state the same way other stream resizes do. Unschedule the current scheduler state, drop the removed stream ext state with sctp_stream_outq_migrate(), and then reschedule the remaining streams. This keeps scheduler-private RR/FC/PRIO lists consistent while fully rolling back denied outgoing stream additions.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < 0cd2dc6dce8ca47212cd306ccd52eb315ef3cf85
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < a6724b7b812ac8793514a1d5938db5d9d29ae725
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < 9662eb0401518f0b4681f10e7fbf688f504f24cf
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < 7dd9a42b044aad2dbe037db1c1e2943582485b44
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < 39dc2b0eb5371a669ebc9ec6072b9184eac95418
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < d5ea0b3e261fcb2cfff142675516165244cab1da
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < 1c6773b8c081509dcd5cd2954f2b02c50c00f151
- >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < a5f8a90ac9f77c678a9781c0a464b635e0d63e49
Fixed in 0cd2dc6dce8ca47212cd306ccd52eb315ef3cf85, a6724b7b812ac8793514a1d5938db5d9d29ae725, 9662eb0401518f0b4681f10e7fbf688f504f24cf, 7dd9a42b044aad2dbe037db1c1e2943582485b44, 39dc2b0eb5371a669ebc9ec6072b9184eac95418, d5ea0b3e261fcb2cfff142675516165244cab1da, 1c6773b8c081509dcd5cd2954f2b02c50c00f151, a5f8a90ac9f77c678a9781c0a464b635e0d63e49
- 4.15
Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to 0cd2dc6dce8ca47212cd306ccd52eb315ef3cf85 or a6724b7b812ac8793514a1d5938db5d9d29ae725 or 9662eb0401518f0b4681f10e7fbf688f504f24cf or 7dd9a42b044aad2dbe037db1c1e2943582485b44 or 39dc2b0eb5371a669ebc9ec6072b9184eac95418 or d5ea0b3e261fcb2cfff142675516165244cab1da or 1c6773b8c081509dcd5cd2954f2b02c50c00f151 or a5f8a90ac9f77c678a9781c0a464b635e0d63e49 or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.94 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.