freebsd-dev/sys
Robert Watson be80264279 Properly bounds check ioctl/pioctl data arguments for Coda:
1. Use unsigned rather than signed lengths
2. Bound messages to/from Venus to VC_MAXMSGSIZE
3. Bound messages to/from general user processes to VC_MAXDATASIZE
4. Update comment regarding data limits for pioctl

Without (1) and (3), it may be possible for unprivileged user processes to
read sensitive portions of kernel memory.  This issue is only present if
the Coda kernel module is loaded and venus (the userspace Coda daemon) is
running and has /coda mounted.

As Coda is considered experimental and production use is warned against in
the coda(4) man page, and because Coda must be explicitly configured for a
configuration to be vulnerable, we won't be issuing a security advisory.
However, if you are using Coda, then you are advised to apply these fixes.

Reported by:	Dan J. Rosenberg <drosenberg at vsecurity.com>
Obtained from:	NetBSD (Christos Zoulas)
Security:	Kernel memory disclosure; no advisory as feature experimental
MFC after:	3 days
2010-08-07 08:08:14 +00:00
..
amd64 Fix whitespace nits. 2010-08-06 18:46:27 +00:00
arm Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
boot mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
bsm
cam Fix two (very common) occurrences of s/sytem/system in comments. 2010-08-02 18:06:49 +00:00
cddl
compat Do not block any I/O port on amd64. 2010-08-07 04:05:58 +00:00
conf Merge ACPICA 20100806. 2010-08-06 23:11:19 +00:00
contrib Merge ACPICA 20100806. 2010-08-06 23:11:19 +00:00
crypto
ddb
dev Protect shared palette and state buffer with a mutex. Remove defunct 2010-08-07 05:46:04 +00:00
fs Properly bounds check ioctl/pioctl data arguments for Coda: 2010-08-07 08:08:14 +00:00
gdb
geom Check that gsp is not NULL before access. It can be NULL 2010-08-03 11:21:17 +00:00
gnu
i386 Fix whitespace nits. 2010-08-06 18:46:27 +00:00
ia64 Add a new ipi_cpu() function to the MI IPI API that can be used to send an 2010-08-06 15:36:59 +00:00
isa
kern Implicitly make a new jail persistent if it's set not to attach. 2010-08-06 22:04:18 +00:00
kgssapi
libkern
mips - Consolidate the the cache coherence attribute definitions in a single place. 2010-08-07 01:49:44 +00:00
modules Merge ACPICA 20100806. 2010-08-06 23:11:19 +00:00
net Adjust the interface type in the link layer socket address for vlan(4) 2010-08-06 15:15:26 +00:00
net80211
netatalk
netgraph Fix typo 2010-08-02 22:26:08 +00:00
netinet Fix a bug where endpoints bound to wildcard addresses where 2010-08-05 16:52:13 +00:00
netinet6 Document the mandatory argument to the arptimer() and 2010-07-31 21:33:18 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient Add some mutex locking on the nfsnode to the regular NFS client. 2010-08-04 01:19:11 +00:00
nfsserver
nlm
opencrypto Add compat32 shims for opencrypto(4). 2010-07-29 20:42:20 +00:00
pc98 Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
pci
powerpc Add a new ipi_cpu() function to the MI IPI API that can be used to send an 2010-08-06 15:36:59 +00:00
rpc
security
sparc64 Add a new ipi_cpu() function to the MI IPI API that can be used to send an 2010-08-06 15:36:59 +00:00
sun4v Add a new ipi_cpu() function to the MI IPI API that can be used to send an 2010-08-06 15:36:59 +00:00
sys Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
teken
tools
ufs
vm Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
x86 When performing a sanity check on the SRAT table to ensure that each 2010-07-29 17:37:35 +00:00
xdr
xen
Makefile