Re: [PATCH] io_uring: Enable KASAN for request cache

From: Jens Axboe
Date: Fri Jan 20 2023 - 10:41:24 EST



On Wed, 18 Jan 2023 07:56:30 -0800, Breno Leitao wrote:
> Every io_uring request is represented by struct io_kiocb, which is
> cached locally by io_uring (not SLAB/SLUB) in the list called
> submit_state.freelist. This patch simply enabled KASAN for this free
> list.
>
> This list is initially created by KMEM_CACHE, but later, managed by
> io_uring. This patch basically poisons the objects that are not used
> (i.e., they are the free list), and unpoisons it when the object is
> allocated/removed from the list.
>
> [...]

Applied, thanks!

[1/1] io_uring: Enable KASAN for request cache
commit: 9f61fe5e410444ccecb429e69536ecd981c73c08

Best regards,
--
Jens Axboe