INFO: task udevd:4621 blocked for more than 143 seconds. Not tainted 5.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26416 pid: 4621 ppid: 2972 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 io_schedule+0xee/0x170 kernel/sched/core.c:8371 folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1371 folio_wait_bit mm/filemap.c:1431 [inline] folio_wait_locked include/linux/pagemap.h:850 [inline] folio_wait_locked include/linux/pagemap.h:847 [inline] wait_on_page_locked include/linux/pagemap.h:862 [inline] wait_on_page_read mm/filemap.c:3428 [inline] do_read_cache_page+0x986/0x11a0 mm/filemap.c:3471 read_mapping_page include/linux/pagemap.h:650 [inline] read_part_sector+0xf6/0x5b0 block/partitions/core.c:728 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:149 [inline] blk_add_partitions block/partitions/core.c:613 [inline] bdev_disk_changed+0x759/0x1100 block/partitions/core.c:699 blkdev_get_whole+0x206/0x2d0 block/bdev.c:684 blkdev_get_by_dev.part.0+0x5c6/0xc70 block/bdev.c:826 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4b9/0x1240 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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+0x44/0xae RIP: 0033:0x7f878cfe7697 RSP: 002b:00007fff0b94f8f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055bf6d8baea0 RCX: 00007f878cfe7697 RDX: 00000000000a0800 RSI: 000055bf6d8d4d50 RDI: 00000000ffffff9c RBP: 000055bf6d8d4d50 R08: 0000000000000001 R09: 00007fff0b98f080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055bf6d8b9770 R14: 0000000000000001 R15: 000055bf6d8802c0 INFO: task syz-executor.4:24999 blocked for more than 143 seconds. Not tainted 5.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28624 pid:24999 ppid: 3640 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_put+0x99/0x950 block/bdev.c:915 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 get_signal+0x1bef/0x2220 kernel/signal.c:2624 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb239920e99 RSP: 002b:00007fb238296168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffe00 RBX: 00007fb239a33f60 RCX: 00007fb239920e99 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fb23997aff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2c2bc5ef R14: 00007fb238296300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb812a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3287: #0: ffff88807f2f3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by udevd/4621: #0: ffff88801b1f1918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 1 lock held by syz-executor.4/24999: #0: ffff88801b1f1918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x950 block/bdev.c:915 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc7-syzkaller #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+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 16057 Comm: kworker/u4:25 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy9 ieee80211_iface_work RIP: 0010:look_up_lock_class+0x1/0xd0 kernel/locking/lockdep.c:860 Code: c7 05 4b 86 be 76 00 00 00 00 83 c0 01 89 85 f8 09 00 00 89 85 14 0a 00 00 5b 5d c3 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 <89> f5 83 fd 07 0f 87 95 00 00 00 48 8b 37 48 85 f6 0f 84 85 00 00 RSP: 0018:ffffc9001018fa08 EFLAGS: 00000046 RAX: 0000000000000046 RBX: ffffffff904c89c0 RCX: 1ffff92002031fb7 RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffffc9001018fdb0 RBP: 1ffff92002031f4a R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff1b22372 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc9001018fdb0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f72eac1f100 CR3: 000000001ff48000 CR4: 00000000003506f0 DR0: 0080ffff00000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0xb6/0x1030 kernel/locking/lockdep.c:1258 __lock_acquire+0x106/0x5470 kernel/locking/lockdep.c:4906 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 process_one_work+0x921/0x1660 kernel/workqueue.c:2274 worker_thread+0x65d/0x1130 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: c7 05 4b 86 be 76 00 movl $0x0,0x76be864b(%rip) # 0x76be8655 7: 00 00 00 a: 83 c0 01 add $0x1,%eax d: 89 85 f8 09 00 00 mov %eax,0x9f8(%rbp) 13: 89 85 14 0a 00 00 mov %eax,0xa14(%rbp) 19: 5b pop %rbx 1a: 5d pop %rbp 1b: c3 retq 1c: c3 retq 1d: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 24: 00 00 00 00 28: 90 nop 29: 55 push %rbp * 2a: 89 f5 mov %esi,%ebp <-- trapping instruction 2c: 83 fd 07 cmp $0x7,%ebp 2f: 0f 87 95 00 00 00 ja 0xca 35: 48 8b 37 mov (%rdi),%rsi 38: 48 85 f6 test %rsi,%rsi 3b: 0f .byte 0xf 3c: 84 .byte 0x84 3d: 85 00 test %eax,(%rax)