]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFS r354090:
authorMichael Tuexen <tuexen@FreeBSD.org>
Fri, 25 Oct 2019 18:46:53 +0000 (18:46 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Fri, 25 Oct 2019 18:46:53 +0000 (18:46 +0000)
commit16981b16f338577fa04c1eac9b41f5b53a5a5c63
tree5cd3a1900e9b2fa9ec214c0661b3be88a0f55cc5
parent3f53a11e190819aa61dd11db4c3dd8eb02e4a2ad
MFS r354090:

Ensure that the flags indicating IPv4/IPv6 are not changed by failing
bind() calls. This would lead to inconsistent state resulting in a panic.
A fix for stable/11 was committed in
https://svnweb.freebsd.org/base?view=revision&revision=338986

Reported by: syzbot+2609a378d89264ff5a42@syzkaller.appspotmail.com
Obtained from: jtl@
Sponsored by: Netflix, Inc.
Approved by: re (gjb@)
sys/netinet/tcp_usrreq.c
sys/netinet6/sctp6_usrreq.c
sys/netinet6/udp6_usrreq.c