INFO: task udevd:3754 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:22368 pid: 3754 ppid: 2977 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 io_schedule+0x83/0x100 kernel/sched/core.c:8645 folio_wait_bit_common+0x97a/0x1490 mm/filemap.c:1324 folio_wait_bit mm/filemap.c:1473 [inline] folio_wait_locked include/linux/pagemap.h:1028 [inline] do_read_cache_folio+0x634/0xd10 mm/filemap.c:3530 do_read_cache_page mm/filemap.c:3602 [inline] read_cache_page+0x57/0x250 mm/filemap.c:3611 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xd5/0x450 block/partitions/core.c:715 adfspart_check_ICS+0xd4/0x750 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+0x75d/0x13e0 block/partitions/core.c:686 blkdev_get_whole+0x329/0x3b0 block/bdev.c:686 blkdev_get_by_dev+0x30b/0xa40 block/bdev.c:823 blkdev_open+0x128/0x2e0 block/fops.c:481 do_dentry_open+0x789/0x1040 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3653 do_filp_open+0x277/0x4f0 fs/namei.c:3680 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f4561f25697 RSP: 002b:00007ffd2c106fb0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000564831a714f0 RCX: 00007f4561f25697 RDX: 00000000000a0800 RSI: 0000564831a55fa0 RDI: 00000000ffffff9c RBP: 0000564831a55fa0 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 0000564831a44b70 R14: 0000000000000001 R15: 0000564831a3b910 INFO: task syz-executor.4:12036 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26264 pid:12036 ppid: 3646 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 blkdev_put+0x100/0x730 block/bdev.c:912 blkdev_close+0x55/0x80 block/fops.c:495 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fea5103bd4b RSP: 002b:00007ffc10f68d30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fea5103bd4b RDX: 0000001b2f420000 RSI: 0000001b2f421430 RDI: 0000000000000004 RBP: 00007fea5119d960 R08: 0000000000000000 R09: 0000000067034077 R10: 00007ffc10fe60b8 R11: 0000000000000293 R12: 000000000007f1f4 R13: 00007ffc10f68e30 R14: 00007ffc10f68e50 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cb1e820 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3286: #0: ffff888026cc5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 1 lock held by udevd/3754: #0: ffff888146f3d118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa40 block/bdev.c:814 1 lock held by syz-executor.4/12036: #0: ffff888146f3d118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x730 block/bdev.c:912 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #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+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 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+0xcf9/0xd40 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: phy4 ieee80211_iface_work RIP: 0010:stack_trace_consume_entry+0xa/0x270 kernel/stacktrace.c:83 Code: e1 07 80 c1 03 38 c1 0f 8c 5c ff ff ff 4c 89 e7 e8 db e3 64 00 e9 4f ff ff ff e8 d1 c3 b5 08 90 55 41 57 41 56 41 55 41 54 53 <48> 83 ec 18 48 89 fb 48 ba 00 00 00 00 00 fc ff df 4c 8d 4f 10 4d RSP: 0018:ffffc900001074c8 EFLAGS: 00000286 RAX: ffffffff81da639f RBX: ffffc90000107500 RCX: ffffffff8f4c6000 RDX: ffffffff8f612d01 RSI: ffffffff81da639f RDI: ffffc900001075e0 RBP: ffffc90000107590 R08: ffffc900001078b8 R09: dffffc0000000000 R10: fffff52000020eac R11: 1ffff92000020eaa R12: ffff888011ed3b00 R13: ffffffff817584b0 R14: ffffc900001075e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01a865400 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x106/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0xd8/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:200 [inline] slab_free_hook mm/slub.c:1754 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1780 slab_free mm/slub.c:3536 [inline] kfree+0xc6/0x210 mm/slub.c:4584 ieee80211_ibss_rx_queued_mgmt+0x1834/0x28c0 ieee80211_iface_process_skb net/mac80211/iface.c:1527 [inline] ieee80211_iface_work+0x757/0xcd0 net/mac80211/iface.c:1581 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: e1 07 loope 0x9 2: 80 c1 03 add $0x3,%cl 5: 38 c1 cmp %al,%cl 7: 0f 8c 5c ff ff ff jl 0xffffff69 d: 4c 89 e7 mov %r12,%rdi 10: e8 db e3 64 00 callq 0x64e3f0 15: e9 4f ff ff ff jmpq 0xffffff69 1a: e8 d1 c3 b5 08 callq 0x8b5c3f0 1f: 90 nop 20: 55 push %rbp 21: 41 57 push %r15 23: 41 56 push %r14 25: 41 55 push %r13 27: 41 54 push %r12 29: 53 push %rbx * 2a: 48 83 ec 18 sub $0x18,%rsp <-- trapping instruction 2e: 48 89 fb mov %rdi,%rbx 31: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 38: fc ff df 3b: 4c 8d 4f 10 lea 0x10(%rdi),%r9 3f: 4d rex.WRB