INFO: task udevd:14284 blocked for more than 143 seconds. Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24896 pid:14284 ppid: 2975 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 io_schedule+0x83/0x100 kernel/sched/core.c:8645 folio_wait_bit_common+0x97a/0x1490 mm/filemap.c:1324 folio_wait_bit mm/filemap.c:1473 [inline] folio_wait_locked include/linux/pagemap.h:1028 [inline] do_read_cache_folio+0x634/0xd10 mm/filemap.c:3530 do_read_cache_page mm/filemap.c:3602 [inline] read_cache_page+0x57/0x250 mm/filemap.c:3611 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xd5/0x450 block/partitions/core.c:715 adfspart_check_ICS+0xd4/0x750 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+0x75d/0x13e0 block/partitions/core.c:686 blkdev_get_whole+0x329/0x3b0 block/bdev.c:686 blkdev_get_by_dev+0x30b/0xa40 block/bdev.c:823 blkdev_open+0x128/0x2e0 block/fops.c:481 do_dentry_open+0x789/0x1040 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3653 do_filp_open+0x277/0x4f0 fs/namei.c:3680 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7feb5fd25697 RSP: 002b:00007ffe85827640 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055c259316190 RCX: 00007feb5fd25697 RDX: 00000000000a0800 RSI: 000055c2592f18c0 RDI: 00000000ffffff9c RBP: 000055c2592f18c0 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055c259314280 R14: 0000000000000001 R15: 000055c2592f0910 INFO: task syz-executor.3:17462 blocked for more than 143 seconds. Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27840 pid:17462 ppid: 3643 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 blkdev_put+0x100/0x730 block/bdev.c:912 blkdev_close+0x55/0x80 block/fops.c:495 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:177 get_signal+0x15d9/0x1780 kernel/signal.c:2634 arch_do_signal_or_restart+0x8d/0x750 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:166 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f6aebe89109 RSP: 002b:00007f6aecf11168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f6aebf9c030 RCX: 00007f6aebe89109 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f6aebee305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeabe917bf R14: 00007f6aecf11300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cb1e820 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3290: #0: ffff88814a989098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 3 locks held by kworker/u4:10/3976: 1 lock held by udevd/14284: #0: ffff88801e5a5118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa40 block/bdev.c:814 1 lock held by syz-executor.3/17462: #0: ffff88801e5a5118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x730 block/bdev.c:912 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #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+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 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+0xcf9/0xd40 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12429 Comm: kworker/1:12 Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:check_preemption_disabled+0x4/0x120 lib/smp_processor_id.c:13 Code: c7 c7 40 20 97 8a e8 3b 01 00 00 65 ff 0d 30 40 d8 75 5b c3 cc cc 48 c7 c7 a0 91 e9 8a 48 c7 c6 e0 91 e9 8a eb 00 41 57 41 56 <41> 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 RSP: 0018:ffffc900095dfa48 EFLAGS: 00000046 RAX: 1ffff11003129400 RBX: ffffc900095dfac0 RCX: 0000000080000002 RDX: 0000000000000000 RSI: ffffffff8a8d2fa0 RDI: ffffffff8ae99200 RBP: ffffc900095dfbc0 R08: dffffc0000000000 R09: fffffbfff1c070d6 R10: fffffbfff1c070d6 R11: 1ffffffff1c070d5 R12: dffffc0000000000 R13: 1ffff920012bbf54 R14: ffffffff8d41a6f8 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd526893c8 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:461 [inline] lock_acquire+0x16d/0x400 kernel/locking/lockdep.c:5664 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] wg_ratelimiter_gc_entries+0x5c/0x4a0 drivers/net/wireguard/ratelimiter.c:63 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: c7 c7 40 20 97 8a mov $0x8a972040,%edi 6: e8 3b 01 00 00 callq 0x146 b: 65 ff 0d 30 40 d8 75 decl %gs:0x75d84030(%rip) # 0x75d84042 12: 5b pop %rbx 13: c3 retq 14: cc int3 15: cc int3 16: 48 c7 c7 a0 91 e9 8a mov $0xffffffff8ae991a0,%rdi 1d: 48 c7 c6 e0 91 e9 8a mov $0xffffffff8ae991e0,%rsi 24: eb 00 jmp 0x26 26: 41 57 push %r15 28: 41 56 push %r14 * 2a: 41 54 push %r12 <-- trapping instruction 2c: 53 push %rbx 2d: 48 83 ec 10 sub $0x10,%rsp 31: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 38: 00 00 3a: 48 89 44 24 08 mov %rax,0x8(%rsp) 3f: 65 gs