[Devel] [PATCH hci-8.1 2/2] fs/fuse kio: check every touched page in iov_iter_sendpages_ok()

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Thu Oct 1 06:26:13 MSK 2026


> A bvec with an unaligned bv_offset can cross into one more page than
> sendpages_ok() checks, so fold the intra-page offset into len. Pure
> hardening: today the skipped page can never fail sendpage_ok().
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-142167
> 
> Fixes: 32b44dc7ba67 ("fs/fuse kio: refactor transmit path in pcs_sockio_send()")
> Signed-off-by: Liu Kui <kui.liu at virtuozzo.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261001-sockio-sendmsg-empty-iter-v1-0-b876f4fbb9c7@virtuozzo.com?part=2




More information about the Devel mailing list