[PATCH] nvmet: bound zone append to BIO_MAX_VECS segments
Keith Busch
kbusch at kernel.org
Wed Dec 2 07:15:36 PST 2026
On Tue, 1 Dec 2026 16:34:55 +0800, Guixin Liu wrote:
> nvmet_bdev_execute_zone_append() builds a single bio with req->sg_cnt
> entries. A fabric host can submit a zone append whose data length
> exceeds BIO_MAX_VECS pages, and bio_alloc() then hits the BUG() in
> biovec_slab(), killing the target. Unlike the read/write path, zone
> append cannot be split into multiple bios.
>
> The ZASL advertised to the host is derived from the backend device
> limit without accounting for this, so even a host that respects the
> advertised limit can trigger the BUG.
>
> [...]
Thanks, applied to nvme-7.4.
[1/1] nvmet: bound zone append to BIO_MAX_VECS segments
commit: 7c1b4ba4988fb8c2f28a8d3ddc92686f25c24225
--
Keith Busch <kbusch at kernel.org>
More information about the Linux-nvme
mailing list