INFO: task syz-executor.1:26177 blocked for more than 143 seconds. Not tainted 5.8.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27072 26177 6956 0xa0024006 Call Trace: context_switch kernel/sched/core.c:3453 [inline] __schedule+0x8e1/0x1eb0 kernel/sched/core.c:4178 schedule+0xd0/0x2a0 kernel/sched/core.c:4253 rwsem_down_write_slowpath+0x603/0xc60 kernel/locking/rwsem.c:1235 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1855 bcm_release+0x94/0x750 net/can/bcm.c:1474 __sock_release+0xcd/0x280 net/socket.c:605 sock_close+0x18/0x20 net/socket.c:1278 __fput+0x33c/0x880 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:135 exit_task_work include/linux/task_work.h:25 [inline] do_exit+0xb72/0x2a40 kernel/exit.c:805 do_group_exit+0x125/0x310 kernel/exit.c:903 get_signal+0x40b/0x1ee0 kernel/signal.c:2743 do_signal+0x82/0x2520 arch/x86/kernel/signal.c:810 exit_to_usermode_loop arch/x86/entry/common.c:235 [inline] __prepare_exit_to_usermode+0x156/0x1f0 arch/x86/entry/common.c:269 __do_fast_syscall_32 arch/x86/entry/common.c:475 [inline] do_fast_syscall_32+0x7f/0x120 arch/x86/entry/common.c:503 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f03569 Code: Bad RIP value. RSP: 002b:00000000f5cdd0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000167 RAX: 0000000000000004 RBX: 000000000000001d RCX: 0000000000000002 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1152: #0: ffffffff89bc11c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 3 locks held by kworker/u4:5/3510: #0: ffff8880a97ad138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a97ad138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880a97ad138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880a97ad138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880a97ad138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880a97ad138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc9000d00fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffffffff8a7ab3f0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xa00 net/core/net_namespace.c:565 2 locks held by in:imklog/6493: #0: ffff88809a8153b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 #1: ffffffff89bb5c38 (logbuf_lock){-.-.}-{2:2}, at: is_bpf_text_address+0x0/0x160 kernel/bpf/core.c:691 2 locks held by agetty/6730: #0: ffff8880a64de098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc90000f442e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x223/0x1a30 drivers/tty/n_tty.c:2156 2 locks held by kworker/0:38/27374: #0: ffff8880ae635e18 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1261 [inline] #0: ffff8880ae635e18 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x22d/0x1eb0 kernel/sched/core.c:4124 #1: ffff8880ae620f08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2fb/0x400 kernel/sched/psi.c:817 2 locks held by syz-executor.1/26177: #0: ffff8881adaf6210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:800 [inline] #0: ffff8881adaf6210 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:604 #1: ffffffff8a7ab3f0 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1855 1 lock held by syz-executor.1/26513: #0: ffffffff8a7ab3f0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2ac/0x5e0 net/core/net_namespace.c:478 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1152 Comm: khungtaskd Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 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+0xd7d/0x1000 kernel/hung_task.c:295 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3882 Comm: systemd-journal Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3108 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3128 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3183 [inline] RIP: 0010:__lock_acquire+0x1733/0x56e0 kernel/locking/lockdep.c:4380 Code: 54 8c 48 89 c2 48 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 f8 2d 00 00 48 8b 04 dd 80 d9 54 8c <48> 85 c0 74 5d 48 83 e8 08 48 89 c2 74 54 49 bd 00 00 00 00 00 fc RSP: 0018:ffffc90000007ae8 EFLAGS: 00000046 RAX: ffffffff8bfed3a8 RBX: 00000000000004b6 RCX: ffffffff8159b753 RDX: 1ffffffff18a9fe6 RSI: 0000000000000008 RDI: ffffffff8c599ae0 RBP: ffff8880932ead90 R08: 0000000000000000 R09: ffffffff8c599ae7 R10: fffffbfff18b335c R11: 0000000000000000 R12: ffff8880932ea4c0 R13: ffff8880932eadb2 R14: e61abf9908273e1a R15: 0000000000000001 FS: 00007f3661fce8c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f365f63c000 CR3: 00000000935b2000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f1/0xad0 kernel/locking/lockdep.c:4959 call_timer_fn+0x12e/0x760 kernel/time/timer.c:1401 expire_timers kernel/time/timer.c:1449 [inline] __run_timers.part.0+0x54c/0xa20 kernel/time/timer.c:1773 __run_timers kernel/time/timer.c:1745 [inline] run_timer_softirq+0xae/0x1a0 kernel/time/timer.c:1786 __do_softirq+0x34c/0xa60 kernel/softirq.c:292 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x111/0x170 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu kernel/softirq.c:417 [inline] irq_exit_rcu+0x229/0x270 kernel/softirq.c:429 sysvec_apic_timer_interrupt+0x54/0x120 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:587 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:765 [inline] RIP: 0010:kfree+0x1e0/0x2c0 mm/slab.c:3758 Code: 4f 7e 0f 85 55 fe ff ff e8 dc a7 4d ff e9 4b fe ff ff e8 e3 9d c6 ff 48 83 3d 3b 0f 02 08 00 0f 84 d2 00 00 00 48 89 df 57 9d <0f> 1f 44 00 00 5b 5d 41 5c 41 5d c3 65 ff 05 5d 2d 4f 7e 48 8b 05 RSP: 0018:ffffc90001577dc0 EFLAGS: 00000282 RAX: 00000000002e938f RBX: 0000000000000282 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000282 RBP: ffff88802cf40640 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880aa0001c0 R13: ffffffff835509e3 R14: 0000000000000000 R15: 0000000000000000 security_cred_free+0xc3/0x130 security/security.c:1625 put_cred_rcu+0x122/0x4a0 kernel/cred.c:114 __put_cred+0x1de/0x250 kernel/cred.c:148 put_cred include/linux/cred.h:287 [inline] put_cred include/linux/cred.h:280 [inline] revert_creds+0x1a8/0x1f0 kernel/cred.c:598 do_faccessat+0x2ca/0x820 fs/open.c:464 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f366128a9c7 Code: Bad RIP value. RSP: 002b:00007ffdbe868358 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffdbe86b270 RCX: 00007f366128a9c7 RDX: 00007f3661cfba00 RSI: 0000000000000000 RDI: 000055a9cc6489a3 RBP: 00007ffdbe868390 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffdbe86b270 R15: 00007ffdbe868880