INFO: task syz-executor.1:16183 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29048 16183 378 0x80004006 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 locks_remove_posix+0x277/0x4e0 fs/locks.c:2706 __sched_text_start+0x8/0x8 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] prepare_to_wait_event+0x129/0x650 kernel/sched/wait.c:305 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 wdm_flush+0x2ea/0x3c0 drivers/usb/class/cdc-wdm.c:590 wdm_poll+0x280/0x280 include/linux/poll.h:50 finish_wait+0x260/0x260 include/linux/list.h:301 task_work_add+0x97/0x120 kernel/task_work.c:35 wdm_poll+0x280/0x280 include/linux/poll.h:50 filp_close+0xb4/0x170 fs/open.c:1251 close_files fs/file.c:388 [inline] put_files_struct fs/file.c:416 [inline] put_files_struct+0x1d8/0x2e0 fs/file.c:413 exit_files+0x7e/0xa0 fs/file.c:445 do_exit+0xb36/0x2c80 kernel/exit.c:791 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 mm_update_next_owner+0x7a0/0x7a0 kernel/exit.c:375 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 do_group_exit+0x125/0x340 kernel/exit.c:894 get_signal+0x480/0x2480 kernel/signal.c:2739 trace_kfree include/trace/events/kmem.h:138 [inline] kfree+0x2a2/0x300 mm/slub.c:4010 do_signal+0x88/0x1ae0 arch/x86/kernel/signal.c:784 finish_wait+0x260/0x260 include/linux/list.h:301 force_valid_ss arch/x86/kernel/signal.c:73 [inline] restore_sigcontext+0x620/0x620 arch/x86/kernel/signal.c:134 wdm_probe+0x2d0/0x2d0 drivers/usb/class/cdc-wdm.c:925 __vfs_write+0x7e/0x100 fs/read_write.c:495 vfs_write+0x161/0x5d0 fs/read_write.c:555 fput_many+0x2f/0x1a0 fs/file_table.c:336 ksys_write+0x1a5/0x250 fs/read_write.c:618 __ia32_sys_read+0xb0/0xb0 fs/read_write.c:596 exit_to_usermode_loop+0x1a2/0x200 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x4e0/0x5a0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.3:16240 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28552 16240 380 0x00000004 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 __sched_text_start+0x8/0x8 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] prepare_to_wait_event+0x129/0x650 kernel/sched/wait.c:305 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 wdm_flush+0x2ea/0x3c0 drivers/usb/class/cdc-wdm.c:590 wdm_poll+0x280/0x280 include/linux/poll.h:50 finish_wait+0x260/0x260 include/linux/list.h:301 wdm_poll+0x280/0x280 include/linux/poll.h:50 filp_close+0xb4/0x170 fs/open.c:1251 __close_fd+0x133/0x200 fs/file.c:641 __do_sys_close fs/open.c:1270 [inline] __se_sys_close fs/open.c:1268 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1268 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 do_syscall_64+0xb6/0x5a0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.5:16253 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28552 16253 376 0x00000004 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 __sched_text_start+0x8/0x8 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] prepare_to_wait_event+0x129/0x650 kernel/sched/wait.c:305 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 wdm_flush+0x2ea/0x3c0 drivers/usb/class/cdc-wdm.c:590 wdm_poll+0x280/0x280 include/linux/poll.h:50 finish_wait+0x260/0x260 include/linux/list.h:301 wdm_poll+0x280/0x280 include/linux/poll.h:50 filp_close+0xb4/0x170 fs/open.c:1251 __close_fd+0x133/0x200 fs/file.c:641 __do_sys_close fs/open.c:1270 [inline] __se_sys_close fs/open.c:1268 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1268 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 do_syscall_64+0xb6/0x5a0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x264 kernel/locking/lockdep.c:5754 1 lock held by in:imklog/267: #0: ffff8881c8a07c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 2 locks held by agetty/272: #0: ffff8881d1006098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc90000a262e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x220/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by agetty/10362: #0: ffff8881d06bb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000ee512e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x220/0x1b30 drivers/tty/n_tty.c:2156 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 5.7.0-rc6-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+0xef/0x16e lib/dump_stack.c:118 irq_force_complete_move.cold+0x13/0x47 arch/x86/kernel/apic/vector.c:1023 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x1db/0x207 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa99/0xfd0 kernel/hung_task.c:289 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:243 kthread+0x326/0x430 kernel/kthread.c:268 kthread_create_on_node+0xf0/0xf0 kernel/kthread.c:405 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 132 Comm: systemd-journal Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:___bpf_prog_run+0x36de/0x6a60 kernel/bpf/core.c:1558 Code: 2b 17 49 83 c7 08 89 d0 49 89 06 e9 70 c9 ff ff e8 77 a4 f5 ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 f1 30 00 00 48 8b 45 00 48 83 c4 30 5b 5d 41 5c 41 5d 41 5e RSP: 0018:ffff8881d207fb20 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffffff814a8bc6 RDX: 1ffff1103a40ff7d RSI: ffffffff814a9a99 RDI: ffffffff86dea708 RBP: ffff8881d207fbe8 R08: ffff8881d2c3e300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffed103a40ff7f R13: 0000000000000000 R14: 0000000000000095 R15: ffffc900009041e8 FS: 00007fba3ea938c0(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba3b1ed028 CR3: 00000001d25b2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 debug_object_activate+0x204/0x480 lib/debugobjects.c:664 __bpf_prog_run32+0x8f/0xd0 kernel/bpf/core.c:1681 __bpf_prog_run64+0xd0/0xd0 kernel/bpf/core.c:1681 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] mark_lock+0x12b/0x1510 kernel/locking/lockdep.c:3912 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] __lock_acquire+0xcb8/0x6650 kernel/locking/lockdep.c:4352 bpf_dispatcher_nop_func include/linux/bpf.h:545 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:599 [inline] seccomp_run_filters kernel/seccomp.c:272 [inline] __seccomp_filter+0x156/0x1300 kernel/seccomp.c:817 seccomp_notify_release+0x290/0x290 kernel/seccomp.c:1018 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 mark_held_locks+0xe0/0xe0 kernel/locking/lockdep.c:3620 debug_object_active_state lib/debugobjects.c:920 [inline] debug_object_active_state+0x294/0x360 lib/debugobjects.c:889 __secure_computing+0xac/0x280 kernel/seccomp.c:950 syscall_trace_enter+0x2a3/0xcd0 arch/x86/entry/common.c:119 syscall_slow_exit_work+0x5f0/0x5f0 include/linux/tracehook.h:75 trace_hardirqs_off_caller+0x55/0x200 kernel/trace/trace_preemptirq.c:73 do_syscall_64+0x462/0x5a0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x7fba3dd2cf17 Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007fff78b98118 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00005593cf6fc1e0 RCX: 00007fba3dd2cf17 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 00005593cf6fc1e0 RBP: 0000000000000084 R08: 00007fff78bae080 R09: 000000005ee098e3 R10: 0000000000000000 R11: 0000000000000202 R12: ffffffffffffffff R13: 00007fff78b981a8 R14: 00005593cf319958 R15: 0005a7b694df11dd