Files
linux/io_uring
Pavel Begunkov a983aae397 io_uring/zcrx: fix sgtable leak on mapping failures
In an unlikely case when io_populate_area_dma() fails, which could only
happen on a PAGE_POOL_32BIT_ARCH_WITH_64BIT_DMA machine,
io_zcrx_map_area() will have an initialised and not freed table. It was
supposed to be cleaned up in the error path, but !is_mapped prevents
that.

Fixes: 439a98b972 ("io_uring/zcrx: deduplicate area mapping")
Cc: stable@vger.kernel.org
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2026-02-14 18:05:00 -07:00
..
2025-01-28 15:10:40 -07:00
2026-01-05 17:08:20 -07:00
2025-02-17 16:43:04 -08:00
2025-12-28 15:54:45 -07:00
2026-01-13 15:18:07 -05:00
2024-02-09 09:04:39 -07:00
2025-11-13 11:19:37 -07:00