INFO: task udevd:7972 blocked for more than 143 seconds. Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26152 pid: 7972 ppid: 2964 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 io_schedule+0xba/0x130 kernel/sched/core.c:8563 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:976 [inline] folio_wait_locked include/linux/pagemap.h:973 [inline] do_read_cache_folio+0x506/0x760 mm/filemap.c:3516 do_read_cache_page mm/filemap.c:3588 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3597 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xf6/0x920 block/partitions/core.c:723 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:608 [inline] bdev_disk_changed block/partitions/core.c:694 [inline] bdev_disk_changed+0x629/0xf60 block/partitions/core.c:661 blkdev_get_whole+0x206/0x2d0 block/bdev.c:679 blkdev_get_by_dev.part.0+0x5d2/0xc80 block/bdev.c:816 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:850 blkdev_open+0x13c/0x2c0 block/fops.c:498 do_dentry_open+0x4a1/0x11e0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4c0 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1240 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:0x7fe3eeb25697 RSP: 002b:00007ffcb4ce1840 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005588abe63190 RCX: 00007fe3eeb25697 RDX: 00000000000a0800 RSI: 00005588abe55a00 RDI: 00000000ffffff9c RBP: 00005588abe55a00 R08: 0000000000000001 R09: 00007ffcb4ce9080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00005588abe61280 R14: 0000000000000001 R15: 00005588abe3d910 INFO: task syz-executor.1:10636 blocked for more than 143 seconds. Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28408 pid:10636 ppid: 3630 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 blkdev_put+0x99/0x950 block/bdev.c:905 blkdev_close+0x64/0x80 block/fops.c:512 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 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/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5b08c890e9 RSP: 002b:00007f5b09d2d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f5b08d9bf60 RCX: 00007f5b08c890e9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f5b08ce308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcad0753ff R14: 00007f5b09d2d300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:1/11: 1 lock held by khungtaskd/28: #0: ffffffff8bd820e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 2 locks held by getty/3276: #0: ffff88807f488098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 1 lock held by udevd/7972: #0: ffff88801b22f918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc80 block/bdev.c:807 1 lock held by syz-executor.1/10636: #0: ffff88801b22f918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x950 block/bdev.c:905 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #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: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:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:lockdep_hardirqs_off+0x3b/0xd0 kernel/locking/lockdep.c:4386 Code: 2b 22 95 76 a9 00 00 f0 00 55 53 48 89 fb 74 49 8b 15 99 6b ee 06 85 d2 74 0e 65 8b 05 4a 29 95 76 85 c0 75 4e 5b 5d c3 9c 58 c4 02 74 eb e8 eb 11 87 fa 85 c0 74 ed 8b 05 19 08 4c 04 85 c0 RSP: 0018:ffffc900000d7bc8 EFLAGS: 00000046 RAX: 0000000000000046 RBX: ffffffff8147ce33 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000000 RBP: ffffffff8907a595 R08: 0000000000000000 R09: ffff88801cd640c3 R10: ffffed10039ac818 R11: 0000000000000000 R12: ffff88801cd6d828 R13: ffff88801cd6cd00 R14: dffffc0000000000 R15: ffffffff8907a7f0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0042dd1b8 CR3: 0000000023880000 CR4: 0000000000350ee0 Call Trace: trace_hardirqs_off+0x13/0x1b0 kernel/trace/trace_preemptirq.c:76 __local_bh_enable_ip+0xc3/0x120 kernel/softirq.c:365 spin_unlock_bh include/linux/spinlock.h:394 [inline] batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:720 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:298 ---------------- Code disassembly (best guess): 0: 2b 22 sub (%rdx),%esp 2: 95 xchg %eax,%ebp 3: 76 a9 jbe 0xffffffae 5: 00 00 add %al,(%rax) 7: f0 00 55 53 lock add %dl,0x53(%rbp) b: 48 89 fb mov %rdi,%rbx e: 74 49 je 0x59 10: 8b 15 99 6b ee 06 mov 0x6ee6b99(%rip),%edx # 0x6ee6baf 16: 85 d2 test %edx,%edx 18: 74 0e je 0x28 1a: 65 8b 05 4a 29 95 76 mov %gs:0x7695294a(%rip),%eax # 0x7695296b 21: 85 c0 test %eax,%eax 23: 75 4e jne 0x73 25: 5b pop %rbx 26: 5d pop %rbp 27: c3 retq 28: 9c pushfq 29: 58 pop %rax * 2a: f6 c4 02 test $0x2,%ah <-- trapping instruction 2d: 74 eb je 0x1a 2f: e8 eb 11 87 fa callq 0xfa87121f 34: 85 c0 test %eax,%eax 36: 74 ed je 0x25 38: 8b 05 19 08 4c 04 mov 0x44c0819(%rip),%eax # 0x44c0857 3e: 85 c0 test %eax,%eax