Messages in this thread | | | Subject | Re: [PATCH] io_uring: fix fs cleanup on cqe overflow | From | Jens Axboe <> | Date | Thu, 9 Apr 2020 08:37:34 -0700 |
| |
On 4/8/20 10:17 PM, Pavel Begunkov wrote: > If completion queue overflow happened, __io_cqring_fill_event() will > update req->cflags, which is in a union with req->work and happend to > be aliased to req->work.fs. Following io_free_req() -> > io_req_work_drop_env() may get a bunch of different problems (miscount > fs->users, segfault, etc) on cleaning @fs.
Good catch, applied.
-- Jens Axboe
| |