freebsd-dev/sys
Alexander Motin 0586be48a9 CTL: Validate IOCTL parameters.
It was possible to cause kernel panic by passing too large args_len
or non-NULL result_nvl.

Though since the /dev/cam/ctl device is accessible only by root and
used only by limited number of tools it was not a big problem.

PR:	266115
PR:	266136
Reported by:	Robert Morris <rtm@lcs.mit.edu>
MFC after:	1 week
2022-09-06 21:58:27 -04:00
..
amd64 acpi: Move some errors with RSDP and XSLT out from under bootverbose 2022-09-01 10:40:15 -06:00
arm Store mpidr as a 64-bit value on arm64 2022-08-31 11:48:31 +01:00
arm64 arm64: machdep.c fix two typos 2022-09-06 18:09:43 -06:00
bsm
cam CTL: Validate IOCTL parameters. 2022-09-06 21:58:27 -04:00
cddl Adjust function definition in riscv's dtrace_subr.c to avoid clang 15 warning 2022-08-14 21:27:34 +02:00
compat LinuxKPI: 80211 / iwlwifi: improve queue management 2022-09-05 21:03:03 +00:00
conf divert(4): make it compilable and working without INET 2022-08-30 15:09:21 -07:00
contrib LinuxKPI: 80211 / iwlwifi: improve queue management 2022-09-05 21:03:03 +00:00
crypto Fix the IV length in the armv8 AES GCM code 2022-09-06 13:11:04 +01:00
ddb Adjust db_flush_line() definition to avoid clang 15 warning 2022-07-19 20:37:15 +02:00
dev qat: make function definition match prototype 2022-09-05 21:24:58 -04:00
dts sys/dts: Remove MIPS files 2022-05-20 17:11:27 +01:00
fs nfscl: Allow "nolockd" to work for NFSv4 mounts 2022-09-04 13:09:33 -07:00
gdb ddb: use _FLAGS command macros where appropriate 2022-07-05 11:56:55 -03:00
geom Adjust g_waitidle() visibility and definition 2022-08-02 21:11:10 +03:00
gnu
i386 i386: Correct a typo in source code comment 2022-09-04 13:35:34 +02:00
isa Adjust function definition in isa's pnp.c to avoid clang 15 warning 2022-07-27 21:13:59 +02:00
kern ktls: Add missing NULL pointer check for TLS RX hardware offload. 2022-09-06 13:49:23 +02:00
kgssapi
libkern libkern: Fix a typo in a source code comment 2022-06-05 08:57:26 +02:00
modules qat: Move CWARNFLAGS down so it works. 2022-09-02 14:52:55 -07:00
net loop(4): make interface methods static 2022-09-05 10:29:10 -07:00
net80211 net80211(4): Remove a double word in a source code comment 2022-09-04 13:53:17 +02:00
netgraph divert: declare PF_DIVERT domain and stop abusing PF_INET 2022-08-30 15:09:21 -07:00
netinet tcp: tcp6_connect() requires net epoch 2022-09-05 10:19:11 -07:00
netinet6 netinet6: call lle_event eventhandler after updating state 2022-09-05 13:01:27 +00:00
netipsec protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
netpfil pf: make pfsync_state_import appease an assert in pf_free_state 2022-09-06 15:00:46 +00:00
netsmb
nfs nfs: skip bootpc when vfs.root.mountfrom is other than nfs 2022-05-31 16:07:27 -03:00
nfsclient
nfsserver
nlm
ofed ibcore: Add support for RDMA/RoCE using VLAN(4) devices. 2022-08-22 10:04:26 +02:00
opencrypto opencrypto: mark INVARIANTS variables as __diagused 2022-08-10 15:35:29 -04:00
powerpc powerpc: Correct some typos in source code comments 2022-09-04 13:32:13 +02:00
riscv Define _NPCM and the last PC_FREEn constant in terms of _NPCPV. 2022-08-23 13:31:02 -07:00
rpc nfsd: Allow multiple instances of rpc.tlsservd 2022-08-22 13:54:24 -07:00
security protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
sys jail: add process linkage 2022-09-05 11:54:47 +00:00
teken
tests
tools sound(4): Fix order of parameters for custom equalizer band pass filter. 2022-08-22 10:04:26 +02:00
ufs Updates to UFS/FFS superblock integrity checks when reading a superblock. 2022-09-03 14:11:38 -07:00
vm protosw: retire pr_drain and use EVENTHANDLER(9) directly 2022-08-17 11:50:31 -07:00
x86 x86: Correct a typo in source code comment 2022-09-04 13:36:53 +02:00
xdr
xen xenbus: improve device tracking 2022-06-07 12:29:53 +02:00
Makefile