INFO: task udevd:12407 blocked for more than 143 seconds. Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:22240 pid:12407 ppid: 2967 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 io_schedule+0x83/0x100 kernel/sched/core.c:8563 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:976 [inline] do_read_cache_folio+0x77c/0xd50 mm/filemap.c:3516 do_read_cache_page mm/filemap.c:3588 [inline] read_cache_page+0x57/0x250 mm/filemap.c:3597 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xd5/0x450 block/partitions/core.c:723 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:608 [inline] bdev_disk_changed+0x75d/0x13e0 block/partitions/core.c:694 blkdev_get_whole+0x31e/0x3c0 block/bdev.c:679 blkdev_get_by_dev+0x2fb/0xa30 block/bdev.c:816 blkdev_open+0x128/0x2e0 block/fops.c:498 do_dentry_open+0x77f/0xfd0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3609 do_filp_open+0x277/0x4f0 fs/namei.c:3636 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1240 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+0x44/0xae RIP: 0033:0x7f5a39325697 RSP: 002b:00007ffe95f43fd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000560e82799190 RCX: 00007f5a39325697 RDX: 00000000000a0800 RSI: 0000560e8279d1f0 RDI: 00000000ffffff9c RBP: 0000560e8279d1f0 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 0000560e8278d720 R14: 0000000000000001 R15: 0000560e82773910 INFO: task udevd:12555 blocked for more than 143 seconds. Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24224 pid:12555 ppid: 2967 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 io_schedule+0x83/0x100 kernel/sched/core.c:8563 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:976 [inline] do_read_cache_folio+0x77c/0xd50 mm/filemap.c:3516 do_read_cache_page mm/filemap.c:3588 [inline] read_cache_page+0x57/0x250 mm/filemap.c:3597 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xd5/0x450 block/partitions/core.c:723 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:608 [inline] bdev_disk_changed+0x75d/0x13e0 block/partitions/core.c:694 blkdev_get_whole+0x31e/0x3c0 block/bdev.c:679 blkdev_get_by_dev+0x2fb/0xa30 block/bdev.c:816 blkdev_open+0x128/0x2e0 block/fops.c:498 do_dentry_open+0x77f/0xfd0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3609 do_filp_open+0x277/0x4f0 fs/namei.c:3636 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1240 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+0x44/0xae RIP: 0033:0x7f5a39325697 RSP: 002b:00007ffe95f43fd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000560e8279cf80 RCX: 00007f5a39325697 RDX: 00000000000a0800 RSI: 0000560e827a42f0 RDI: 00000000ffffff9c RBP: 0000560e827a42f0 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 0000560e8277cb70 R14: 0000000000000001 R15: 0000560e82773910 INFO: task syz-executor.0:20468 blocked for more than 144 seconds. Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27040 pid:20468 ppid: 3609 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519 __mutex_lock_common+0xecf/0x26e0 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:785 blkdev_put+0xf8/0x790 block/bdev.c:905 blkdev_close+0x55/0x80 block/fops.c:512 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:164 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/0x70 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2046a3bd2b RSP: 002b:00007ffd98db5990 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f2046a3bd2b RDX: 00007f2046ba03c8 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f2046b9d960 R08: 0000000000000000 R09: 00007f2046ba03d0 R10: 00007ffd98db5a90 R11: 0000000000000293 R12: 00000000000a841d R13: 00007ffd98db5a90 R14: 00007f2046b9bf60 R15: 0000000000000032 INFO: task syz-executor.1:20471 blocked for more than 144 seconds. Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27040 pid:20471 ppid: 12898 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519 __mutex_lock_common+0xecf/0x26e0 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:785 blkdev_put+0xf8/0x790 block/bdev.c:905 blkdev_close+0x55/0x80 block/fops.c:512 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:164 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/0x70 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fcfd4a3bd2b RSP: 002b:00007ffd52b9feb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fcfd4a3bd2b RDX: 00007fcfd4ba03c8 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007fcfd4b9d960 R08: 0000000000000000 R09: 00007fcfd4ba03d0 R10: 00007ffd52b9ffb0 R11: 0000000000000293 R12: 00000000000a8658 R13: 00007ffd52b9ffb0 R14: 00007fcfd4b9c030 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1b020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3274: #0: ffff888148862098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075 2 locks held by kworker/u4:12/6254: #0: ffff8880b9a39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:554 #1: ffff8880b9a277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4fa/0x820 kernel/sched/psi.c:880 1 lock held by udevd/12407: #0: ffff88801c7cb118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa30 block/bdev.c:807 1 lock held by udevd/12555: #0: ffff88801c8e1918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa30 block/bdev.c:807 1 lock held by syz-executor.0/20468: #0: ffff88801c7cb118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf8/0x790 block/bdev.c:905 1 lock held by syz-executor.1/20471: #0: ffff88801c8e1918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf8/0x790 block/bdev.c:905 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267 #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+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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6254 Comm: kworker/u4:12 Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:batadv_nc_worker+0xa0/0x5b0 net/batman-adv/network-coding.c:719 Code: de e8 24 62 8d f7 85 db 0f 84 14 02 00 00 45 31 ff 48 8b 1c 24 48 89 d8 48 c1 e8 03 48 89 44 24 08 66 0f 1f 84 00 00 00 00 00 <48> 8b 44 24 08 42 80 3c 20 00 74 08 48 89 df e8 8c 45 de f7 4c 8b RSP: 0018:ffffc90015227bd8 EFLAGS: 00000293 RAX: ffffffff89f8b95e RBX: ffff8880210b2740 RCX: ffff88801ca0d880 RDX: 0000000000000000 RSI: ffffffff8a8d1720 RDI: ffffffff8ae88f20 RBP: ffff888077834d00 R08: dffffc0000000000 R09: fffffbfff1c02e4e R10: fffffbfff1c02e4e R11: 1ffffffff1c02e4d R12: dffffc0000000000 R13: ffff88807a948000 R14: ffff8880210b2750 R15: 00000000000001be FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00c771000 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: 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), 1 bytes skipped: 0: e8 24 62 8d f7 callq 0xf78d6229 5: 85 db test %ebx,%ebx 7: 0f 84 14 02 00 00 je 0x221 d: 45 31 ff xor %r15d,%r15d 10: 48 8b 1c 24 mov (%rsp),%rbx 14: 48 89 d8 mov %rbx,%rax 17: 48 c1 e8 03 shr $0x3,%rax 1b: 48 89 44 24 08 mov %rax,0x8(%rsp) 20: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 27: 00 00 * 29: 48 8b 44 24 08 mov 0x8(%rsp),%rax <-- trapping instruction 2e: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 33: 74 08 je 0x3d 35: 48 89 df mov %rbx,%rdi 38: e8 8c 45 de f7 callq 0xf7de45c9 3d: 4c rex.WR 3e: 8b .byte 0x8b