INFO: task kworker/u4:1:11 blocked for more than 148 seconds. Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:23720 pid: 11 ppid: 2 flags:0x00004000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:5184 [inline] __schedule+0xa09/0x4f10 kernel/sched/core.c:6496 schedule+0xd2/0x1f0 kernel/sched/core.c:6568 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x378/0x530 kernel/sched/completion.c:106 __synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:1176 fsnotify_mark_destroy_workfn+0xfd/0x3c0 fs/notify/mark.c:898 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 INFO: task kworker/u4:24:16772 blocked for more than 149 seconds. Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:24 state:D stack:26552 pid:16772 ppid: 2 flags:0x00004000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:5184 [inline] __schedule+0xa09/0x4f10 kernel/sched/core.c:6496 schedule+0xd2/0x1f0 kernel/sched/core.c:6568 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x378/0x530 kernel/sched/completion.c:106 __synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:1176 fsnotify_connector_destroy_workfn+0x49/0xa0 fs/notify/mark.c:208 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 INFO: task dhcpcd:20536 blocked for more than 149 seconds. Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:29088 pid:20536 ppid: 3179 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5184 [inline] __schedule+0xa09/0x4f10 kernel/sched/core.c:6496 schedule+0xd2/0x1f0 kernel/sched/core.c:6568 synchronize_rcu_expedited+0x39a/0x670 kernel/rcu/tree_exp.h:955 synchronize_rcu+0x2c3/0x370 kernel/rcu/tree.c:3520 synchronize_net+0x4a/0x50 net/core/dev.c:10761 __unregister_prot_hook+0x48a/0x5a0 net/packet/af_packet.c:382 packet_do_bind+0x8bc/0xdc0 net/packet/af_packet.c:3227 packet_bind+0x152/0x1b0 net/packet/af_packet.c:3311 __sys_bind+0x1e9/0x250 net/socket.c:1776 __do_sys_bind net/socket.c:1787 [inline] __se_sys_bind net/socket.c:1785 [inline] __x64_sys_bind+0x6f/0xb0 net/socket.c:1785 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f020f413ce7 RSP: 002b:00007ffc52db3828 EFLAGS: 00000217 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 000055a9ec6b9b60 RCX: 00007f020f413ce7 RDX: 0000000000000014 RSI: 00007ffc52db3838 RDI: 0000000000000005 RBP: 0000000000000000 R08: 000055a9edc692e0 R09: 00007f020f4d4a60 R10: 0000000000020000 R11: 0000000000000217 R12: 000055a9edc62880 R13: 000055a9edc65648 R14: 00007ffc52dd410c R15: 00007ffc52dd4134 Showing all locks held in the system: 2 locks held by kworker/u4:1/11: #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90000107da8 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bd864f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bd861f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8bd87040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3276: #0: ffff88814ae8a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:18/16730: 2 locks held by kworker/u4:24/16772: #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888011869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90008bdfda8 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 3 locks held by kworker/0:4/19489: 2 locks held by dhcpcd/20536: #0: ffff888058c1e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1664 [inline] #0: ffff888058c1e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194 #1: ffffffff8bd91938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8bd91938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x562/0x670 kernel/rcu/tree_exp.h:940 2 locks held by dhcpcd/20555: #0: ffff88801c724130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1664 [inline] #0: ffff88801c724130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194 #1: ffffffff8bd91938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8bd91938 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x24a/0x670 kernel/rcu/tree_exp.h:940 1 lock held by dhcpcd/20556: #0: ffff888075b28130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1664 [inline] #0: ffff888075b28130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194 1 lock held by dhcpcd/20557: #0: ffff88807c9d2130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1664 [inline] #0: ffff88807c9d2130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194 1 lock held by dhcpcd/20558: #0: ffff88807dc18130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1664 [inline] #0: ffff88807dc18130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194 1 lock held by dhcpcd/20559: #0: ffff88807c9d0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1664 [inline] #0: ffff88807c9d0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3194 1 lock held by syz-executor.0/20751: 1 lock held by syz-executor.1/20761: 3 locks held by syz-executor.2/20763: 1 lock held by syz-executor.5/20771: 1 lock held by syz-executor.3/20774: 1 lock held by syz-executor.4/20776: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 20761 Comm: syz-executor.1 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:mark_lock.part.0+0x129/0x1910 kernel/locking/lockdep.c:4610 Code: 76 48 c1 e0 06 48 05 60 5d 6a 90 48 8d 78 50 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 65 13 00 00 <48> 89 ee 48 23 70 50 0f 84 d3 06 00 00 41 ba 01 00 00 00 48 b8 00 RSP: 0018:ffffc9000301ee50 EFLAGS: 00000046 RAX: ffffffff906adc20 RBX: 1ffff92000603dd1 RCX: 1ffffffff20d5b8e RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff906adc70 RBP: 0000000000000040 R08: 0000000000000000 R09: ffffffff906a5957 R10: fffffbfff20d4b2a R11: 0000000000000001 R12: ffff8880259027e0 R13: 0000000000000006 R14: 00000000000000a9 R15: ffff888025902800 FS: 00007f1b32f55700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff31699c028 CR3: 000000008f6b5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4596 [inline] mark_usage kernel/locking/lockdep.c:4545 [inline] __lock_acquire+0x893/0x5660 kernel/locking/lockdep.c:5007 lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 fs_reclaim_acquire mm/page_alloc.c:4690 [inline] fs_reclaim_acquire+0xd2/0x160 mm/page_alloc.c:4681 might_alloc include/linux/sched/mm.h:271 [inline] prepare_alloc_pages+0x159/0x570 mm/page_alloc.c:5276 __alloc_pages+0x145/0x510 mm/page_alloc.c:5495 alloc_pages+0x1aa/0x310 mm/mempolicy.c:2280 __get_free_pages+0x8/0x40 mm/page_alloc.c:5555 kasan_populate_vmalloc_pte mm/kasan/shadow.c:271 [inline] kasan_populate_vmalloc_pte+0x25/0x160 mm/kasan/shadow.c:262 apply_to_pte_range mm/memory.c:2648 [inline] apply_to_pmd_range mm/memory.c:2692 [inline] apply_to_pud_range mm/memory.c:2728 [inline] apply_to_p4d_range mm/memory.c:2764 [inline] __apply_to_page_range+0x68c/0x1030 mm/memory.c:2798 alloc_vmap_area+0xacf/0x1d30 mm/vmalloc.c:1625 __get_vm_area_node+0x142/0x3f0 mm/vmalloc.c:2484 __vmalloc_node_range+0x250/0x13a0 mm/vmalloc.c:3156 __vmalloc_node mm/vmalloc.c:3261 [inline] __vmalloc_area_node mm/vmalloc.c:3009 [inline] __vmalloc_node_range+0x424/0x13a0 mm/vmalloc.c:3196 vmalloc_user+0x67/0x80 mm/vmalloc.c:3350 vb2_vmalloc_alloc+0x11e/0x3f0 drivers/media/common/videobuf2/videobuf2-vmalloc.c:47 __vb2_buf_mem_alloc drivers/media/common/videobuf2/videobuf2-core.c:233 [inline] __vb2_queue_alloc+0x60b/0x1180 drivers/media/common/videobuf2/videobuf2-core.c:444 vb2_core_create_bufs+0x540/0x950 drivers/media/common/videobuf2/videobuf2-core.c:951 vb2_create_bufs+0x58d/0x7d0 drivers/media/common/videobuf2/videobuf2-v4l2.c:795 v4l_create_bufs drivers/media/v4l2-core/v4l2-ioctl.c:2085 [inline] v4l_create_bufs+0xb2/0x160 drivers/media/v4l2-core/v4l2-ioctl.c:2072 __video_do_ioctl+0xb94/0xe20 drivers/media/v4l2-core/v4l2-ioctl.c:2989 video_usercopy+0x3ab/0x1690 drivers/media/v4l2-core/v4l2-ioctl.c:3336 v4l2_ioctl+0x1b3/0x250 drivers/media/v4l2-core/v4l2-dev.c:364 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f1b31e89109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1b32f55168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1b31f9bf60 RCX: 00007f1b31e89109 RDX: 0000000020000040 RSI: 00000000c100565c RDI: 0000000000000003 RBP: 00007f1b31ee305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffceb52f53f R14: 00007f1b32f55300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 76 48 jbe 0x4a 2: c1 e0 06 shl $0x6,%eax 5: 48 05 60 5d 6a 90 add $0xffffffff906a5d60,%rax b: 48 8d 78 50 lea 0x50(%rax),%rdi f: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 16: fc ff df 19: 48 89 f9 mov %rdi,%rcx 1c: 48 c1 e9 03 shr $0x3,%rcx 20: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) 24: 0f 85 65 13 00 00 jne 0x138f * 2a: 48 89 ee mov %rbp,%rsi <-- trapping instruction 2d: 48 23 70 50 and 0x50(%rax),%rsi 31: 0f 84 d3 06 00 00 je 0x70a 37: 41 ba 01 00 00 00 mov $0x1,%r10d 3d: 48 rex.W 3e: b8 .byte 0xb8