Commit ac0648a
committed
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>1 parent bd5bbda commit ac0648a
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7185 | 7185 | | |
7186 | 7186 | | |
7187 | 7187 | | |
7188 | | - | |
| 7188 | + | |
7189 | 7189 | | |
7190 | | - | |
| 7190 | + | |
7191 | 7191 | | |
7192 | 7192 | | |
7193 | 7193 | | |
| |||
7569 | 7569 | | |
7570 | 7570 | | |
7571 | 7571 | | |
7572 | | - | |
| 7572 | + | |
7573 | 7573 | | |
7574 | 7574 | | |
7575 | 7575 | | |
| |||
7581 | 7581 | | |
7582 | 7582 | | |
7583 | 7583 | | |
7584 | | - | |
| 7584 | + | |
7585 | 7585 | | |
7586 | 7586 | | |
7587 | 7587 | | |
| |||
7704 | 7704 | | |
7705 | 7705 | | |
7706 | 7706 | | |
7707 | | - | |
| 7707 | + | |
7708 | 7708 | | |
7709 | | - | |
| 7709 | + | |
7710 | 7710 | | |
7711 | 7711 | | |
7712 | 7712 | | |
| |||
7863 | 7863 | | |
7864 | 7864 | | |
7865 | 7865 | | |
7866 | | - | |
| 7866 | + | |
7867 | 7867 | | |
7868 | 7868 | | |
7869 | | - | |
| 7869 | + | |
7870 | 7870 | | |
7871 | 7871 | | |
7872 | 7872 | | |
| |||
0 commit comments