syzbot


INFO: task can't die in p9_fd_close

Status: closed as dup on 2022/08/26 12:44
Reported-by: syzbot+fbe34b643e462f65e542@syzkaller.appspotmail.com
First crash: 1551d, last: 941d
Cause bisection: introduced by (bisect log) :
commit af3acca3e35c01920fe476f730dca7345d0a48df
Author: Daniel Baluta <daniel.baluta@nxp.com>
Date: Tue Feb 20 12:53:10 2018 +0000

  ASoC: ak5558: Fix style for SPDX identifier

Crash: INFO: task hung in p9_fd_close (log)
Repro: C syz .config
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in p9_fd_close v9fs C error error 484 745d 1909d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task can't die in p9_fd_close 2 (3) 2020/08/27 16:20
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in p9_fd_close v9fs C error error 484 745d 1909d 22/28 fixed on 2023/02/24 13:50
linux-4.14 INFO: task hung in p9_fd_close C inconclusive 78 730d 1928d 0/1 upstream: reported C repro on 2019/08/11 15:06
linux-4.19 INFO: task hung in p9_fd_close C error 219 630d 1920d 0/1 upstream: reported C repro on 2019/08/19 15:52
upstream INFO: task hung in ext4_stop_mmpd ext4 C done done 483 61d 133d 28/28 fixed on 2024/10/28 16:40
linux-5.15 INFO: task hung in ext4_stop_mmpd 4 546d 583d 0/3 auto-obsoleted due to no activity on 2023/09/02 02:03
linux-5.15 INFO: task hung in ext4_stop_mmpd (2) 39 9d03h 139d 0/3 upstream: reported on 2024/07/04 13:23
linux-6.1 INFO: task hung in ext4_stop_mmpd 146 35d 139d 0/3 upstream: reported on 2024/07/04 15:39
upstream INFO: task can't die in ext4_stop_mmpd ext4 C inconclusive error 22 751d 1126d 0/28 auto-obsoleted due to no activity on 2023/04/21 15:51
linux-6.1 INFO: task hung in tls_sk_proto_close 2 376d 424d 0/3 auto-obsoleted due to no activity on 2024/02/18 21:46
linux-5.15 INFO: task hung in tls_sk_proto_close (2) 1 280d 280d 0/3 auto-obsoleted due to no activity on 2024/05/24 11:00
linux-5.15 INFO: task hung in tls_sk_proto_close 4 428d 487d 0/3 auto-obsoleted due to no activity on 2023/12/28 14:26
upstream INFO: task hung in tls_sk_proto_close C done error 964 7d06h 1697d 0/28 upstream: reported C repro on 2020/03/30 07:09
upstream INFO: task hung in __xfs_buf_submit (2) xfs C done inconclusive 7 559d 1183d 0/28 auto-obsoleted due to no activity on 2023/08/23 09:04

Sample crash report:
INFO: task syz-executor295:3767 can't die for more than 143 seconds.
task:syz-executor295 state:D stack:27616 pid: 3767 ppid:  3630 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x1f0 kernel/sched/core.c:6381
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
 p9_conn_destroy net/9p/trans_fd.c:884 [inline]
 p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919
 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089
 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504
 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3012 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3540
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3ff4a19cc9
RSP: 002b:00007f3ff49cb2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3ff4aa14c0 RCX: 00007f3ff4a19cc9
RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f3ff4aa14cc R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f3ff4aa14c8
 </TASK>
INFO: task syz-executor295:3767 blocked for more than 143 seconds.
      Not tainted 5.17.0-rc2-next-20220204-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor295 state:D stack:27616 pid: 3767 ppid:  3630 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x1f0 kernel/sched/core.c:6381
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
 p9_conn_destroy net/9p/trans_fd.c:884 [inline]
 p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919
 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089
 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504
 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3012 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3540
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3ff4a19cc9
RSP: 002b:00007f3ff49cb2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3ff4aa14c0 RCX: 00007f3ff4a19cc9
RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f3ff4aa14cc R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f3ff4aa14c8
 </TASK>
INFO: task syz-executor295:3867 can't die for more than 144 seconds.
task:syz-executor295 state:D stack:27528 pid: 3867 ppid:  3629 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x1f0 kernel/sched/core.c:6381
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
 p9_conn_destroy net/9p/trans_fd.c:884 [inline]
 p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919
 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089
 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504
 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3012 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3540
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3ff4a19cc9
RSP: 002b:00007f3ff49cb2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3ff4aa14c0 RCX: 00007f3ff4a19cc9
RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f3ff4aa14cc R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f3ff4aa14c8
 </TASK>
