]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clean up more resouces of an existing SCTP association in case of
authorMichael Tuexen <tuexen@FreeBSD.org>
Sat, 12 Dec 2020 22:23:45 +0000 (22:23 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Sat, 12 Dec 2020 22:23:45 +0000 (22:23 +0000)
commitaa6db9a045345e45a95dc9765780e38273b62767
tree02be1b9120e6b9bc23c102417358ea392ba5336b
parent0a0d522b368b31ec51611b798047a75b52855f39
Clean up more resouces of an existing SCTP association in case of
a restart.

This fixes a use-after-free scenario, which was reported by Felix
Wilhelm from Google in case a peer is able to modify the cookie.
However, this can also be triggered by an assciation restart under
some specific conditions.

MFC after: 1 week
sys/netinet/sctp_input.c