INFO: task syz-executor.2:20549 blocked for more than 143 seconds. Not tainted 5.13.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24944 pid:20549 ppid: 18529 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0xb98/0x1120 kernel/sched/core.c:5147 schedule+0x14b/0x200 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0xe52/0x1590 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 register_netdevice_notifier+0xad/0xa80 net/core/dev.c:1902 bcm_init+0x11e/0x160 net/can/bcm.c:1451 can_create+0x247/0x450 net/can/af_can.c:168 __sock_create+0x59b/0x8c0 net/socket.c:1408 sock_create net/socket.c:1459 [inline] __sys_socket+0x115/0x350 net/socket.c:1501 __do_sys_socket net/socket.c:1510 [inline] __se_sys_socket net/socket.c:1508 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1508 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007f5b161b6188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe2127733f R14: 00007f5b161b6300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:7/331: #0: ffff888012c73138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7aa/0x10c0 kernel/workqueue.c:2249 #1: ffffc90001fdfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7e8/0x10c0 kernel/workqueue.c:2251 #2: ffffffff8df1faf0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc60 net/core/net_namespace.c:557 1 lock held by khungtaskd/1634: #0: ffffffff8cf15c80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8094: #0: ffff888018b14ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 2 locks held by agetty/8080: #0: ffff888020b78098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc90000efc2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c3/0x1cf0 drivers/tty/n_tty.c:2179 2 locks held by agetty/8131: #0: ffff8880206a6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:267 #1: ffffc90000eb82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c3/0x1cf0 drivers/tty/n_tty.c:2179 5 locks held by kworker/0:9/9527: 1 lock held by syz-executor.2/20549: #0: ffffffff8df1faf0 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0xad/0xa80 net/core/dev.c:1902 1 lock held by syz-executor.4/21390: #0: ffffffff8df1faf0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5e0 net/core/net_namespace.c:470 1 lock held by syz-executor.0/21392: #0: ffffffff8df1faf0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5e0 net/core/net_namespace.c:470 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1634 Comm: khungtaskd Not tainted 5.13.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x202/0x31e lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xcfb/0xd40 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4839 Comm: systemd-journal Not tainted 5.13.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x21f/0x6040 kernel/locking/lockdep.c:4810 Code: 00 8b 75 20 48 c7 c0 00 5d ff 8f 49 29 c7 49 c1 ff 06 48 ba ab aa aa aa aa aa aa aa 49 0f af d7 41 89 d7 85 db 4c 89 6c 24 50 <48> 89 5c 24 78 0f 84 53 01 00 00 83 fb 31 0f 83 63 2f 00 00 48 8d RSP: 0018:ffffc9000161f8c0 EFLAGS: 00000046 RAX: ffffffff8fff5d00 RBX: 0000000000000000 RCX: ffffffff90e86703 RDX: 0000000000000096 RSI: 0000000000000000 RDI: ffff888016fa0930 RBP: ffffc9000161fc50 R08: dffffc0000000000 R09: 0000000000000001 R10: fffffbfff1c7055e R11: 0000000000000000 R12: ffff888016fa0000 R13: ffff888016fa09f0 R14: 0000000000000000 R15: 0000000000000096 FS: 00007ff7691d48c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff766782000 CR3: 0000000016589000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x17f/0x720 kernel/locking/lockdep.c:5512 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xae/0xf0 kernel/locking/spinlock.c:167 task_work_run+0xfd/0x1c0 kernel/task_work.c:159 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x10b/0x200 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x70 kernel/entry/common.c:301 do_syscall_64+0x4b/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ff768763840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffcfb433868 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: fffffffffffffffe RBX: 00007ffcfb433b70 RCX: 00007ff768763840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000562b4f0bbbe0 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000562b4f0b1040 R14: 00007ffcfb433b30 R15: 0000562b4f0bba00