INFO: task udevd:6388 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller-00316-g0457e5153e0e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26272 pid: 6388 ppid: 2963 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:804 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:847 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4b9/0x1240 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 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:0x7f43ff8f6697 RSP: 002b:00007ffe137f5200 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f44000b3c80 RCX: 00007f43ff8f6697 RDX: 00000000000a0800 RSI: 00007f4400094fa0 RDI: 00000000ffffff9c RBP: 00007f4400094fa0 R08: 0000000000000001 R09: 00007ffe137fa080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00007f4400094ff0 R14: 0000000000000001 R15: 00007f44000792c0 INFO: task syz-executor.1:11803 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller-00316-g0457e5153e0e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28616 pid:11803 ppid: 3758 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 blkdev_put+0x99/0x950 block/bdev.c:902 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 fs/file_table.c:311 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 get_signal+0x21f8/0x28c0 kernel/signal.c:2630 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:0x7ff5a1074059 RSP: 002b:00007ff59f9e9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffe00 RBX: 00007ff5a1186f60 RCX: 00007ff5a1074059 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007ff5a10ce08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0c207cdf R14: 00007ff59f9e9300 R15: 0000000000022000 INFO: task syz-executor.1:11813 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller-00316-g0457e5153e0e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26688 pid:11813 ppid: 3758 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 io_schedule+0xee/0x170 kernel/sched/core.c:8407 folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1322 folio_wait_bit mm/filemap.c:1471 [inline] folio_wait_locked include/linux/pagemap.h:847 [inline] folio_wait_locked include/linux/pagemap.h:844 [inline] do_read_cache_folio+0x506/0x760 mm/filemap.c:3495 do_read_cache_page mm/filemap.c:3567 [inline] read_cache_page+0x59/0x1c0 mm/filemap.c:3576 read_mapping_page include/linux/pagemap.h:641 [inline] read_part_sector+0xf6/0x5b0 block/partitions/core.c:724 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:148 [inline] blk_add_partitions block/partitions/core.c:609 [inline] bdev_disk_changed+0x629/0xf60 block/partitions/core.c:695 blkdev_get_whole+0x206/0x2d0 block/bdev.c:679 blkdev_get_by_dev.part.0+0x5c6/0xc70 block/bdev.c:813 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:847 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4b9/0x1240 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 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:0x7ff5a1026f74 RSP: 002b:00007ff59f9c7ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007ff5a1026f74 RDX: 0000000000000000 RSI: 00007ff59f9c7d40 RDI: 00000000ffffff9c RBP: 00007ff59f9c7d40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffc0c207cdf R14: 00007ff59f9c8300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb81120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3271: #0: ffff88814af12098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b5e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 1 lock held by udevd/6388: #0: ffff88801b03f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:804 1 lock held by syz-executor.1/11803: #0: ffff88801b03f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x950 block/bdev.c:902 1 lock held by syz-executor.1/11813: #0: ffff88801b03f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:804 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc2-syzkaller-00316-g0457e5153e0e #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:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 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: 54 Comm: kworker/u4:3 Not tainted 5.17.0-rc2-syzkaller-00316-g0457e5153e0e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy11 ieee80211_iface_work RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3694 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3714 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3769 [inline] RIP: 0010:__lock_acquire+0x1699/0x5470 kernel/locking/lockdep.c:5027 Code: af 6c 24 08 48 c1 ed 30 48 8d 04 ed a0 38 f3 8f 48 89 c2 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 d0 2b 00 00 48 8b 1c ed a0 38 f3 8f 48 85 db 74 63 48 83 eb RSP: 0018:ffffc90001a377d8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000000000000807 RCX: ffffffff815c39b5 RDX: 1ffffffff1ff23f3 RSI: 0000000000000008 RDI: ffffffff8ffc3a40 RBP: 000000000000bcdf R08: 0000000000000000 R09: ffffffff8ffc3a47 R10: fffffbfff1ff8748 R11: 0000000000000001 R12: ffff888017b28c98 R13: ffff888017b281c0 R14: ffffffff8d93bce8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff1991ccffc CR3: 000000007109d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 __mutex_lock_common kernel/locking/mutex.c:600 [inline] __mutex_lock+0x12f/0x12f0 kernel/locking/mutex.c:733 ieee80211_ibss_sta_expire net/mac80211/ibss.c:1255 [inline] ieee80211_sta_merge_ibss net/mac80211/ibss.c:1298 [inline] ieee80211_ibss_work+0x47e/0xe80 net/mac80211/ibss.c:1709 ieee80211_iface_work+0xb74/0xd00 net/mac80211/iface.c:1603 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: af scas %es:(%rdi),%eax 1: 6c insb (%dx),%es:(%rdi) 2: 24 08 and $0x8,%al 4: 48 c1 ed 30 shr $0x30,%rbp 8: 48 8d 04 ed a0 38 f3 lea -0x700cc760(,%rbp,8),%rax f: 8f 10: 48 89 c2 mov %rax,%rdx 13: 48 89 44 24 10 mov %rax,0x10(%rsp) 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 48 c1 ea 03 shr $0x3,%rdx 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 0f 85 d0 2b 00 00 jne 0x2c00 <-- trapping instruction 30: 48 8b 1c ed a0 38 f3 mov -0x700cc760(,%rbp,8),%rbx 37: 8f 38: 48 85 db test %rbx,%rbx 3b: 74 63 je 0xa0 3d: 48 rex.W 3e: 83 .byte 0x83 3f: eb .byte 0xeb