INFO: task syz-executor295:3867 blocked for more than 144 seconds.
      Not tainted 5.17.0-rc2-next-20220204-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor295 state:D stack:27528 pid: 3867 ppid:  3629 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x1f0 kernel/sched/core.c:6381
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
 p9_conn_destroy net/9p/trans_fd.c:884 [inline]
 p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919
 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089
 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504
 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3012 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3540
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3ff4a19cc9
RSP: 002b:00007f3ff49cb2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3ff4aa14c0 RCX: 00007f3ff4a19cc9
RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f3ff4aa14cc R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f3ff4aa14c8
 </TASK>
INFO: task syz-executor295:3897 can't die for more than 144 seconds.
task:syz-executor295 state:D stack:27528 pid: 3897 ppid:  3634 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x1f0 kernel/sched/core.c:6381
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
 p9_conn_destroy net/9p/trans_fd.c:884 [inline]
 p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919
 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089
 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504
 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3012 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3540
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3ff4a19cc9
RSP: 002b:00007f3ff49cb2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3ff4aa14c0 RCX: 00007f3ff4a19cc9
RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f3ff4aa14cc R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f3ff4aa14c8
 </TASK>
INFO: task syz-executor295:3897 blocked for more than 145 seconds.
      Not tainted 5.17.0-rc2-next-20220204-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor295 state:D stack:27528 pid: 3897 ppid:  3634 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5000 [inline]
 __schedule+0xab2/0x4db0 kernel/sched/core.c:6309
 schedule+0xd2/0x1f0 kernel/sched/core.c:6381
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075
 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162
 p9_conn_destroy net/9p/trans_fd.c:884 [inline]
 p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919
 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089
 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504
 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3012 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3540
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3ff4a19cc9
RSP: 002b:00007f3ff49cb2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3ff4aa14c0 RCX: 00007f3ff4a19cc9
RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f3ff4aa14cc R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f3ff4aa14c8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/26:
 #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6463
2 locks held by kworker/0:2/140:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc9000280fda8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
2 locks held by getty/3271:
 #0: ffff88814ab47098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077
2 locks held by kworker/0:0/3649:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc9000287fda8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
2 locks held by kworker/0:3/3667:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc9000291fda8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
2 locks held by kworker/1:1/3671:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc9000294fda8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
2 locks held by kworker/1:3/3690:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc900029cfda8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
2 locks held by kworker/1:4/3832:
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc90002c9fda8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc2-next-20220204-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline]
 watchdog+0xcb7/0xed0 kernel/hung_task.c:413
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:85 [inline]
RIP: 0010:lock_is_held_type+0x14/0x140 kernel/locking/lockdep.c:5675
Code: 27 bc ff 0f 0b 8b 44 24 04 eb bd 66 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 41 bd ff ff ff ff 41 54 55 53 48 83 ec 08 <8b> 0d 72 70 3d 04 85 c9 0f 84 d9 00 00 00 65 8b 05 97 11 ab 76 85
RSP: 0018:ffffc90000cf7930 EFLAGS: 00000086
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81356771
RDX: 0000000000000003 RSI: 00000000ffffffff RDI: ffffffff8bb839a0
RBP: ffffffff8bcb7b80 R08: 0000000000000000 R09: ffffffff8d94a4d7
R10: fffffbfff1b2949a R11: 000000000000003f R12: 0000000000000001
R13: 00000000ffffffff R14: 0000000000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ff4a6eea8 CR3: 000000000b88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_is_held include/linux/lockdep.h:283 [inline]
 rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
 trace_tlb_flush include/trace/events/tlb.h:38 [inline]
 trace_tlb_flush+0x126/0x1b0 include/trace/events/tlb.h:38
 switch_mm_irqs_off+0x4a4/0xa10 arch/x86/mm/tlb.c:629
 unuse_temporary_mm arch/x86/kernel/alternative.c:946 [inline]
 __text_poke+0x544/0x8c0 arch/x86/kernel/alternative.c:1042
 text_poke_bp_batch+0x2c3/0x4e0 arch/x86/kernel/alternative.c:1313
 text_poke_flush arch/x86/kernel/alternative.c:1470 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:1467 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1477
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
 jump_label_update+0x1da/0x400 kernel/jump_label.c:830
 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
 static_key_enable+0x16/0x20 kernel/jump_label.c:190
 toggle_allocation_gate mm/kfence/core.c:734 [inline]
 toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:726
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.281 msecs
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	bc ff 0f 0b 8b       	mov    $0x8b0b0fff,%esp
   5:	44 24 04             	rex.R and $0x4,%al
   8:	eb bd                	jmp    0xffffffc7
   a:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
  11:	00 00 00 00
  15:	41 57                	push   %r15
  17:	41 56                	push   %r14
  19:	41 55                	push   %r13
  1b:	41 bd ff ff ff ff    	mov    $0xffffffff,%r13d
  21:	41 54                	push   %r12
  23:	55                   	push   %rbp
  24:	53                   	push   %rbx
  25:	48 83 ec 08          	sub    $0x8,%rsp
