INFO: task udevd:3849 blocked for more than 143 seconds. Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26160 pid: 3849 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:0x7fba30b25697 RSP: 002b:00007fff10493aa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005563af3fd8c0 RCX: 00007fba30b25697 RDX: 00000000000a0800 RSI: 00005563af3f0190 RDI: 00000000ffffff9c RBP: 00005563af3f0190 R08: 0000000000000001 R09: 00007fff1053e080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00005563af3f7eb0 R14: 0000000000000001 R15: 00005563af3b52c0 INFO: task syz-executor.4:4638 blocked for more than 143 seconds. Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28520 pid: 4638 ppid: 3751 flags:0x00000004 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:0x7f66c4c3bd2b RSP: 002b:00007ffd3b504cd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f66c4c3bd2b RDX: 0000001b2e220000 RSI: 0000001b2e224e90 RDI: 0000000000000003 RBP: 00007f66c4d9d960 R08: 0000000000000000 R09: 000000005068e8f7 R10: 00007ffd3b58a090 R11: 0000000000000293 R12: 00000000001323ea R13: 00007ffd3b504dd0 R14: 00007f66c4d9bf60 R15: 0000000000000032 INFO: task syz-executor.4:4648 blocked for more than 143 seconds. Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28544 pid: 4648 ppid: 3751 flags:0x00000004 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_get_by_dev.part.0+0x414/0xc80 block/bdev.c:807 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:0x7f66c4c3c004 RSP: 002b:00007f66c5e24ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f66c4c3c004 RDX: 0000000000000282 RSI: 00007f66c5e24d40 RDI: 00000000ffffff9c RBP: 00007f66c5e24d40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000282 R13: 00007ffd3b504c6f R14: 00007f66c5e25300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd7f2e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 4 locks held by kworker/u4:4/980: 2 locks held by getty/3279: #0: ffff88814c583098 (&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/3849: #0: ffff88801c237918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc80 block/bdev.c:807 1 lock held by syz-executor.4/4638: #0: ffff88801c237918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x950 block/bdev.c:905 1 lock held by syz-executor.4/4648: #0: ffff88801c237918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x414/0xc80 block/bdev.c:807 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14115 Comm: kworker/u4:12 Not tainted 5.18.0-rc2-syzkaller-00275-g59250f8a7f3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:hlock_id kernel/locking/lockdep.c:399 [inline] RIP: 0010:__lock_acquire+0xa17/0x56c0 kernel/locking/lockdep.c:5017 Code: 21 83 e3 60 0f 85 f5 0b 00 00 4c 89 f8 44 89 7c 24 50 48 c1 e8 20 89 c3 89 44 24 60 44 01 f8 c1 c3 04 89 44 24 40 89 5c 24 58 <48> b8 00 00 00 00 00 fc ff df 48 8b 54 24 38 48 c1 ea 03 0f b6 04 RSP: 0018:ffffc90011ec7940 EFLAGS: 00000012 RAX: 0000000053d25ff7 RBX: 0000000032958bf2 RCX: ffffffff815c7bdc RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88804d588db9 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000003 R10: fffffbfff2006f20 R11: 0000000000000001 R12: ffff88804d588d98 R13: ffff88804d5882c0 R14: 0000000000000000 R15: 232958bf30a90738 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00e631350 CR3: 000000007de7d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff+0x5d2/0x1430 net/batman-adv/bat_iv_ogm.c:826 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x740/0x910 net/batman-adv/bat_iv_ogm.c:1713 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: 21 83 e3 60 0f 85 and %eax,-0x7af09f1d(%rbx) 6: f5 cmc 7: 0b 00 or (%rax),%eax 9: 00 4c 89 f8 add %cl,-0x8(%rcx,%rcx,4) d: 44 89 7c 24 50 mov %r15d,0x50(%rsp) 12: 48 c1 e8 20 shr $0x20,%rax 16: 89 c3 mov %eax,%ebx 18: 89 44 24 60 mov %eax,0x60(%rsp) 1c: 44 01 f8 add %r15d,%eax 1f: c1 c3 04 rol $0x4,%ebx 22: 89 44 24 40 mov %eax,0x40(%rsp) 26: 89 5c 24 58 mov %ebx,0x58(%rsp) * 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 48 8b 54 24 38 mov 0x38(%rsp),%rdx 39: 48 c1 ea 03 shr $0x3,%rdx 3d: 0f .byte 0xf 3e: b6 04 mov $0x4,%dh