Hello,syzbot has tested the proposed patch and the reproducer did not trigger crash:
Reported-and-tested-by: syzbot+2a73a6ea9507b7112141@xxxxxxxxxxxxxxxxxxxxxxxxx
Tested on: commit: 6c66f635 kernel/acct.c: fix locking order when switching a.. git tree: https://github.com/amir73il/linux.git acct_pin_kill_deadlock kernel config: https://syzkaller.appspot.com/x/.config?x=bd771c0a1616f2b7 compiler: gcc (GCC) 9.0.0 20181231 (experimental) Note: testing is done by a robot and is best-effort only.