freebsd-src/sys
Conrad Meyer 9d77679a40 kgssapi(4): Don't allow user-provided arguments to overrun stack buffer
An over-long path argument to gssd_syscall could overrun the stack sockaddr_un
buffer.  Fix gssd_syscall to not permit that.

If an over-long path is provided, gssd_syscall now returns EINVAL.

It looks like PRIV_NFS_DAEMON isn't granted anywhere, so my best guess is that
this is likely only triggerable by root.

Reported by:	Coverity
CID:		1006751
Sponsored by:	EMC / Isilon Storage Division
2016-04-20 05:02:13 +00:00
..
amd64 X86: use our nitems() macro when it is avaliable through param.h. 2016-04-19 23:41:46 +00:00
arm Fix build for Pi kernels with syscons enabled 2016-04-19 23:30:22 +00:00
arm64 arm: for pointers replace 0 with NULL. 2016-04-15 14:30:40 +00:00
boot sys/boot: use our nitems() macro when it is available through param.h. 2016-04-19 23:44:33 +00:00
bsm
cam Plug memory leak in ctl(4) when ctl_copyin_args() is called with a non- 2016-04-19 16:48:14 +00:00
cddl Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00
compat linprocfs_doproclimits: Initialize error return before use 2016-04-20 01:03:06 +00:00
conf Add CAM_NETFLIX_IOSCHED to the build. 2016-04-17 21:29:47 +00:00
contrib Use NULL instead of 0 for pointer comparison. 2016-04-15 03:43:16 +00:00
crypto aesni(4): Initialize error before use 2016-04-20 03:05:32 +00:00
ddb kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
dev pty(4): Use strlcpy to guarantee destination buffer isn't overrun 2016-04-20 04:50:33 +00:00
fs kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
gdb
geom kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
gnu Import Mediatek/Ralink dts files from OpenWRT 2016-04-16 20:01:08 +00:00
i386 X86: use our nitems() macro when it is avaliable through param.h. 2016-04-19 23:41:46 +00:00
isa isa/pnp: for pointers replace 0 with NULL. 2016-04-14 17:20:35 +00:00
kern kern_rctl: Fix resource leak in error path 2016-04-20 02:09:38 +00:00
kgssapi kgssapi(4): Don't allow user-provided arguments to overrun stack buffer 2016-04-20 05:02:13 +00:00
libkern kern: for pointers replace 0 with NULL. 2016-04-15 16:10:11 +00:00
mips Allow RT3350 CPU clock to be detected as part of RT3050/RT3052 detection 2016-04-18 06:15:58 +00:00
modules MFH 2016-04-16 02:32:12 +00:00
net radix rn_inithead: Fix minor leak in low memory conditions 2016-04-20 02:01:45 +00:00
net80211 net80211: do not reschedule scan_curchan_task() if the scan was canceled. 2016-04-19 20:19:21 +00:00
netgraph sys/net* : for pointers replace 0 with NULL. 2016-04-15 17:30:33 +00:00
netinet kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
netinet6 kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
netipsec kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
netnatm kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
netpfil netpfil: for pointers replace 0 with NULL. 2016-04-15 12:24:01 +00:00
netsmb kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
nfs Do not try to install a default route for each interface found, because 2016-03-27 23:16:37 +00:00
nfsclient
nfsserver
nlm
ofed ofed: for pointers replace 0 with NULL. 2016-04-15 12:16:15 +00:00
opencrypto
pc98 Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
powerpc Fix SMP booting for PowerPC Book-E 2016-04-19 01:48:18 +00:00
riscv risc-v: for pointers replace 0 with NULL. 2016-04-14 17:25:50 +00:00
rpc kgssapi(4): Fix string overrun in Kerberos principal construction 2016-04-20 04:45:23 +00:00
security audit(8): leave unsigned comparison for last. 2016-04-08 03:26:21 +00:00
sparc64 sparc64: for pointers replace 0 with NULL. 2016-04-15 12:17:34 +00:00
sys Make Racct macro slightly more gracious given RACCT_UNDEFINED 2016-04-20 03:24:59 +00:00
teken
tests
tools
ufs ufs: replace 0 with NULL for pointers. 2016-04-10 21:48:11 +00:00
vm Add more fine-grained kernel options for NUMA support. 2016-04-09 13:58:04 +00:00
x86 SRAT: Don't overflow domain_pxm table 2016-04-20 01:10:07 +00:00
xdr RPC: for pointers replace 0 with NULL. 2016-04-14 17:06:37 +00:00
xen
Makefile