INFO: task udevd:5002 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller-00049-g24625f7d91fb #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26168 pid: 5002 ppid: 2980 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 io_schedule+0xba/0x130 kernel/sched/core.c:8615 folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1324 folio_wait_bit mm/filemap.c:1473 [inline] folio_wait_locked include/linux/pagemap.h:1028 [inline] folio_wait_locked include/linux/pagemap.h:1025 [inline] do_read_cache_folio+0x4ff/0x760 mm/filemap.c:3521 do_read_cache_page mm/filemap.c:3593 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3602 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xf6/0x920 block/partitions/core.c:715 adfspart_check_ICS+0x9a/0x690 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed block/partitions/core.c:686 [inline] bdev_disk_changed+0x629/0xf60 block/partitions/core.c:653 blkdev_get_whole+0x18a/0x2d0 block/bdev.c:686 blkdev_get_by_dev.part.0+0x5ec/0xb90 block/bdev.c:823 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:857 blkdev_open+0x13c/0x2c0 block/fops.c:481 do_dentry_open+0x4a1/0x11f0 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3653 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 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:0x7fd3b9b25697 RSP: 002b:00007ffcc6631ba0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005628bbb2e9c0 RCX: 00007fd3b9b25697 RDX: 00000000000a0800 RSI: 00005628bbaff7e0 RDI: 00000000ffffff9c RBP: 00005628bbaff7e0 R08: 0000000000000001 R09: 00007ffcc66b3080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00005628bbb0f040 R14: 0000000000000001 R15: 00005628bbaf32c0 INFO: task syz-executor.3:9511 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller-00049-g24625f7d91fb #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28376 pid: 9511 ppid: 3640 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 blkdev_put+0xbc/0x770 block/bdev.c:912 blkdev_close+0x64/0x80 block/fops.c:495 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f7c35889109 RSP: 002b:00007f7c3691f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f7c3599bf60 RCX: 00007f7c35889109 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f7c358e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffca1abfb7f R14: 00007f7c3691f300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8bd84020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 3 locks held by kworker/u4:2/42: 2 locks held by getty/3293: #0: ffff88801c549098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90001c482e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 1 lock held by udevd/5002: #0: ffff88801e724118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 1 lock held by syz-executor.3/9511: #0: ffff88801e724118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:912 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc2-syzkaller-00049-g24625f7d91fb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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:220 [inline] watchdog+0xc22/0xf90 kernel/hung_task.c:378 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: kworker/1:1 Not tainted 5.19.0-rc2-syzkaller-00049-g24625f7d91fb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg0 wg_packet_tx_worker RIP: 0010:ip6t_do_table+0xce1/0x1a40 net/ipv6/netfilter/ip6_tables.c:339 Code: f6 ff ff e8 b1 3a 51 f9 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 74 08 3c 03 0f 8e b4 0c 00 00 49 63 5c 24 20 <31> ff 89 de e8 c6 36 51 f9 85 db 0f 88 6d 02 00 00 e8 79 3a 51 f9 RSP: 0018:ffffc900003f88d8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: fffffffffffffffe RCX: 0000000000000100 RDX: ffff888016d0e200 RSI: ffffffff8828682f RDI: ffff888079d2d108 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888079d2d0e8 R13: ffff888079d2d0f0 R14: dffffc0000000000 R15: ffff888079d2d040 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c009884fc8 CR3: 000000007dded000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6table_mangle_hook+0xb9/0x6c0 net/ipv6/netfilter/ip6table_mangle.c:72 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xc5/0x1f0 net/netfilter/core.c:620 nf_hook.constprop.0+0x3ac/0x650 include/linux/netfilter.h:262 NF_HOOK include/linux/netfilter.h:305 [inline] ipv6_rcv+0x9e/0x3b0 net/ipv6/ip6_input.c:306 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5478 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5592 process_backlog+0x3a0/0x7c0 net/core/dev.c:5920 __napi_poll+0xb3/0x6e0 net/core/dev.c:6486 napi_poll net/core/dev.c:6553 [inline] net_rx_action+0x9c1/0xd90 net/core/dev.c:6664 __do_softirq+0x29b/0x9c2 kernel/softirq.c:571 do_softirq.part.0+0xde/0x130 kernel/softirq.c:472 do_softirq kernel/softirq.c:464 [inline] __local_bh_enable_ip+0x102/0x120 kernel/softirq.c:396 wg_socket_send_skb_to_peer+0x14b/0x220 drivers/net/wireguard/socket.c:184 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x1a7/0x720 drivers/net/wireguard/send.c:276 process_one_work+0x996/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 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: e8 b1 3a 51 f9 callq 0xf9513ab6 5: 49 8d 7c 24 20 lea 0x20(%r12),%rdi a: 48 89 f8 mov %rdi,%rax d: 48 c1 e8 03 shr $0x3,%rax 11: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 16: 84 c0 test %al,%al 18: 74 08 je 0x22 1a: 3c 03 cmp $0x3,%al 1c: 0f 8e b4 0c 00 00 jle 0xcd6 22: 49 63 5c 24 20 movslq 0x20(%r12),%rbx * 27: 31 ff xor %edi,%edi <-- trapping instruction 29: 89 de mov %ebx,%esi 2b: e8 c6 36 51 f9 callq 0xf95136f6 30: 85 db test %ebx,%ebx 32: 0f 88 6d 02 00 00 js 0x2a5 38: e8 79 3a 51 f9 callq 0xf9513ab6