In the Linux kernel, the following vulnerability has been resolved: sctp: abort unordered partial delivery when its message is skipped When an I-FORWARD-TSN skips unordered messages on a stream, sctp_intl_skip() only aborts the stream's unordered partial delivery if the MID being delivered is lower than the skipped MID. If the skipped message is the one being partially delivered, partial delivery stays in progress: no PARTIAL_DELIVERY_ABORTED is sent, and the next unordered message on the stream is delivered as the rest of the abandoned one. Abort the partial delivery when the MID being delivered is at or below the skipped MID, as the ordered case already does. Reproduced on an unmodified kernel with the uo_pd test of the sctp_ifwdtsn.sh selftest added later in this series; its partial delivery checks pass with this fix. Reproduction and fix done with AI assistance.
https://git.kernel.org/stable/c/ca3e0b878281b0f30acb7ee284964140ba8f91fa
https://git.kernel.org/stable/c/5d79a89f248946eba67e5dfab5683ae288d66ab0
https://git.kernel.org/stable/c/4f1a96a51e1cb30711b9d55c8db22c38bbb60cb6
https://git.kernel.org/stable/c/3a8d8da414b34b1bdfa470fe83ab3d0cbba63cca
https://git.kernel.org/stable/c/2ff7fae5dbe9062373fe59581014d979506d564f
https://git.kernel.org/stable/c/05852c8b70f2291a50bb3f740a66ce9caf9cb98d