[PATCH 6.1 316/568] sctp: Prevent TOCTOU out-of-bounds write