diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2025-08-17 23:09:18 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-08-24 11:41:11 -0600 |
| commit | 92a96b0a227e91dc42475265a1ce766b6cd044fa (patch) | |
| tree | f4acad45af7444febdfaecb0adff850bf2279dbb /rust/helpers/helpers.c | |
| parent | 1b237f190eb3d36f52dffe07a40b5eb210280e00 (diff) | |
io_uring: add request poisoning
Poison various request fields on free. __io_req_caches_free() is a slow
path, so can be done unconditionally, but gate it on kasan for
io_req_add_to_cache(). Note that some fields are logically retained
between cache allocations and can't be poisoned in
io_req_add_to_cache().
Ideally, it'd be replaced with KASAN'ed caches, but that can't be
enabled because of some synchronisation nuances.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7a78e8a7f5be434313c400650b862e36c211b312.1755459452.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
