io_uring: use bottom half safe lock for fixed file data
mainline inclusion from mainline-v5.11-rc1 commit ac0648a5 category: bugfix bugzilla: 185834 CVE: NA ----------------------------------------------- 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> Signed-off-by:
Ye Bin <yebin10@huawei.com> Reviewed-by:
Zhang Yi <yi.zhang@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment