[PATCH 5.4 121/187] sctp: Prevent TOCTOU out-of-bounds write