freebsd-nq/sys/geom
Mark Johnston 5402baa5b5 g_label: Handle small sector sizes when tasting
Make sure that the provider sector size is large enough to contain a
valid label before trying to read it.  We performed this check already
for most label types, but not for several filesystem labels.

Reported by:	syzbot+f52918174cdf193ae29c@syzkaller.appspotmail.com
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2021-09-07 11:19:29 -04:00
..
bde
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 eli: Zero pad bytes that arise when certain auth algorithms are used 2021-07-15 12:23:04 -04:00
gate
journal Fix some common typos in source code comments 2021-08-28 18:57:23 +02:00
label g_label: Handle small sector sizes when tasting 2021-09-07 11:19:29 -04:00
linux_lvm
mirror gmirror: Zero the metadata block before writing 2021-07-13 17:45:57 -04:00
mountver
multipath gmultipath: make physpath distinct from the underlying providers' 2021-05-06 12:32:27 -06:00
nop
part
raid graid: Avoid tasting devices with small sector sizes 2021-08-31 17:09:52 -04:00
raid3 graid3: Zero the metadata block before writing 2021-07-13 17:46:02 -04:00
shsec
stripe geom(4): Mark all sysctls as CTLFLAG_MPSAFE. 2021-08-10 20:18:46 -04:00
uzip
vinum
virstor
zero geom(4): Mark all sysctls as CTLFLAG_MPSAFE. 2021-08-10 20:18:46 -04:00
geom_bsd_enc.c
geom_ccd.c
geom_ctl.c
geom_ctl.h
geom_dbg.h
geom_dev.c
geom_disk.c geom_disk: Add KMSAN checks 2021-08-11 16:33:41 -04: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: create an API to allocate events, and use that storage to send them 2021-07-23 18:08:45 -06:00
geom_flashmap.c
geom_flashmap.h
geom_int.h
geom_io.c
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_vfs.c geom_vfs: Pre-allocate event for g_vfs_destroy. 2021-07-29 17:09:23 -07:00
geom_vfs.h
geom.h geom: create an API to allocate events, and use that storage to send them 2021-07-23 18:08:45 -06:00
notes