All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] fuse: fix io-uring abort races and cancel null deref
@ 2026-05-15  4:55 Joanne Koong
  2026-05-15  4:55 ` [PATCH v1 1/3] fuse: fix race between ring creation and connection abortion Joanne Koong
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joanne Koong @ 2026-05-15  4:55 UTC (permalink / raw)
  To: miklos; +Cc: fuse-devel, bernd, ali, horst

Patches 1 and 2 fix races between fuse uring ring creation and abort and
registration and abort that can result in indefinite hangs during unmount and
leaked resources.

Patch 3 fixes fuse_uring_cancel() moving cancelled entries (which have no
fuse_req) to ent_in_userspace, which can crash ent_list_request_expired().
It also removes the queue_refs > 0 gate in fuse_uring_abort() so that
request flushing always happens, since cancel now decrements queue_refs
directly.

[1] https://lore.kernel.org/linux-fsdevel/adiiTGjP1tqZfIrI@fedora/

Joanne Koong (3):
  fuse: fix race between ring creation and connection abortion
  fuse: fix race between registration and connection abortion
  fuse: fix moving cancelled entry to ent_in_userspace list

 fs/fuse/dev_uring.c   | 32 ++++++++++++++++++++++++--------
 fs/fuse/dev_uring_i.h |  6 +++---
 2 files changed, 27 insertions(+), 11 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-05-15 22:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15  4:55 [PATCH v1 0/3] fuse: fix io-uring abort races and cancel null deref Joanne Koong
2026-05-15  4:55 ` [PATCH v1 1/3] fuse: fix race between ring creation and connection abortion Joanne Koong
2026-05-15 11:57   ` Bernd Schubert
2026-05-15 20:49     ` Joanne Koong
2026-05-15  4:55 ` [PATCH v1 2/3] fuse: fix race between registration " Joanne Koong
2026-05-15 11:59   ` Bernd Schubert
2026-05-15  4:55 ` [PATCH v1 3/3] fuse: fix moving cancelled entry to ent_in_userspace list Joanne Koong
2026-05-15 11:10   ` Bernd Schubert
2026-05-15 21:11     ` Joanne Koong
2026-05-15 22:27       ` Bernd Schubert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.