summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2026-10-21 11:46:57 -0700
committerJens Axboe <axboe@kernel.dk>2026-10-22 06:39:47 -0600
commitbcbd808652e127a704c21fa44d908eb56cbcda03 (patch)
tree4772c55338858fead5bbc9ef3bbfc10c3cf64ba1 /tools/lib/python
parentf57b957778a33d98e15e394ab426e93c3ead659c (diff)
block: reject dma-bufs larger than 4GiB
The dma-buf offset is set in the 32-bit bvec_iter bi_offset. Reject buffers that can carry an offset that would wrap. Fixes: 839231d19393 ("block: add dma-buf support for raw bdev") Signed-off-by: Keith Busch <kbusch@kernel.org> Link: https://patch.msgid.link/20261021184658.644645-2-kbusch@meta.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions