mirror_zfs/module/os/linux/zfs
loli10K 7ba964cc3f Prevent NULL pointer dereference in blkg_tryget() on EL8 kernels
blkg_tryget() as shipped in EL8 kernels does not seem to handle NULL
@blkg as input; this is different from its mainline counterpart where
NULL is accepted.  To prevent dereferencing a NULL pointer when dealing
with block devices which do not set a root_blkg on the request queue
perform the NULL check in vdev_bio_associate_blkg().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9546 
Closes #9577
2019-11-13 10:19:06 -08:00
..
abd.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
arc_os.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
Makefile.in Factor Linux specific code out of spa_misc.c 2019-10-31 09:52:22 -07:00
mmp_os.c Move linux specific mmp module_param_call handler to platform code 2019-10-16 18:37:31 -07:00
policy.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
qat_compress.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat_crypt.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
spa_misc_os.c Factor Linux specific code out of spa_misc.c 2019-10-31 09:52:22 -07:00
spa_stats.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
trace.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
vdev_disk.c Prevent NULL pointer dereference in blkg_tryget() on EL8 kernels 2019-11-13 10:19:06 -08:00
vdev_file.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_acl.c Move platform specific parts of zfs_znode.h to platform code 2019-11-06 10:54:25 -08:00
zfs_ctldir.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zfs_debug.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
zfs_dir.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_ioctl_os.c Wrap Linux module macros 2019-11-01 10:41:03 -07:00
zfs_onexit_os.c Make zfsdev_getminor signature cross platform 2019-10-16 18:43:52 -07:00
zfs_sysfs.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_vfsops.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zfs_vnops.c Prefix struct rangelock 2019-11-01 10:37:33 -07:00
zfs_znode.c Prefix struct rangelock 2019-11-01 10:37:33 -07:00
zio_crypt.c Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
zio_os.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
zpl_ctldir.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_export.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_file.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_inode.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_super.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_xattr.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zvol_os.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00