search for: ab580a75

Displaying 1 result from an estimated 1 matches for "ab580a75".

2023 Feb 28
1
[PATCH] io_uring: fix fget leak when fs don't support nowait buffered read
...omplete_rw_common // set REQ_F_REISSUE |-io_resubmit_prep |-io_req_prep_async // override req->file, leak happens This was introduced by commit a196c78b5443 in v5.18. Fix it by don't re-assign req->file if it has already been assigned. [1] https://lore.kernel.org/ocfs2-devel/ab580a75-91c8-d68a-3455-40361be1bfa8 at linux.alibaba.com/T/#t Fixes: a196c78b5443 ("io_uring: assign non-fixed early for async work") Cc: <stable at vger.kernel.org> Reported-by: Heming Zhao <heming.zhao at suse.com> Signed-off-by: Joseph Qi <joseph.qi at linux.alibaba.com> Cc:...