INFO: task udevd:3352 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00250-gd9919d43cbf6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26168 pid: 3352 ppid: 2976 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 io_schedule+0xba/0x130 kernel/sched/core.c:8645 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:3530 do_read_cache_page mm/filemap.c:3602 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3611 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:0x7fd066d25697 RSP: 002b:00007fff90b740a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000557bb7f578a0 RCX: 00007fd066d25697 RDX: 00000000000a0800 RSI: 0000557bb7f2e4a0 RDI: 00000000ffffff9c RBP: 0000557bb7f2e4a0 R08: 0000000000000001 R09: 00007fff90b91080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 0000557bb7f30a80 R14: 0000000000000001 R15: 0000557bb7f222c0 INFO: task syz-executor.1:3867 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00250-gd9919d43cbf6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28432 pid: 3867 ppid: 3619 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __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:0x7fa17223bd4b RSP: 002b:00007ffc66c5f800 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fa17223bd4b RDX: 0000001b2d720000 RSI: 0000001b2d723368 RDI: 0000000000000003 RBP: 00007fa17239d960 R08: 0000000000000000 R09: 00000000bdc1951b R10: 00007ffc66d0d090 R11: 0000000000000293 R12: 0000000000140a8f R13: 00007ffc66c5f900 R14: 00007fa17239c030 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd83ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 1 lock held by syslogd/2958: #0: ffff8880b9b39f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 1 lock held by klogd/2965: #0: ffff8880b9b39f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 2 locks held by getty/3287: #0: ffff88801eab7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90001c182e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 4 locks held by kworker/0:0/9970: #0: ffff8880b9a39f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 #1: ffff8880b9a277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x176/0x4e0 kernel/sched/psi.c:880 #2: ffff8880b9a28398 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999 #3: ffffffff91108b18 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:658 2 locks held by kworker/u4:1/23904: 1 lock held by udevd/3352: #0: ffff88801d9b3918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 1 lock held by syz-executor.1/3867: #0: ffff88801d9b3918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:912 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00250-gd9919d43cbf6 #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+0xc1d/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.19.0-rc5-syzkaller-00250-gd9919d43cbf6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: phy13 ieee80211_iface_work RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5404 [inline] RIP: 0010:lock_is_held_type+0x90/0x140 kernel/locking/lockdep.c:5708 Code: 24 58 0a 00 00 4d 8d ac 24 60 0a 00 00 65 ff 05 be 76 8b 76 85 c0 7f 12 e9 8a 00 00 00 83 c3 01 41 3b 9c 24 58 0a 00 00 7d 7d <48> 63 c3 48 89 ee 48 8d 04 80 4d 8d 7c c5 00 4c 89 ff e8 99 fe ff RSP: 0018:ffffc900002ef900 EFLAGS: 00000093 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bd83ae0 RDI: ffff888012198c88 RBP: ffffffff8bd83ae0 R08: 0000000000000000 R09: ffffffff8dbaf7d7 R10: fffffbfff1b75efa R11: 0000000000000001 R12: ffff888012198200 R13: ffff888012198c60 R14: 00000000ffffffff R15: ffff888012198c88 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b7e93869b8 CR3: 000000007e9d9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:279 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x480/0x570 kernel/locking/lockdep.c:5636 rcu_lock_acquire include/linux/rcupdate.h:269 [inline] rcu_read_lock include/linux/rcupdate.h:695 [inline] ieee80211_vif_get_shift net/mac80211/ieee80211_i.h:1079 [inline] ieee80211_sta_get_rates+0x13e/0x960 net/mac80211/util.c:2146 ieee80211_update_sta_info net/mac80211/ibss.c:1003 [inline] ieee80211_rx_bss_info net/mac80211/ibss.c:1117 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x11c8/0x33f0 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1527 [inline] ieee80211_iface_work+0xa78/0xd10 net/mac80211/iface.c:1581 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): 0: 24 58 and $0x58,%al 2: 0a 00 or (%rax),%al 4: 00 4d 8d add %cl,-0x73(%rbp) 7: ac lods %ds:(%rsi),%al 8: 24 60 and $0x60,%al a: 0a 00 or (%rax),%al c: 00 65 ff add %ah,-0x1(%rbp) f: 05 be 76 8b 76 add $0x768b76be,%eax 14: 85 c0 test %eax,%eax 16: 7f 12 jg 0x2a 18: e9 8a 00 00 00 jmpq 0xa7 1d: 83 c3 01 add $0x1,%ebx 20: 41 3b 9c 24 58 0a 00 cmp 0xa58(%r12),%ebx 27: 00 28: 7d 7d jge 0xa7 * 2a: 48 63 c3 movslq %ebx,%rax <-- trapping instruction 2d: 48 89 ee mov %rbp,%rsi 30: 48 8d 04 80 lea (%rax,%rax,4),%rax 34: 4d 8d 7c c5 00 lea 0x0(%r13,%rax,8),%r15 39: 4c 89 ff mov %r15,%rdi 3c: e8 .byte 0xe8 3d: 99 cltd 3e: fe (bad) 3f: ff .byte 0xff