freebsd-skq/sys/dev/hyperv
Mark Johnston f161d294b9 Add missing sockaddr length and family validation to various protocols
Several protocol methods take a sockaddr as input.  In some cases the
sockaddr lengths were not being validated, or were validated after some
out-of-bounds accesses could occur.  Add requisite checking to various
protocol entry points, and convert some existing checks to assertions
where appropriate.

Reported by:	syzkaller+KASAN
Reviewed by:	tuexen, melifaro
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29519
2021-05-03 13:35:19 -04:00
..
hvsock Add missing sockaddr length and family validation to various protocols 2021-05-03 13:35:19 -04:00
include HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
input hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled. 2021-04-23 01:13:25 +03:00
netvsc Hyper-V: hn: Initialize the internal field of per packet info on tx path 2021-03-15 10:33:29 +00:00
pcib Hyper-V: pcib: Check revoke status during device attach 2020-10-15 05:57:20 +00:00
storvsc Hyper-V: storvsc: Enhance srb_status code handling. 2020-08-31 09:05:45 +00:00
utilities
vmbus x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00