[PATCH 6.6 349/529] sctp: Prevent TOCTOU out-of-bounds write