summaryrefslogtreecommitdiff
path: root/io_uring/timeout.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2023-12-19 23:29:05 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 11:58:41 -0800
commit8ab3b09755d926afc3bdd2fadff7f159310440c2 (patch)
tree0baa42510989d47196c250c4b1866aecc4a28f44 /io_uring/timeout.c
parent74e831af165acc968418a4d9fde8c2e099f3e8bf (diff)
downloadlwn-8ab3b09755d926afc3bdd2fadff7f159310440c2.tar.gz
lwn-8ab3b09755d926afc3bdd2fadff7f159310440c2.zip
io_uring: use mempool KASAN hook
Use the proper kasan_mempool_unpoison_object hook for unpoisoning cached objects. A future change might also update io_uring to check the return value of kasan_mempool_poison_object to prevent double-free and invalid-free bugs. This proves to be non-trivial with the current way io_uring caches objects, so this is left out-of-scope of this series. Link: https://lkml.kernel.org/r/eca18d6cbf676ed784f1a1f209c386808a8087c5.1703024586.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Cc: Alexander Lobakin <alobakin@pm.me> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Breno Leitao <leitao@debian.org> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Evgenii Stepanov <eugenis@google.com> Cc: Marco Elver <elver@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions