INFO: task udevd:5388 blocked for more than 143 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24248 pid: 5388 ppid: 2972 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 io_schedule+0x83/0x100 kernel/sched/core.c:8371 folio_wait_bit_common+0x8aa/0xe00 mm/filemap.c:1371 folio_wait_bit mm/filemap.c:1431 [inline] folio_wait_locked include/linux/pagemap.h:851 [inline] wait_on_page_locked include/linux/pagemap.h:863 [inline] wait_on_page_read+0x103/0x3d0 mm/filemap.c:3430 do_read_cache_page+0x8b5/0xdc0 mm/filemap.c:3473 read_mapping_page include/linux/pagemap.h:651 [inline] read_part_sector+0xd4/0x4d0 block/partitions/core.c:728 adfspart_check_ICS+0xc0/0xa70 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+0x789/0x16a0 block/partitions/core.c:699 blkdev_get_whole+0x32f/0x3d0 block/bdev.c:684 blkdev_get_by_dev+0x2ff/0xba0 block/bdev.c:826 blkdev_open+0x137/0x2f0 block/fops.c:502 do_dentry_open+0x78b/0x1020 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x2896/0x3660 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2946b2d697 RSP: 002b:00007ffca9f94d40 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005589f6bc1fd0 RCX: 00007f2946b2d697 RDX: 00000000000a0800 RSI: 00005589f6babcb0 RDI: 00000000ffffff9c RBP: 00005589f6babcb0 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00005589f6baaa90 R14: 0000000000000001 R15: 00005589f6ba1910 INFO: task syz-executor.0:5533 blocked for more than 143 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26736 pid: 5533 ppid: 3639 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 blkdev_put+0xf8/0x7a0 block/bdev.c:915 blkdev_close+0x58/0x80 block/fops.c:516 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f504c553b49 RSP: 002b:00007f504b0c9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f504c666f60 RCX: 00007f504c553b49 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f504c5ae012 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcfac2ff9f R14: 00007f504b0c9300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1dd00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:3/516: #0: ffff8880b9b395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffff8880b9b27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880 2 locks held by getty/3285: #0: ffff8880244a5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 1 lock held by udevd/5388: #0: ffff88801b142918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xf7/0xba0 block/bdev.c:817 1 lock held by syz-executor.0/5533: #0: ffff88801b142918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf8/0x7a0 block/bdev.c:915 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc4-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4644 Comm: kworker/u4:8 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy5 ieee80211_iface_work RIP: 0010:ieee80211_bss_info_update+0x30f/0xbe0 net/mac80211/scan.c:170 Code: 20 49 c1 ee 03 49 bc 00 00 00 00 00 fc ff df 43 8a 04 26 84 c0 0f 85 c1 06 00 00 c7 84 24 88 00 00 00 00 00 00 00 49 8d 5d 1f <4c> 89 6c 24 38 49 83 c5 20 48 89 d8 48 c1 e8 03 42 8a 04 20 84 c0 RSP: 0018:ffffc900046c78a0 EFLAGS: 00000246 RAX: ffffc900046c7900 RBX: ffff88801f07e7c7 RCX: ffff88801bb98000 RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffffc900046c792c RBP: ffffc900046c79d0 R08: ffffffff899bf3b3 R09: ffffed100f65b1c0 R10: ffffed100f65b1c0 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88801f07e7a8 R14: 1ffff920008d8f25 R15: ffff88807b2d8df8 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056288e752600 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x1690/0x2b30 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline] ieee80211_iface_work+0x709/0xc90 net/mac80211/iface.c:1522 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 49 c1 ee 03 shr $0x3,%r14 4: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 b: fc ff df e: 43 8a 04 26 mov (%r14,%r12,1),%al 12: 84 c0 test %al,%al 14: 0f 85 c1 06 00 00 jne 0x6db 1a: c7 84 24 88 00 00 00 movl $0x0,0x88(%rsp) 21: 00 00 00 00 25: 49 8d 5d 1f lea 0x1f(%r13),%rbx * 29: 4c 89 6c 24 38 mov %r13,0x38(%rsp) <-- trapping instruction 2e: 49 83 c5 20 add $0x20,%r13 32: 48 89 d8 mov %rbx,%rax 35: 48 c1 e8 03 shr $0x3,%rax 39: 42 8a 04 20 mov (%rax,%r12,1),%al 3d: 84 c0 test %al,%al