INFO: task udevd:31104 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26168 pid:31104 ppid: 2972 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6431 schedule+0xd2/0x1f0 kernel/sched/core.c:6503 io_schedule+0xba/0x130 kernel/sched/core.c:8618 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:3520 do_read_cache_page mm/filemap.c:3592 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3601 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:824 do_open fs/namei.c:3477 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3610 do_filp_open+0x1aa/0x400 fs/namei.c:3637 do_sys_openat2+0x16d/0x4c0 fs/open.c:1254 do_sys_open fs/open.c:1270 [inline] __do_sys_openat fs/open.c:1286 [inline] __se_sys_openat fs/open.c:1281 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1281 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:0x7fe7743ac697 RSP: 002b:00007ffcaae4c820 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005621dcb579c0 RCX: 00007fe7743ac697 RDX: 00000000000a0800 RSI: 00005621dcb32bc0 RDI: 00000000ffffff9c RBP: 00005621dcb32bc0 R08: 0000000000000001 R09: 00007ffcaafbc080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00005621dcb2aa80 R14: 0000000000000001 R15: 00005621dcb1c2c0 INFO: task syz-executor.3:7690 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28520 pid: 7690 ppid: 3633 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6431 schedule+0xd2/0x1f0 kernel/sched/core.c:6503 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6562 __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:0x7ff6dae3bd4b RSP: 002b:00007ffcbeb46480 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007ff6dae3bd4b RDX: 0000001b2e720000 RSI: 0000001b2e7236a4 RDI: 0000000000000006 RBP: 00007ff6daf9d960 R08: 0000000000000000 R09: 000000006a0b836d R10: 00007ffcbebb5090 R11: 0000000000000293 R12: 00000000000b648b R13: 00007ffcbeb46580 R14: 00007ff6daf9c030 R15: 0000000000000032 INFO: task syz-executor.3:7692 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29040 pid: 7692 ppid: 3633 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6431 schedule+0xd2/0x1f0 kernel/sched/core.c:6503 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6562 __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:0x7ff6dae89109 RSP: 002b:00007ff6d9dfe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007ff6daf9bf60 RCX: 00007ff6dae89109 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007ff6daee308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbeb4641f R14: 00007ff6d9dfe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8bd83da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3285: #0: ffff8880217ef098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90001c082e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 1 lock held by udevd/31104: #0: ffff88801b5f6918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 1 lock held by syz-executor.3/7690: #0: ffff88801b5f6918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:912 1 lock held by syz-executor.3/7692: #0: ffff88801b5f6918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:912 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #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+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:220 [inline] watchdog+0xc22/0xf90 kernel/hung_task.c:378 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: 1314 Comm: kworker/u4:5 Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy11 ieee80211_iface_work RIP: 0010:memory_is_nonzero mm/kasan/generic.c:116 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x8f/0x180 mm/kasan/generic.c:189 Code: 41 89 eb 41 83 e3 07 75 74 4c 8d 5a 07 48 85 d2 4c 0f 49 da 49 c1 fb 03 45 85 db 0f 84 cb 00 00 00 45 89 db 4a 8d 14 d8 eb 0d <48> 83 c0 08 48 39 d0 0f 84 af 00 00 00 48 83 38 00 74 ed 48 8d 50 RSP: 0018:ffffc90005947800 EFLAGS: 00000246 RAX: fffff52000b28f38 RBX: fffff52000b28f48 RCX: ffffffff88c198e9 RDX: fffff52000b28f48 RSI: 0000000000000170 RDI: ffffc900059478d0 RBP: fffff52000b28f1a R08: 0000000000000001 R09: ffffc90005947a3f R10: fffff52000b28f47 R11: 0000000000000005 R12: 0000000000000006 R13: 0000000000000000 R14: ffffc900059478d0 R15: ffff8880251b1b92 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561b6908b600 CR3: 000000007e05a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memset+0x20/0x40 mm/kasan/shadow.c:44 ieee80211_ibss_process_chanswitch.constprop.0+0x1f9/0xcd0 net/mac80211/ibss.c:798 ieee80211_rx_bss_info net/mac80211/ibss.c:1147 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x2251/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: 41 89 eb mov %ebp,%r11d 3: 41 83 e3 07 and $0x7,%r11d 7: 75 74 jne 0x7d 9: 4c 8d 5a 07 lea 0x7(%rdx),%r11 d: 48 85 d2 test %rdx,%rdx 10: 4c 0f 49 da cmovns %rdx,%r11 14: 49 c1 fb 03 sar $0x3,%r11 18: 45 85 db test %r11d,%r11d 1b: 0f 84 cb 00 00 00 je 0xec 21: 45 89 db mov %r11d,%r11d 24: 4a 8d 14 d8 lea (%rax,%r11,8),%rdx 28: eb 0d jmp 0x37 * 2a: 48 83 c0 08 add $0x8,%rax <-- trapping instruction 2e: 48 39 d0 cmp %rdx,%rax 31: 0f 84 af 00 00 00 je 0xe6 37: 48 83 38 00 cmpq $0x0,(%rax) 3b: 74 ed je 0x2a 3d: 48 rex.W 3e: 8d .byte 0x8d 3f: 50 push %rax