aboutsummaryrefslogtreecommitdiff
path: root/libexec/blocklistd-helper
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-12-14 17:20:38 +0000
committerMark Johnston <markj@FreeBSD.org>2025-12-16 16:01:07 +0000
commitff6b9c7c1c3494f143879a98d645f5e682babf2c (patch)
tree7fbfd47a8b3d17e366a86247a17a621a62537952 /libexec/blocklistd-helper
parent7aedc8de6446ad5a10d553b926423c689f0a3363 (diff)
zfs: Merge commit 86b064469dc9c2 from OpenZFS
FreeBSD: Fix a potential null dereference in zfs_freebsd_fsync() In general it's possible for a vnode to not have an associated VM object. This happens in particular with named pipes, which have some distinct VOPs, defined in zfs_fifoops. Thus, this chunk of zfs_freebsd_fsync() needs to check for the FIFO case, like other vm_object_mightbedirty() callers do. (Note that vn_flush_cached_data() calls are predicated on zn_has_cached_data() returning true, and it checks for a NULL v_object pointer already.) Fixes: ef4058fcdc01838117dd93a654228bac7487a37c Reported-by: Collin Funk <collin.funk1@gmail.com> Reviewed-by: Sean Eric Fagan <sef@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Mark Johnston <markj@FreeBSD.org> Closes #18015 MFC after: 3 days Approved by: so Security: FreeBSD-EN-25:19.zfs (cherry picked from commit fa259d156d43966db95fe0f5cc15a0e6af206ff7) (cherry picked from commit d988a0c1fc4cf75d5c4c9820fd2a5619d59ac608)
Diffstat (limited to 'libexec/blocklistd-helper')
0 files changed, 0 insertions, 0 deletions