[PATCH OLK-6.6 14/18] sctp: Prevent TOCTOU out-of-bounds write