freebsd-dev/sys
Kristof Provost f5e0d9fcb4 pf: Fix panic on invalid DIOCRSETTFLAGS
If during DIOCRSETTFLAGS pfrio_buffer is NULL copyin() will fault, which we're
not allowed to do with a lock held.
We must count the number of entries in the table and release the lock during
copyin(). Only then can we re-acquire the lock. Note that this is safe, because
pfr_set_tflags() will check if the table and entries exist.

This was discovered by a local syzcaller instance.

MFC after:	1 week
Event:		Aberdeen hackathon 2019
2019-04-17 16:42:54 +00:00
..
amd64 Fix initial x87 state after r345562. 2019-04-16 19:46:02 +00:00
arm Only set up the interrupts that will actually be used in arm generic_timer. 2019-04-17 15:27:11 +00:00
arm64 Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
bsm
cam Add new fields to mmc_data in preparation to SDIO CMD53 block mode support 2019-04-10 19:49:35 +00:00
cddl powerpc/dtrace: Fix dtrace powerpc asm, and simplify stack walking 2019-04-13 03:32:21 +00:00
compat correct readlinkat(2) return type 2019-04-16 13:26:31 +00:00
conf fdt: further consolidate DTB building and revise manpage 2019-04-17 03:29:16 +00:00
contrib The nvlist_report_missing is also used by the cnvlist. 2019-04-11 04:24:41 +00:00
crypto
ddb
dev random(4): Add is_random_seeded(9) KPI 2019-04-16 17:12:17 +00:00
dts arm: dts: Remove some old DTS 2019-04-10 19:18:05 +00:00
fs ext2fs: Initial version of DTrace support. 2019-04-16 11:37:15 +00:00
gdb
geom Implement automatic online expansion of GELI providers - if the underlying 2019-04-03 23:57:37 +00:00
gnu Import DTS files from Linux 5.0 2019-04-10 18:15:36 +00:00
i386 Fix initial x87 state after r345562. 2019-04-16 19:46:02 +00:00
isa
kern stack_protector: Add tunable to bypass random cookies 2019-04-16 18:47:20 +00:00
kgssapi
libkern random(4): Block read_random(9) on initial seeding 2019-04-15 18:40:36 +00:00
mips The Atheros AR7241 has 20 GPIO pins 2019-03-25 07:48:52 +00:00
modules Add support for INET6 addresses to the kernel code that dumps open/lock state. 2019-04-13 22:00:09 +00:00
net When sending a routing message, don't allow the user to set the 2019-04-14 10:18:14 +00:00
net80211
netgraph
netinet When sending IPv4 packets on a SOCK_RAW socket using the IP_HDRINCL option, 2019-04-13 10:47:47 +00:00
netinet6 Reinitialize multicast source filter structures after invalidation. 2019-04-11 08:00:59 +00:00
netipsec Replace read_random(9) with more appropriate arc4rand(9) KPIs 2019-04-04 01:02:50 +00:00
netpfil pf: Fix panic on invalid DIOCRSETTFLAGS 2019-04-17 16:42:54 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Move mpr/mps drivers from per-arch NOTES files into the MI notes 2019-04-13 06:30:45 +00:00
riscv RISC-V: initialize pcpu slightly earlier 2019-04-07 20:12:24 +00:00
rpc Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. 2019-04-04 01:23:06 +00:00
security Create kernel module to parse Veriexec manifest based on envs 2019-04-03 03:57:37 +00:00
sparc64 Move mpr/mps drivers from per-arch NOTES files into the MI notes 2019-04-13 06:30:45 +00:00
sys random(4): Add is_random_seeded(9) KPI 2019-04-16 17:12:17 +00:00
teken
tests
tools
ufs Handle races when remounting UFS volume from ro to rw. 2019-04-08 15:20:05 +00:00
vm for a cache-only zone the destructor tries to destroy a non-existent keg 2019-04-12 12:46:25 +00:00
x86 pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
xdr
xen
Makefile