Skip to content
Commit ac0648a5 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: use bottom half safe lock for fixed file data



io_file_data_ref_zero() can be invoked from soft-irq from the RCU core,
hence we need to ensure that the file_data lock is bottom half safe. Use
the _bh() variants when grabbing this lock.

Reported-by: default avatar <syzbot+1f4ba1e5520762c523c6@syzkaller.appspotmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bd5bbda7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment