summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2019-11-07 13:25:45 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2019-11-07 13:25:45 +0000
commitb3f189e0ccc9a6a7e5a6a61ac3e486a16e04ece9 (patch)
treed69a297d35ee577238c41703e1cca7c564f5bd61 /sys/netinet/tcp_input.c
parentc7ab36b1d9e426d7e5f3ffc3b4ddb0a9ec7a1ea2 (diff)
Do propper kernel input validation for in_control() ioctl(2)
SIOCGIFADDR, SIOCGIFNETMASK, SIOCGIFDSTADDR, SIOCGIFBRDADDR, SIOCSIFADDR, SIOCSIFNETMASK, SIOCSIFDSTADDR, and SIOCSIFBRDADDR. Name in_ioctl_set_ifaddr() consistently. Use in_sa2sin() to validate inet address. Combine if_addrlist loops and add comment. Although netmask is not a inet address, length must be valid. Reported-by: syzbot+5fc6da002fc4e8d994be@syzkaller.appspotmail.com OK visa@
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions