INFO: task udevd:14745 blocked for more than 143 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:23152 pid:14745 ppid: 2972 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 io_schedule+0x83/0x100 kernel/sched/core.c:8371 folio_wait_bit_common+0x8aa/0xe00 mm/filemap.c:1371 folio_wait_bit mm/filemap.c:1431 [inline] folio_wait_locked include/linux/pagemap.h:850 [inline] wait_on_page_locked include/linux/pagemap.h:862 [inline] wait_on_page_read mm/filemap.c:3428 [inline] do_read_cache_page+0x5fa/0x9c0 mm/filemap.c:3471 read_mapping_page include/linux/pagemap.h:650 [inline] read_part_sector+0xd4/0x2d0 block/partitions/core.c:728 adfspart_check_ICS+0xc9/0x720 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+0x789/0x16a0 block/partitions/core.c:699 blkdev_get_whole+0x32f/0x3d0 block/bdev.c:684 blkdev_get_by_dev+0x2ff/0xba0 block/bdev.c:826 blkdev_open+0x137/0x2f0 block/fops.c:501 do_dentry_open+0x78b/0x1020 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x2896/0x3660 fs/namei.c:3559 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8adb010697 RSP: 002b:00007ffdb103c1f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055d16774f6b0 RCX: 00007f8adb010697 RDX: 00000000000a0800 RSI: 000055d1677308b0 RDI: 00000000ffffff9c RBP: 000055d1677308b0 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055d16772ea90 R14: 0000000000000001 R15: 000055d167725910 INFO: task syz-executor.5:534 blocked for more than 143 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26608 pid: 534 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xe9f/0x2490 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 blkdev_put+0xf8/0x7a0 block/bdev.c:915 blkdev_close+0x58/0x80 block/fops.c:515 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 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+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6025afeadb RSP: 002b:00007ffda5c76fd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f6025afeadb RDX: 0000001b2e820000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f6025c60960 R08: 0000000000000000 R09: 0000000000000010 R10: 00007ffda5dbf0b8 R11: 0000000000000293 R12: 00000000001f6451 R13: 00007ffda5c770d0 R14: 00007ffda5c770f0 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1de00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3290: #0: ffff88814aefa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ba32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 1 lock held by udevd/14745: #0: ffff88801b34b918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xf7/0xba0 block/bdev.c:817 3 locks held by kworker/u4:3/26200: 1 lock held by syz-executor.5/534: #0: ffff88801b34b918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf8/0x7a0 block/bdev.c:915 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.16.0-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14125 Comm: kworker/u4:26 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_lockdep_current_cpu_online+0x104/0x130 kernel/rcu/tree.c:1175 Code: 3c 38 00 74 08 4c 89 f7 e8 19 0b 60 00 49 f7 06 01 00 00 00 75 04 31 c0 eb 02 b0 01 65 ff 0d 6b 85 93 7e 74 08 5b 41 5c 41 5e <41> 5f c3 e8 d4 6e 91 ff eb f1 48 c7 c7 a0 28 b2 8c 48 89 de e8 43 RSP: 0018:ffffc900039bf990 EFLAGS: 00000282 RAX: 1ffffffff1964401 RBX: 1ffff92000737f34 RCX: 0000000080000001 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8880b9b3a458 RBP: ffffc900039bfa28 R08: dffffc0000000000 R09: fffffbfff1bfd5be R10: fffffbfff1bfd5be R11: 0000000000000000 R12: 0000000000000002 R13: 1ffff92000737f58 R14: dffffc0000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005651f7771a58 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_sched_held+0x74/0x130 kernel/rcu/update.c:123 trace_lock_acquire+0x59/0x190 include/trace/events/lock.h:13 lock_acquire+0xa5/0x4d0 kernel/locking/lockdep.c:5608 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 3c 38 cmp $0x38,%al 2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 6: 89 f7 mov %esi,%edi 8: e8 19 0b 60 00 callq 0x600b26 d: 49 f7 06 01 00 00 00 testq $0x1,(%r14) 14: 75 04 jne 0x1a 16: 31 c0 xor %eax,%eax 18: eb 02 jmp 0x1c 1a: b0 01 mov $0x1,%al 1c: 65 ff 0d 6b 85 93 7e decl %gs:0x7e93856b(%rip) # 0x7e93858e 23: 74 08 je 0x2d 25: 5b pop %rbx 26: 41 5c pop %r12 28: 41 5e pop %r14 * 2a: 41 5f pop %r15 <-- trapping instruction 2c: c3 retq 2d: e8 d4 6e 91 ff callq 0xff916f06 32: eb f1 jmp 0x25 34: 48 c7 c7 a0 28 b2 8c mov $0xffffffff8cb228a0,%rdi 3b: 48 89 de mov %rbx,%rsi 3e: e8 .byte 0xe8 3f: 43 rex.XB