INFO: task udevd:10583 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26272 pid:10583 ppid: 2970 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 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:851 [inline] folio_wait_locked include/linux/pagemap.h:848 [inline] wait_on_page_locked include/linux/pagemap.h:863 [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:651 [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+0x4c8/0x1250 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:0x7f9d232c9697 RSP: 002b:00007ffc6a07c110 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055be352050c0 RCX: 00007f9d232c9697 RDX: 00000000000a0800 RSI: 000055be351e07e0 RDI: 00000000ffffff9c RBP: 000055be351e07e0 R08: 0000000000000001 R09: 00007ffc6a171080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055be351f0bc0 R14: 0000000000000001 R15: 000055be351df910 INFO: task syz-executor.1:12783 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28152 pid:12783 ppid: 3629 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 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/0x980 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 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+0x27e/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:0x7f44e7a87adb RSP: 002b:00007ffca464ea60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f44e7a87adb RDX: 00007f44e7bec710 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f44e7be9960 R08: 0000000000000000 R09: 00007f44e7bec718 R10: 00007ffca464eb60 R11: 0000000000000293 R12: 000000000006d2e5 R13: 00007ffca464eb60 R14: 00007f44e7be8030 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83e60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3278: #0: ffff88814af44098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ba32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 2 locks held by kworker/u4:20/6982: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff888071054398 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xab/0x15a0 kernel/sched/core.c:4003 1 lock held by udevd/10583: #0: ffff88801af4b918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 1 lock held by syz-executor.1/12783: #0: ffff88801af4b918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x980 block/bdev.c:915 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-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: 44 Comm: kworker/u4:2 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy8 ieee80211_iface_work RIP: 0010:unwind_next_frame+0x3c9/0x1ce0 arch/x86/kernel/unwind_orc.c:456 Code: 85 ba 12 00 00 41 c6 46 34 01 49 c7 c0 a0 a3 9f 8b 4d 8d 78 04 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 0f b6 04 02 <4c> 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 bd 08 00 00 41 0f b6 40 RSP: 0018:ffffc90000007838 EFLAGS: 00000016 RAX: 0000000000000000 RBX: 1ffff92000000f0f RCX: ffffffff89445652 RDX: 1ffffffff1d483d7 RSI: ffffffff8ea41e9e RDI: ffffffff8e03489c RBP: 0000000000000002 R08: ffffffff8ea41eb6 R09: 0000000000000001 R10: fffff52000000f2d R11: 000000000008808a R12: ffffc90000007958 R13: ffffc90000007945 R14: ffffc90000007910 R15: ffffffff8ea41eba FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3024365990 CR3: 000000000b88e000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 __kasan_record_aux_stack+0xf5/0x120 mm/kasan/generic.c:348 insert_work+0x48/0x370 kernel/workqueue.c:1354 __queue_work+0x5ca/0xee0 kernel/workqueue.c:1520 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1461 [inline] __run_timers.part.0+0x49f/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:arch_stack_walk+0x68/0xe0 arch/x86/kernel/stacktrace.c:27 Code: d3 84 c0 74 58 49 8b 8d 98 00 00 00 48 8d bd 78 ff ff ff 4c 89 ea 4c 89 f6 e8 e4 c1 07 00 8b 95 78 ff ff ff 85 d2 75 21 eb 33 <4c> 89 e7 ff d3 84 c0 74 2a 48 8d bd 78 ff ff ff e8 e3 a4 07 00 8b RSP: 0018:ffffc9000114f7d8 EFLAGS: 00000282 RAX: ffffffff814c3ff2 RBX: ffffffff8165bc80 RCX: 0000000000000000 RDX: 1ffff92000229f04 RSI: ffffffff814c3ff2 RDI: ffffffff814c3ff2 RBP: ffffc9000114f860 R08: ffffffff8e996550 R09: 0000000000000001 R10: fffff52000229f06 R11: 000000000008808a R12: ffffc9000114f890 R13: 0000000000000000 R14: ffff8880121b9d00 R15: ffff888022933c00 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track+0x21/0x30 mm/kasan/common.c:46 kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free mm/kasan/common.c:328 [inline] __kasan_slab_free+0xff/0x130 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1749 slab_free mm/slub.c:3513 [inline] kfree+0xf6/0x560 mm/slub.c:4561 skb_free_head net/core/skbuff.c:655 [inline] skb_release_data+0x65a/0x790 net/core/skbuff.c:677 skb_release_all net/core/skbuff.c:742 [inline] __kfree_skb net/core/skbuff.c:756 [inline] kfree_skb net/core/skbuff.c:774 [inline] kfree_skb+0x133/0x3f0 net/core/skbuff.c:768 ieee80211_iface_work+0x411/0xd00 net/mac80211/iface.c:1524 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 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: 85 ba 12 00 00 41 test %edi,0x41000012(%rdx) 6: c6 46 34 01 movb $0x1,0x34(%rsi) a: 49 c7 c0 a0 a3 9f 8b mov $0xffffffff8b9fa3a0,%r8 11: 4d 8d 78 04 lea 0x4(%r8),%r15 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 4c 89 fa mov %r15,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax * 2a: 4c 89 fa mov %r15,%rdx <-- trapping instruction 2d: 83 e2 07 and $0x7,%edx 30: 38 d0 cmp %dl,%al 32: 7f 08 jg 0x3c 34: 84 c0 test %al,%al 36: 0f 85 bd 08 00 00 jne 0x8f9 3c: 41 rex.B 3d: 0f .byte 0xf 3e: b6 40 mov $0x40,%dh