INFO: task syz-executor.1:8432 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. syz-executor.1 D27784 8432 8171 0x00004004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x8e1/0x1f30 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 perf_event_ctx_lock_nested+0x296/0x4c0 kernel/events/core.c:1278 perf_event_ctx_lock kernel/events/core.c:1291 [inline] perf_event_release_kernel+0x121/0xef0 kernel/events/core.c:4736 perf_release+0x37/0x50 kernel/events/core.c:4834 __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: 89 44 24 10 e8 40 c1 04 00 48 8b 6c 24 18 48 83 c4 20 c3 48 8b 4c 24 30 48 89 0c 24 48 8b 4c 24 38 48 89 4c 24 08 48 89 44 24 <10> e8 99 0c 00 00 48 8b 44 24 40 eb b5 48 8b 44 24 40 eb ae 48 8b RSP: 002b:00007ffd033b64d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000413d81 RDX: 0000000000000000 RSI: 0000000000000c65 RDI: 0000000000000005 RBP: 000000000071c980 R08: 00000000e1114c65 R09: 00000000e1114c69 R10: 00007ffd033b6600 R11: 0000000000000293 R12: 0000000000000001 R13: 000000000071c980 R14: 0000000000721c98 R15: 00007ffd033b65e0 Showing all locks held in the system: 1 lock held by khungtaskd/1115: #0: ffffffff895a4080 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x279 kernel/locking/lockdep.c:5334 1 lock held by rsyslogd/7799: 2 locks held by getty/7922: #0: ffff88802955b090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900026ea2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/7923: #0: ffff88802134a090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900026ee2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/7924: #0: ffff88802aab0090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900040062e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/7925: #0: ffff888029553090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900026f22e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/7926: #0: ffff88802aaca090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900026fe2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/7927: #0: ffff888029229090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc9000400a2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/7928: #0: ffff888029573090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc900026da2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by kworker/u16:2/7977: #0: ffff88802c7e4d28 ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff88802c7e4d28 ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88802c7e4d28 ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff88802c7e4d28 ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff88802c7e4d28 ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff88802c7e4d28 ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff88802c7e4d28 ((wq_completion)netns){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2235 #1: ffff88806e167dc0 (net_cleanup_work){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2239 #2: ffffffff8a087e08 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0xaf0 net/core/net_namespace.c:559 1 lock held by syz-executor.1/8432: #0: ffff8880245ae4a0 (&ctx->mutex){+.+.}, at: perf_event_ctx_lock_nested+0x296/0x4c0 kernel/events/core.c:1278 5 locks held by syz-executor.1/8436: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1115 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 0 to CPUs 1-3: NMI backtrace for cpu 2 CPU: 2 PID: 0 Comm: swapper/2 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:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline] RIP: 0010:native_write_msr+0x6/0x30 arch/x86/include/asm/msr.h:164 Code: d0 c3 0f 21 d8 c3 0f 21 f0 c3 0f 0b 0f 1f 84 00 00 00 00 00 0f 0b 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 89 f9 89 f0 0f 30 <0f> 1f 44 00 00 c3 55 48 c1 e2 20 89 f6 48 89 e5 48 09 d6 31 d2 e8 RSP: 0018:ffff88802d409e88 EFLAGS: 00000082 RAX: 000000007e84316e RBX: 0000000000000000 RCX: 00000000000006e0 RDX: 00000000000000ad RSI: 000000007e84316e RDI: 00000000000006e0 RBP: ffff88802d409ea0 R08: ffff88802c4bc3c0 R09: ffff88802c4bcc50 R10: fffffbfff146dba0 R11: ffffffff8a36dd07 R12: ffff88802d4227c0 R13: 0000000000018588 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802d400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000023023000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clockevents_program_event+0x25c/0x370 kernel/time/clockevents.c:334 tick_program_event+0xb4/0x130 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x369/0x770 kernel/time/hrtimer.c:1651 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61 Code: e8 14 f8 f9 eb 8a cc cc cc cc cc cc e9 07 00 00 00 0f 00 2d f4 7d 4e 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d e4 7d 4e 00 fb f4 cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 ae 78 a8 f9 e8 89 RSP: 0018:ffff88802c4cfd68 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12a668e RBX: ffff88802c4bc3c0 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000006 RDI: ffff88802c4bcc54 RBP: ffff88802c4cfd98 R08: ffff88802c4bc3c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffffff8a36dd00 R14: 0000000000000000 R15: 0000000000000002 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:690 default_idle_call+0x84/0xb0 kernel/sched/idle.c:94 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x3c8/0x6e0 kernel/sched/idle.c:269 cpu_startup_entry+0x1b/0x20 kernel/sched/idle.c:361 start_secondary+0x2f4/0x410 arch/x86/kernel/smpboot.c:264 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242 NMI backtrace for cpu 3 CPU: 3 PID: 8436 Comm: syz-executor.1 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:debug_check_no_locks_freed+0x0/0x290 kernel/locking/lockdep.c:5284 Code: 84 d2 74 0c 48 c7 c7 d0 0e 37 8a e8 ca da 57 00 8b 05 f4 dd dc 08 85 c0 75 b0 e9 21 e8 00 00 e8 b6 da 57 00 eb 9a 0f 1f 40 00 <48> c7 c0 d4 0e 37 8a 55 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 RSP: 0018:ffff88802d509688 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888029b6c828 RCX: 0000000000000000 RDX: ffffffff8bd52520 RSI: 0000000000000038 RDI: ffff888029b6c828 RBP: ffff88802d5096a8 R08: 0000000000000000 R09: ffffed1005aa7045 R10: ffffed1005aa7044 R11: ffff88802d538223 R12: ffffffff88b366e0 R13: ffffffff8bd52520 R14: ffffffff8a16af00 R15: ffff888029b6c800 FS: 00007f420a474700(0000) GS:ffff88802d500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000002967a000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: neigh_alloc net/core/neighbour.c:407 [inline] ___neigh_create+0x196/0x2560 net/core/neighbour.c:580 __neigh_create+0x2f/0x40 net/core/neighbour.c:674 ip6_finish_output2+0x94f/0x25c0 net/ipv6/ip6_output.c:113 __ip6_finish_output+0x444/0xaa0 net/ipv6/ip6_output.c:142 ip6_finish_output+0x38/0x1f0 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x25e/0x880 net/ipv6/ip6_output.c:175 dst_output include/net/dst.h:436 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ndisc_send_skb+0xf1f/0x1490 net/ipv6/ndisc.c:505 ndisc_send_rs+0x134/0x720 net/ipv6/ndisc.c:699 addrconf_rs_timer+0x30f/0x6e0 net/ipv6/addrconf.c:3879 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0x6c3/0x1790 kernel/time/timer.c:1786 __do_softirq+0x262/0x98c kernel/softirq.c:292 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 68 34 53 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 33 48 83 3d 12 2a 99 01 00 74 20 fb 66 0f 1f 44 00 00 01 00 00 00 e8 e7 6b 96 f9 65 8b 05 18 14 48 78 85 c0 74 06 41 RSP: 0018:ffff888073fe78d8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12a668d RBX: ffff8880295c85c0 RCX: 0000000000000006 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8880295c8e54 RBP: ffff888073fe78e0 R08: 1ffffffff15d29b8 R09: fffffbfff15d29b9 R10: fffffbfff15d29b8 R11: ffffffff8ae94dc7 R12: ffff88802d537380 R13: ffff88802c6c8800 R14: ffff8880225ff5c0 R15: 0000000000000001 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+0x8e9/0x1f30 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:00007f420a473c88 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 000000000045a759 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000040 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f420a4746d4 R13: 00000000004aec2b R14: 00000000006f1ca8 R15: 00000000ffffffff NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 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:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline] RIP: 0010:native_write_msr+0x6/0x30 arch/x86/include/asm/msr.h:164 Code: d0 c3 0f 21 d8 c3 0f 21 f0 c3 0f 0b 0f 1f 84 00 00 00 00 00 0f 0b 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 89 f9 89 f0 0f 30 <0f> 1f 44 00 00 c3 55 48 c1 e2 20 89 f6 48 89 e5 48 09 d6 31 d2 e8 RSP: 0018:ffff88802d309e88 EFLAGS: 00000082 RAX: 000000003e2388d8 RBX: 0000000000000000 RCX: 00000000000006e0 RDX: 00000000000000ad RSI: 000000003e2388d8 RDI: 00000000000006e0 RBP: ffff88802d309ea0 R08: ffff88802c4b8380 R09: ffff88802c4b8c10 R10: fffffbfff146dba0 R11: ffffffff8a36dd07 R12: ffff88802d3227c0 R13: 00000000000ec663 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802d300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d1c489190 CR3: 0000000029d13000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clockevents_program_event+0x25c/0x370 kernel/time/clockevents.c:334 tick_program_event+0xb4/0x130 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x369/0x770 kernel/time/hrtimer.c:1651 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61 Code: e8 14 f8 f9 eb 8a cc cc cc cc cc cc e9 07 00 00 00 0f 00 2d f4 7d 4e 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d e4 7d 4e 00 fb f4 cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 ae 78 a8 f9 e8 89 RSP: 0018:ffff88802c4c7d68 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12a668e RBX: ffff88802c4b8380 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000006 RDI: ffff88802c4b8c14 RBP: ffff88802c4c7d98 R08: ffff88802c4b8380 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffffff8a36dd00 R14: 0000000000000000 R15: 0000000000000001 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:690 default_idle_call+0x84/0xb0 kernel/sched/idle.c:94 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x3c8/0x6e0 kernel/sched/idle.c:269 cpu_startup_entry+0x1b/0x20 kernel/sched/idle.c:361 start_secondary+0x2f4/0x410 arch/x86/kernel/smpboot.c:264 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242