Files
linux/io_uring
Pavel Begunkov be7cab44ed io_uring: protect mem region deregistration
io_create_region_mmap_safe() protects publishing of a region against
concurrent mmap calls, however we should also protect against it when
removing a region. There is a gap io_register_mem_region() where it
safely publishes a region, but then copy_to_user goes wrong and it
unsafely frees the region.

Cc: stable@vger.kernel.org
Fixes: 087f997870 ("io_uring/memmap: implement mmap for regions")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-10-15 08:01:09 -06:00
..
2025-01-28 15:10:40 -07:00
2025-10-03 07:23:33 -06:00
2025-09-08 08:06:37 -06:00
2025-02-17 16:43:04 -08:00
2025-03-07 13:41:08 -07:00
2022-07-24 18:39:11 -06:00
2025-06-23 09:00:12 -06:00
2025-09-19 07:06:43 -06:00
2025-09-08 08:06:37 -06:00
2025-07-16 16:23:28 -06:00
2024-02-09 09:04:39 -07:00