summaryrefslogtreecommitdiffstats
path: root/fs/vboxsf
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-04-09 08:17:59 +0300
committerJens Axboe <axboe@kernel.dk>2020-04-09 09:38:18 -0600
commitc398ecb3d611925e4a5411afdf7489914a5c0460 (patch)
tree9f9abd0e95912c35d5851e88edf07967c78b4d72 /fs/vboxsf
parent9c280f9087118099f50566e906b9d9d5a0fb4529 (diff)
downloadlinux-c398ecb3d611925e4a5411afdf7489914a5c0460.tar.bz2
io_uring: fix fs cleanup on cqe overflow
If completion queue overflow occurs, __io_cqring_fill_event() will update req->cflags, which is in a union with req->work and happens 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. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/vboxsf')
0 files changed, 0 insertions, 0 deletions