HomeFreeBSD

sctp: improve handling of illegal packets containing INIT chunks

Description

sctp: improve handling of illegal packets containing INIT chunks

Stop further processing of a packet when detecting that it
contains an INIT chunk, which is too small or is not the only
chunk in the packet. Still allow to finish the processing
of chunks before the INIT chunk.

Thanks to Antoly Korniltsev and Taylor Brandstetter for reporting
an issue with the userland stack, which made me aware of this
issue.

MFC after: 3 days

Details

Provenance
tuexenAuthored on Apr 26 2021, 8:38 AM
Parents
R10:9f1dc86c46d6: zfs: restore copyright disclaimer change from 4b84b4cca
Branches
Unknown
Tags
Unknown