]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clean up more resouces of an existing SCTP association in case of
authortuexen <tuexen@FreeBSD.org>
Sat, 12 Dec 2020 22:23:45 +0000 (22:23 +0000)
committertuexen <tuexen@FreeBSD.org>
Sat, 12 Dec 2020 22:23:45 +0000 (22:23 +0000)
commitbe210a807ac81188438306d0ab3ec0b346d510fe
tree02be1b9120e6b9bc23c102417358ea392ba5336b
parentf28c6e6f2224cd92eb8fd2265146ad5cee163737
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