INFO: task kworker/2:2:3173 blocked for more than 143 seconds. Not tainted 5.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/2:2 D26968 3173 2 0x80004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x934/0x1f90 kernel/sched/core.c:4081 schedule+0xdc/0x2b0 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1106 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1121 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 linkwatch_event+0xf/0x70 net/core/link_watch.c:242 process_one_work+0x9af/0x1740 kernel/workqueue.c:2264 worker_thread+0x98/0xe40 kernel/workqueue.c:2410 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 INFO: task syz-executor.0:16594 blocked for more than 144 seconds. Not tainted 5.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28160 16594 9429 0x00000004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x934/0x1f90 kernel/sched/core.c:4081 schedule+0xdc/0x2b0 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1106 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1121 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 ip_mc_drop_socket+0x94/0x270 net/ipv4/igmp.c:2681 inet_release+0x53/0x200 net/ipv4/af_inet.c:414 __sock_release+0xce/0x280 net/socket.c:592 sock_close+0x1e/0x30 net/socket.c:1270 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x676/0x790 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413d81 Code: 31 44 00 ff d3 85 c0 75 da b9 a0 98 65 00 31 d2 be 53 25 44 00 bf d2 3c 44 00 ff 15 b1 5a 24 00 eb c1 90 90 90 90 90 90 90 c7 <07> 01 00 00 00 31 c0 c3 0f 1f 80 00 00 00 00 c7 07 00 00 00 00 31 RSP: 002b:00007ffdc65df890 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000413d81 RDX: 0000000000000000 RSI: 0000000000000a3c RDI: 0000000000000005 RBP: 000000000072c980 R08: 00000000c06b6a3c R09: 00000000c06b6a40 R10: 00007ffdc65df9c0 R11: 0000000000000293 R12: 0000000000000001 R13: 000000000072c980 R14: 0000000000730510 R15: 00007ffdc65df9a0 INFO: task syz-executor.5:16629 blocked for more than 145 seconds. Not tainted 5.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D29400 16629 9441 0x00004004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x934/0x1f90 kernel/sched/core.c:4081 schedule+0xdc/0x2b0 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1106 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1121 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 sock_do_ioctl+0x24e/0x2f0 net/socket.c:1053 sock_ioctl+0x3ed/0x790 net/socket.c:1191 vfs_ioctl fs/ioctl.c:47 [inline] file_ioctl fs/ioctl.c:545 [inline] do_vfs_ioctl+0x977/0x14e0 fs/ioctl.c:732 ksys_ioctl+0xab/0xd0 fs/ioctl.c:749 __do_sys_ioctl fs/ioctl.c:756 [inline] __se_sys_ioctl fs/ioctl.c:754 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:754 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a759 Code: 8b 6c 24 20 48 83 c4 28 c3 48 8b 1d c1 9b 6b 01 48 8d 0c 19 48 8d 49 ff 48 ff cb 48 f7 d3 48 21 d9 e9 0c ff ff ff 48 8b 6c 24 <20> 48 83 c4 28 c3 48 89 d8 b9 00 00 40 00 e8 14 4f 00 00 4c 89 c0 RSP: 002b:00007f5f13383c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000072bf00 RCX: 000000000045a759 RDX: 0000000000400200 RSI: 0000000000008912 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5f133846d4 R13: 00000000004ab4cc R14: 00000000006edda8 R15: 00000000ffffffff INFO: task syz-executor.1:16632 blocked for more than 145 seconds. Not tainted 5.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29400 16632 9432 0x00004004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x934/0x1f90 kernel/sched/core.c:4081 schedule+0xdc/0x2b0 kernel/sched/core.c:4155 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4214 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7ab/0x13c0 kernel/locking/mutex.c:1106 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1121 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 sock_do_ioctl+0x24e/0x2f0 net/socket.c:1053 sock_ioctl+0x3ed/0x790 net/socket.c:1191 vfs_ioctl fs/ioctl.c:47 [inline] file_ioctl fs/ioctl.c:545 [inline] do_vfs_ioctl+0x977/0x14e0 fs/ioctl.c:732 ksys_ioctl+0xab/0xd0 fs/ioctl.c:749 __do_sys_ioctl fs/ioctl.c:756 [inline] __se_sys_ioctl fs/ioctl.c:754 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:754 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a759 Code: 8b 6c 24 20 48 83 c4 28 c3 48 8b 1d c1 9b 6b 01 48 8d 0c 19 48 8d 49 ff 48 ff cb 48 f7 d3 48 21 d9 e9 0c ff ff ff 48 8b 6c 24 <20> 48 83 c4 28 c3 48 89 d8 b9 00 00 40 00 e8 14 4f 00 00 4c 89 c0 RSP: 002b:00007f8fefc61c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000072bf00 RCX: 000000000045a759 RDX: 0000000000400200 RSI: 0000000000008912 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8fefc626d4 R13: 00000000004ab4cc R14: 00000000006edda8 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by kworker/2:1/85: #0: ffff88802cc37928 ((wq_completion)rcu_gp){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff88802cc37928 ((wq_completion)rcu_gp){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88802cc37928 ((wq_completion)rcu_gp){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff88802cc37928 ((wq_completion)rcu_gp){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff88802cc37928 ((wq_completion)rcu_gp){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff88802cc37928 ((wq_completion)rcu_gp){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff88802cc37928 ((wq_completion)rcu_gp){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2235 #1: ffffc90000737dc0 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2239 1 lock held by khungtaskd/1083: #0: ffffffff897a4080 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x279 kernel/locking/lockdep.c:5334 3 locks held by kworker/2:2/3173: #0: ffff88802cc26d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff88802cc26d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88802cc26d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff88802cc26d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff88802cc26d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff88802cc26d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff88802cc26d28 ((wq_completion)events){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2235 #1: ffffc900048f7dc0 ((linkwatch_work).work){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2239 #2: ffffffff8a2b4ac0 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 3 locks held by kworker/0:3/3950: #0: ffff888078c55528 ((wq_completion)ipv6_addrconf){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff888078c55528 ((wq_completion)ipv6_addrconf){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888078c55528 ((wq_completion)ipv6_addrconf){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff888078c55528 ((wq_completion)ipv6_addrconf){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff888078c55528 ((wq_completion)ipv6_addrconf){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff888078c55528 ((wq_completion)ipv6_addrconf){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff888078c55528 ((wq_completion)ipv6_addrconf){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2235 #1: ffffc90007fdfdc0 ((addr_chk_work).work){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2239 #2: ffffffff8a2b4ac0 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 6 locks held by udevd/4289: 1 lock held by rsyslogd/9205: #0: ffff888025ba48e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/9327: #0: ffff88801fd11090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900006a42e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9328: #0: ffff888022c23090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900006542e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9329: #0: ffff888022f80090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900006902e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9330: #0: ffff88801feef090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900006942e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9331: #0: ffff88801fefa090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900006b42e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9332: #0: ffff88801fe4c090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900006c02e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9333: #0: ffff888026f5f090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90000a342e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.0/16594: #0: ffff88801d237740 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:791 [inline] #0: ffff88801d237740 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x89/0x280 net/socket.c:591 #1: ffffffff8a2b4ac0 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 2 locks held by syz-executor.0/16605: #0: ffffffff8a2b4ac0 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 #1: ffffffff897a7e38 (rcu_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:317 [inline] #1: ffffffff897a7e38 (rcu_state.exp_mutex){+.+.}, at: synchronize_rcu_expedited+0x276/0x5f0 kernel/rcu/tree_exp.h:817 2 locks held by syz-executor.4/16600: 1 lock held by syz-executor.5/16629: #0: ffffffff8a2b4ac0 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 1 lock held by syz-executor.1/16632: #0: ffffffff8a2b4ac0 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72 ============================================= NMI backtrace for cpu 3 CPU: 3 PID: 1083 Comm: khungtaskd Not tainted 5.4.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb11/0x10c0 kernel/hung_task.c:289 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 3 to CPUs 0-2: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.685 msecs INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 3.597 msecs NMI backtrace for cpu 1 CPU: 1 PID: 16600 Comm: syz-executor.4 Not tainted 5.4.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0010:ffs arch/x86/include/asm/bitops.h:297 [inline] RIP: 0010:__do_softirq+0x227/0x98c kernel/softirq.c:280 Code: c7 c0 e8 33 73 89 48 c1 e8 03 42 80 3c 30 00 0f 85 b1 06 00 00 48 83 3d ce 31 73 01 00 0f 84 d6 05 00 00 fb 66 0f 1f 44 00 00 ff ff ff ff 48 c7 45 c8 00 91 60 89 0f bc 45 d4 83 c0 01 89 45 RSP: 0018:ffffc900004e8f18 EFLAGS: 00000282 RAX: 1ffffffff12e667d RBX: ffff8880599c8080 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880599c8914 RBP: ffffc900004e8f98 R08: 1ffffffff16181c2 R09: fffffbfff16181c3 R10: fffffbfff16181c2 R11: ffffffff8b0c0e17 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f7b6cf1d700(0000) GS:ffff88802d300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cb2b0 CR3: 000000005c6f8000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19b/0x1e0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x4f/0x80 kernel/locking/spinlock.c:199 Code: c0 e8 33 73 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 33 48 83 3d 62 a2 ac 01 00 74 20 fb 66 0f 1f 44 00 00 01 00 00 00 e8 37 fb 89 f9 65 8b 05 e8 8c 3b 78 85 c0 74 06 41 RSP: 0018:ffffc90002e5f8d8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12e667d RBX: ffff8880599c8080 RCX: 0000000000000006 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8880599c8914 RBP: ffffc90002e5f8e0 R08: 1ffffffff16181c2 R09: fffffbfff16181c3 R10: fffffbfff16181c2 R11: ffffffff8b0c0e17 R12: ffff88802d337380 R13: ffff888024f9dac0 R14: ffff88801de3a540 R15: 0000000000000402 finish_lock_switch kernel/sched/core.c:3124 [inline] finish_task_switch+0x147/0x750 kernel/sched/core.c:3224 context_switch kernel/sched/core.c:3388 [inline] __schedule+0x93c/0x1f90 kernel/sched/core.c:4081 preempt_schedule_common+0x4f/0xe0 kernel/sched/core.c:4236 preempt_schedule+0x4b/0x60 kernel/sched/core.c:4261 ___preempt_schedule+0x16/0x18 arch/x86/entry/thunk_64.S:50 smp_call_function_single+0x410/0x480 kernel/smp.c:313 task_function_call+0xe9/0x180 kernel/events/core.c:114 perf_install_in_context+0x308/0x5a0 kernel/events/core.c:2746 __do_sys_perf_event_open+0x1cbc/0x2c70 kernel/events/core.c:11543 __se_sys_perf_event_open kernel/events/core.c:11151 [inline] __x64_sys_perf_event_open+0xbe/0x150 kernel/events/core.c:11151 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a759 Code: bd b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7b6cf1cc88 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000072bf00 RCX: 000000000045a759 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000002001d000 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f7b6cf1d6d4 R13: 00000000004af4e2 R14: 00000000006f3b80 R15: 00000000ffffffff NMI backtrace for cpu 0 CPU: 0 PID: 9381 Comm: syz-fuzzer Not tainted 5.4.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0033:0x4104e7 Code: f6 c1 04 0f 85 54 01 00 00 80 78 09 00 0f 85 8c 00 00 00 48 8b 40 10 eb 5d 48 ff c2 48 83 c1 04 48 83 fa 08 73 3a 8b 5c 24 38 <39> 19 75 eb 0f b6 1c 02 80 fb 01 76 e2 48 8b 4c 24 28 0f b6 49 49 RSP: 002b:000000c0005db6d8 EFLAGS: 00010293 RAX: 000000c003de5860 RBX: 0000000043b7ba7b RCX: 000000c003de5868 RDX: 0000000000000000 RSI: 00000000008f1bc0 RDI: 0000000000000038 RBP: 000000c0005db6f0 R08: 0000000000000000 R09: 0000000000000004 R10: 000000c0007b9dca R11: 0000000000000002 R12: ffffffffffffffff R13: 0000000000000002 R14: 0000000000000022 R15: ffffffffffffffff FS: 000000c00018c790 GS: 0000000000000000 NMI backtrace for cpu 2 CPU: 2 PID: 16605 Comm: syz-executor.0 Not tainted 5.4.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0010:io_serial_out+0x73/0x90 drivers/tty/serial/8250/8250_port.c:457 Code: 00 49 8d 7c 24 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 d3 e3 80 3c 02 00 75 19 41 03 5c 24 38 44 89 e8 89 da ee <5b> 41 5c 41 5d 5d c3 e8 91 f9 cf fd eb c0 e8 ea f9 cf fd eb e0 0f RSP: 0018:ffffc90002e9f5d0 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 00000000000003f9 RCX: 0000000000000000 RDX: 00000000000003f9 RSI: ffffffff83e26c56 RDI: ffffffff8bef5638 RBP: ffffc90002e9f5e8 R08: ffff888059358b40 R09: fffff520005d3eac R10: fffff520005d3eab R11: 0000000000000003 R12: ffffffff8bef5600 R13: 0000000000000000 R14: ffffffff8bef5648 R15: ffffc90002e9f6d8 FS: 00007fd11c211700(0000) GS:ffff88802d400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000021251c8 CR3: 000000005e339000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_port_out include/linux/serial_core.h:265 [inline] serial8250_console_write+0x314/0x9a0 drivers/tty/serial/8250/8250_port.c:3152 univ8250_console_write+0x5f/0x70 drivers/tty/serial/8250/8250_core.c:587 call_console_drivers kernel/printk/printk.c:1791 [inline] console_unlock+0xb7a/0xf00 kernel/printk/printk.c:2473 vprintk_emit+0x2a0/0x700 kernel/printk/printk.c:1996 vprintk_default+0x28/0x30 kernel/printk/printk.c:2023 vprintk_func+0x7e/0x189 kernel/printk/printk_safe.c:386 printk+0xba/0xed kernel/printk/printk.c:2056 fill_kobj_path lib/kobject.c:160 [inline] kobject_get_path.cold+0x38/0x47 lib/kobject.c:182 kobject_uevent_env+0x3ab/0x10a6 lib/kobject_uevent.c:528 kobject_uevent+0x20/0x26 lib/kobject_uevent.c:641 kobject_cleanup lib/kobject.c:680 [inline] kobject_release lib/kobject.c:722 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put.cold+0x177/0x2e6 lib/kobject.c:739 net_rx_queue_update_kobjects+0x361/0x460 net/core/net-sysfs.c:972 remove_queue_kobjects net/core/net-sysfs.c:1560 [inline] netdev_unregister_kobject+0x151/0x1f0 net/core/net-sysfs.c:1711 rollback_registered_many+0xafe/0x10d0 net/core/dev.c:8770 rollback_registered+0x109/0x1d0 net/core/dev.c:8788 unregister_netdevice_queue net/core/dev.c:9887 [inline] unregister_netdevice_queue+0x1ee/0x2c0 net/core/dev.c:9880 unregister_netdevice include/linux/netdevice.h:2669 [inline] __tun_detach+0xe6d/0x1150 drivers/net/tun.c:723 tun_detach drivers/net/tun.c:740 [inline] tun_chr_close+0xe0/0x180 drivers/net/tun.c:3455 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x676/0x790 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a759 Code: bd b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd11c210c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000124 RAX: 0000000000000004 RBX: 000000000072bfa8 RCX: 000000000045a759 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd11c2116d4 R13: 00000000004a7f46 R14: 00000000006e8f00 R15: 00000000ffffffff