diff options
| author | Bernd Schubert <bernd@bsbernd.com> | 2026-06-09 00:03:43 +0300 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-06-15 15:06:14 +0300 |
| commit | d351da75066955144515cb2f9aa959f24a04287a (patch) | |
| tree | 3a47dc6a6c642c4237bd0078104c14810c61d591 /include/linux/node.h | |
| parent | bea4fe98204b6ce7eb8e29f7bf867dd7619b3ddd (diff) | |
| download | linux-d351da75066955144515cb2f9aa959f24a04287a.tar.xz | |
fuse-uring: Avoid use-after-free in fuse_uring_async_stop_queues
fuse_uring_async_stop_queues() might run when the last reference
on ring->queue_refs was already dropped.
In order to avoid an early destruction a reference on struct fuse_conn
is now taken before starting fuse_uring_async_stop_queues() and that
reference is only released when that delayed work queue terminates.
Fixes: 4a9bfb9b6850 ("fuse: {io-uring} Handle teardown of ring entries")
Cc: stable@kernel.org # 6.14
Reported-by: Berkant Koc <me@berkoc.com>
Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions
