mirror_zfs/module
Alexander Motin 9209ea69bc
FreeBSD: Fix translation from ABD to physical pages
In hypothetical case of non-linear ABD with single segment, multiple
to page size but not aligned to it, vdev_geom_fill_unmap_cb() could
fill one page less into bio_ma array.

I am not sure it is exploitable, but better to be safe than sorry.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reported-by: Mark Johnston <markj@FreeBSD.org>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #13345
2022-04-20 16:05:38 -07:00
..
avl linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
icp linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
lua linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
nvpair linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
os FreeBSD: Fix translation from ABD to physical pages 2022-04-20 16:05:38 -07:00
unicode linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
zcommon linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
zfs linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
zstd linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
.gitignore Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
Kbuild.in linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
Makefile.bsd Fix ACL checks for NFS kernel server 2022-03-18 06:47:57 -06:00
Makefile.in linux: module: uninstall legacy modules on (un)installation 2022-04-20 13:28:54 -07:00