freebsd-src/sys/geom
Alan Somers f284bed200 geom_gate: ensure readprov is null-terminated
With crafted input to the G_GATE_CMD_CREATE ioctl, geom_gate can be made
to print kernel memory to the system console, potentially revealing
sensitive data from whatever was previously in that memory page.

But but but: this is a case of the sys admin misconfiguring, and you'd
need root privileges to do this.

Submitted By:	Johannes Totz <jo@bruelltuete.com>
MFC after:	2 weeks
Reviewed By:	asomers
Differential Revision: https://reviews.freebsd.org/D31727
2022-01-02 18:01:23 -07:00
..
bde geom(4): Fix some of the "set but not used" warnings 2021-12-18 11:42:34 +00:00
cache geom(4): Mark all sysctls as CTLFLAG_MPSAFE. 2021-08-10 20:18:46 -04:00
concat gconcat: Zero the metadata block before writing 2021-07-13 17:45:59 -04:00
eli geom_eli: mostly plug set-but-not-unused vars 2021-12-09 18:05:06 +00:00
gate geom_gate: ensure readprov is null-terminated 2022-01-02 18:01:23 -07:00
journal geom(4): Fix some of the "set but not used" warnings 2021-12-18 11:42:34 +00:00
label Suppress UFS/FFS superblock check-hash failure messages when identifying 2021-11-15 09:26:21 -08:00
linux_lvm
mirror geom_mirror: plug set-but-not-unused vars 2021-12-09 18:00:27 +00:00
mountver
multipath geom_multipath: plug set-but-not-used vars 2021-11-25 11:31:50 +00:00
nop Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
part sys/geom: Use C99 fixed-width integer types. 2021-12-28 09:41:51 -08:00
raid sys/geom: Use C99 fixed-width integer types. 2021-12-28 09:41:51 -08:00
raid3 geom_raid3: plug set-but-not-unused vars 2021-12-09 18:08:03 +00:00
shsec geom(4): Fix some of the "set but not used" warnings 2021-12-18 11:42:34 +00:00
stripe geom(4): Fix some of the "set but not used" warnings 2021-12-18 11:42:34 +00:00
uzip Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
vinum geom(4): Fix some of the "set but not used" warnings 2021-12-18 11:42:34 +00:00
virstor geom(4): Fix some of the "set but not used" warnings 2021-12-18 11:42:34 +00:00
zero geom(4): Mark all sysctls as CTLFLAG_MPSAFE. 2021-08-10 20:18:46 -04:00
geom.h GEOM: Minor polishing in geom_event. 2021-12-27 21:01:08 -05:00
geom_bsd_enc.c
geom_ccd.c sys/geom: Use C99 fixed-width integer types. 2021-12-28 09:41:51 -08:00
geom_ctl.c geom_ctl.c: remove stale header files 2020-10-20 20:59:13 +00:00
geom_ctl.h
geom_dbg.h
geom_dev.c Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
geom_disk.c Fix "set but not used" for geom 2021-12-03 23:40:24 -07:00
geom_disk.h Use a more specific type for geom_disk.d_event. 2021-07-29 16:34:46 -07:00
geom_dump.c
geom_event.c GEOM: Minor polishing in geom_event. 2021-12-27 21:01:08 -05:00
geom_flashmap.c
geom_flashmap.h
geom_int.h
geom_io.c Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
geom_kern.c geom(4): Mark all sysctls as CTLFLAG_MPSAFE. 2021-08-10 20:18:46 -04:00
geom_map.c
geom_redboot.c
geom_slice.c
geom_slice.h
geom_subr.c geom: Remove g_class.config 2021-11-18 23:17:07 -07:00
geom_vfs.c g_vfs_close(): vp is unused 2021-11-18 05:02:59 +02:00
geom_vfs.h
notes