opnsense-src/sys/dev/mps
Alan Somers 72aad3f902 Fix kernel memory disclosures in mpr and mps
In every mpr and mps ioctl that copies kernel data to userland, validate
that the requested length does not exceed the size of the kernel's
buffer.

Note that all of these ioctls already required root access.

MFC after:	2 weeks
Sponsored by:	Axcient
Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D38842
2023-03-02 13:31:06 -07:00
..
mpi
mps.c mpr/mps: Add comment explaining state transition 2022-04-28 11:19:39 -06:00
mps_config.c mps/mpr: Add missing newlines in error messages. 2022-02-22 15:08:22 -05:00
mps_ioctl.h
mps_mapping.c mps(4): Remove a double word in a source code comment 2022-09-04 13:48:21 +02:00
mps_mapping.h
mps_pci.c mpr/mps/mpt: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:32 -07:00
mps_sas.c mpr/mps: when sending reset on removal, include target in message 2022-04-28 16:30:00 -06:00
mps_sas.h mpr/mps: Remove write-only flag and callout 2022-01-24 13:21:09 -07:00
mps_sas_lsi.c Fix "set but not used" warnings in the mps driver. 2021-11-25 03:23:02 +00:00
mps_table.c Fix "set but not used" warnings in the mps driver. 2021-11-25 03:23:02 +00:00
mps_table.h
mps_user.c Fix kernel memory disclosures in mpr and mps 2023-03-02 13:31:06 -07:00
mpsvar.h mps: Use 64-bit chain structures 2022-02-02 22:35:33 -07:00