* 29:	8b 0d 72 70 3d 04    	mov    0x43d7072(%rip),%ecx        # 0x43d70a1 <-- trapping instruction
  2f:	85 c9                	test   %ecx,%ecx
  31:	0f 84 d9 00 00 00    	je     0x110
  37:	65 8b 05 97 11 ab 76 	mov    %gs:0x76ab1197(%rip),%eax        # 0x76ab11d5
  3e:	85                   	.byte 0x85

Crashes (58):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/13 14:53 linux-next ef6b35306dd8 8b9ca619 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/08/10 07:47 linux-next da454ebf578f 6972b106 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2022/04/21 14:16 linux-next f1244c81da13 d4befee1 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/04/18 07:50 linux-next 40354149f4d7 8bcc32a6 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/04/02 19:52 linux-next e5071887cd22 79a2a8fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/25 08:01 linux-next dd315b580061 89bc8608 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/06 20:26 linux-next 91265a6da44d 7bdd8b2c .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/05 12:32 linux-next 91265a6da44d 45a13a73 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/04 16:16 linux-next 91265a6da44d 45a13a73 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/04 13:14 linux-next 91265a6da44d 45a13a73 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/03 17:17 linux-next 91265a6da44d 45a13a73 .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2020/08/22 10:34 linux-next 494d311a82bb 6436ce4b .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2021/08/01 15:45 linux-next 8d4b477da1a8 6c236867 .config console log report syz ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/06/21 19:58 linux-next a1f92694393a aba2b2fb .config console log report syz ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/06/21 10:11 linux-next a1f92694393a aba2b2fb .config console log report syz ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/06/14 05:15 linux-next a1f92694393a 1ba81399 .config console log report syz ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2022/04/24 20:54 linux-next f1244c81da13 131df97d .config console log report syz ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/02/13 07:16 linux-next ef6b35306dd8 8b9ca619 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/12/04 06:53 linux-next f81e94e91878 a617004c .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/10/09 12:49 linux-next 683f29b781ae 838e7e2c .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/10/08 03:54 linux-next f8dc23b3dc0c efe0f24d .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/10/06 19:51 linux-next 0dda5ee37364 62ee0987 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/10/05 15:24 linux-next 29616f67fcbd 0a63fd36 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/09/25 16:28 linux-next 5a5d008887b4 8cac236e .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/09/15 06:54 linux-next 70ced02f322f 07e953c1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/09/10 15:43 linux-next aa14a3016182 5ae8508a .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/08/28 18:41 linux-next 5e63226c7228 be2c130d .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/08/20 15:16 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/08/09 19:15 linux-next da454ebf578f 6972b106 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/08/04 03:27 linux-next 8d4b477da1a8 6c236867 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/07/30 13:58 linux-next 4ccc9e2db7ac c585c7b0 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/07/09 05:17 linux-next e2f74b13dbe6 1b20171a .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/06/19 20:17 linux-next a1f92694393a aba2b2fb .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/05/20 16:04 linux-next a1f92694393a c560a65d .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/05/18 16:08 linux-next a1f92694393a a343ba6b .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/05/11 14:47 linux-next 4bf27b1f7330 ca873091 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/04/21 04:47 linux-next 1216f02e46a4 c0ced557 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/04/13 16:02 linux-next dcf1b51d6b2a bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/04/13 08:42 linux-next 5df924d19629 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/04/03 10:22 linux-next 454c576c3f5e 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/04/01 17:53 linux-next 454c576c3f5e 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/03/22 15:32 linux-next e3128d2f068e bea32f74 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2021/02/24 16:30 linux-next 577c283560fe fcc6d71b .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in p9_fd_close
2022/04/24 15:15 linux-next f1244c81da13 131df97d .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/20 14:02 linux-next 91265a6da44d e2d91b1d .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/05 05:18 linux-next 91265a6da44d 45a13a73 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2022/03/01 22:28 linux-next e6ada6df471f 45a13a73 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in __wait_for_common
2021/01/14 01:52 linux-next aa515cdce7a1 269d24e8 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/13 14:10 linux-next aa515cdce7a1 a945f0a3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/12 23:15 linux-next df869cab4b35 0cdd6185 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/11 04:12 linux-next 1c925d2030af 2c1f2513 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/03 06:42 linux-next d7a03a44a5e9 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/02 16:16 linux-next d7a03a44a5e9 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/13 18:01 linux-next 14240d4c5b25 bca53db9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/08 12:06 linux-next 15ac8fdb7440 51a9082e .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/06 14:44 linux-next 0eedceafd3a6 f12ba0c5 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/29 20:10 linux-next 6174f05255e6 a0092f9d .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/22 08:18 linux-next 95065cb54210 0d27f508 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.