INFO: task udevd:3796 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:26392 pid: 3796 ppid: 2973 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 io_schedule+0xee/0x170 kernel/sched/core.c:8371 folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1371 folio_wait_bit mm/filemap.c:1431 [inline] folio_wait_locked include/linux/pagemap.h:851 [inline] folio_wait_locked include/linux/pagemap.h:848 [inline] wait_on_page_locked include/linux/pagemap.h:863 [inline] wait_on_page_read mm/filemap.c:3428 [inline] do_read_cache_page+0x986/0x11a0 mm/filemap.c:3471 read_mapping_page include/linux/pagemap.h:651 [inline] read_part_sector+0xf6/0x5b0 block/partitions/core.c:728 adfspart_check_ICS+0x9d/0xc90 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+0x759/0x1100 block/partitions/core.c:699 blkdev_get_whole+0x206/0x2d0 block/bdev.c:684 blkdev_get_by_dev.part.0+0x5c6/0xc70 block/bdev.c:826 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 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+0x13f/0x1f0 fs/open.c:1239 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:0x7f4f1e6ea697 RSP: 002b:00007fff9b932470 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055f5e11e5da0 RCX: 00007f4f1e6ea697 RDX: 00000000000a0800 RSI: 000055f5e11581d0 RDI: 00000000ffffff9c RBP: 000055f5e11581d0 R08: 0000000000000001 R09: 00007fff9b956080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055f5e116d9f0 R14: 0000000000000001 R15: 000055f5e113f2c0 INFO: task syz-executor.4:7343 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28992 pid: 7343 ppid: 3644 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_put+0x99/0x980 block/bdev.c:915 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 get_signal+0x1bef/0x2220 kernel/signal.c:2624 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fac523e9e99 RSP: 002b:00007fac50d3e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffe00 RBX: 00007fac524fd030 RCX: 00007fac523e9e99 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fac52443ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe5426301f R14: 00007fac50d3e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb812e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3288: #0: ffff88814af03098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by udevd/3796: #0: ffff8880192f7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 1 lock held by syz-executor.4/7343: #0: ffff8880192f7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x980 block/bdev.c:915 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7001 Comm: kworker/u4:8 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:asm_sysvec_apic_timer_interrupt+0xa/0x20 arch/x86/include/asm/idtentry.h:638 Code: 0f 01 ca 6a ff e8 76 03 00 00 48 89 e7 e8 be 4d e4 ff e9 19 04 00 00 66 0f 1f 84 00 00 00 00 00 0f 01 ca 6a ff e8 56 03 00 00 <48> 89 e7 e8 1e 4c e4 ff e9 f9 03 00 00 66 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90002d6faf8 EFLAGS: 00000087 RAX: 0000000089600e37 RBX: 0000000000000000 RCX: ffffffff89600e37 RDX: 0000000000000000 RSI: ffffffff89600bfa RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563298533578 CR3: 000000001f627000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5605 Code: 7e a6 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90002d6fba0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920005adf76 RCX: e174fad2da4bbda6 RDX: 1ffff11004e2354b RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ff77a07 R10: fffffbfff1feef40 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bb812e0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] 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+0x12d/0xfa0 net/batman-adv/network-coding.c:723 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 0f 01 ca clac 3: 6a ff pushq $0xffffffffffffffff 5: e8 76 03 00 00 callq 0x380 a: 48 89 e7 mov %rsp,%rdi d: e8 be 4d e4 ff callq 0xffe44dd0 12: e9 19 04 00 00 jmpq 0x430 17: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 1e: 00 00 20: 0f 01 ca clac 23: 6a ff pushq $0xffffffffffffffff 25: e8 56 03 00 00 callq 0x380 * 2a: 48 89 e7 mov %rsp,%rdi <-- trapping instruction 2d: e8 1e 4c e4 ff callq 0xffe44c50 32: e9 f9 03 00 00 jmpq 0x430 37: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 3e: 00 00