freebsd-nq/sys/fs
Rick Macklem fd020f197d nfsd: Sanity check the ACL attribute
When an ACL is presented to the NFSv4 server in
Setattr or Verify, parsing of the ACL assumed a
sane acecnt and sane sizes for the "who" strings.
This patch adds sanity checks for these.

The patch also fixes handling of an error
return from nfsrv_dissectacl() for one broken
case.

Reported by:	rtm@lcs.mit.edu
Tested by:	rtm@lcs.mit.edu
PR:	260111
MFC after:	2 weeks
2021-12-01 13:55:17 -08:00
..
autofs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
cd9660 vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-12 03:02:20 +02:00
devfs vfs: add vop_stdadd_writecount_nomsync 2021-11-26 12:06:08 +00:00
ext2fs ext2: Check for e2fs_first_dblock in ext2_compute_sb_data() 2021-11-29 09:53:45 -08:00
fdescfs fdescfs: plug a set-but-not-unused var 2021-11-24 21:25:24 +00:00
fifofs fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
fuse fusefs: update atime on reads when using cached attributes 2021-11-28 18:53:31 -07:00
mntfs mntfs: lock mntfs pseudo devfs vnode properly 2021-11-13 01:00:41 +02:00
msdosfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
nfs nfsd: Sanity check the ACL attribute 2021-12-01 13:55:17 -08:00
nfsclient nfscl: Disable use of the LookupOpen RPC 2021-11-27 15:34:45 -08:00
nfsserver nfsd: Do not try to cache a reply for NFSERR_BADSLOT 2021-12-01 13:46:41 -08:00
nullfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
procfs procfs_doprocfile(): simplify 2021-11-04 06:13:47 +02:00
pseudofs vfs: add vop_stdadd_writecount_nomsync 2021-11-26 12:06:08 +00:00
smbfs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
tmpfs vfs: replace the MNTK_TEXT_REFS flag with VIRF_TEXT_REF 2021-11-27 23:07:25 +00:00
udf vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
unionfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00