summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2026-06-09 00:03:44 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2026-06-15 15:06:14 +0300
commitb70a3aca16934c196f92abb17b01c1647b9bb63c (patch)
treeea7d2f1856f03282543d7d974a3b8b9bf82ab393 /include/linux
parentd351da75066955144515cb2f9aa959f24a04287a (diff)
downloadlinux-b70a3aca16934c196f92abb17b01c1647b9bb63c.tar.xz
fuse-uring: Avoid queue->stopped races and set/read that value under lock
There are several readers of queue->stopped that check the value under lock, but fuse_uring_commit_fetch() did not and actually the value was not set under the lock in fuse_uring_abort_end_requests() either. Especially in fuse_uring_commit_fetch it is important to check under a lock, because due to races 'struct fuse_req' might be freed with fuse_request_end, but another thread/cpu might already do teardown work. Cc: stable@kernel.org # 6.14 Fixes: 4a9bfb9b6850fec ("fuse: {io-uring} Handle teardown of ring entries") Reported-by: Berkant Koc <me@berkoc.com> Reported-by: xlabai <xlabai@tencent.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')
0 files changed, 0 insertions, 0 deletions