commit | ac0648a56c1ff66c1cbf735075ad33a26cbc50de | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Nov 23 09:37:51 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Dec 09 12:04:01 2020 -0700 |
tree | d0840931bbfa32badd92a5e51bd02c3048398c96 | |
parent | bd5bbda72f7fa013ddea0ff7c4d91daedb821869 [diff] |
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: syzbot+1f4ba1e5520762c523c6@syzkaller.appspotmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>