INFO: task systemd-udevd:12476 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:25688 pid:12476 ppid: 2968 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 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_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1232 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:0x7fc5dac34840 RSP: 002b:00007ffd6c315358 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000560ddf17e180 RCX: 00007fc5dac34840 RDX: 0000560ddd2f4fe3 RSI: 00000000000a0800 RDI: 0000560ddf179950 RBP: 00007ffd6c3154d0 R08: 0000560ddd2f4670 R09: 0000000000000010 R10: 0000560ddd2f4d0c R11: 0000000000000246 R12: 00007ffd6c315420 R13: 0000560ddf16b7c0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.0:4329 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:28088 pid: 4329 ppid: 6563 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 lo_release+0x160/0x1f0 drivers/block/loop.c:1768 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x2fb/0x9e0 block/bdev.c:956 gfs2_kill_sb+0x11c/0x160 fs/gfs2/ops_fstype.c:1725 deactivate_locked_super+0x94/0x160 fs/super.c:335 get_tree_bdev+0x573/0x760 fs/super.c:1297 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7fb69e42f01a RSP: 002b:00007fb69b960fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000300 RCX: 00007fb69e42f01a RDX: 0000000020000240 RSI: 0000000020000280 RDI: 00007fb69b961000 RBP: 00007fb69b961040 R08: 00007fb69b961040 R09: 0000000020000240 R10: 0000000000004000 R11: 0000000000000202 R12: 0000000020000240 R13: 0000000020000280 R14: 00007fb69b961000 R15: 0000000020000340 INFO: task syz-executor.0:4329 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28088 pid: 4329 ppid: 6563 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 lo_release+0x160/0x1f0 drivers/block/loop.c:1768 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x2fb/0x9e0 block/bdev.c:956 gfs2_kill_sb+0x11c/0x160 fs/gfs2/ops_fstype.c:1725 deactivate_locked_super+0x94/0x160 fs/super.c:335 get_tree_bdev+0x573/0x760 fs/super.c:1297 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7fb69e42f01a RSP: 002b:00007fb69b960fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000300 RCX: 00007fb69e42f01a RDX: 0000000020000240 RSI: 0000000020000280 RDI: 00007fb69b961000 RBP: 00007fb69b961040 R08: 00007fb69b961040 R09: 0000000020000240 R10: 0000000000004000 R11: 0000000000000202 R12: 0000000020000240 R13: 0000000020000280 R14: 00007fb69b961000 R15: 0000000020000340 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by systemd-udevd/2968: #0: ffff88801a6bc118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 1 lock held by in:imklog/6446: #0: ffff888072dba870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/12476: #0: ffff88801a6bc118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 2 locks held by syz-executor.0/4329: #0: ffff88801a6bc118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #1: ffff888147073360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748 2 locks held by kworker/u4:3/5291: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-next-20211118-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:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 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: 5291 Comm: kworker/u4:3 Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4725 [inline] RIP: 0010:__lock_acquire+0x64f/0x54a0 kernel/locking/lockdep.c:4977 Code: ff df 48 c1 e8 03 4c 8b 74 24 28 4c 01 f8 48 89 44 24 60 eb 66 48 8d 04 5b 48 c1 e0 06 48 05 20 2e f7 8f 48 8d b8 b8 00 00 00 <48> 89 fa 48 c1 ea 03 42 0f b6 14 3a 84 d2 74 06 0f 8e 5f 2b 00 00 RSP: 0018:ffffc90015907a60 EFLAGS: 00000086 RAX: ffffffff8ffc42a0 RBX: 00000000000006c6 RCX: ffffffff815c591d RDX: fffffbfff1fee55c RSI: 0000000000000008 RDI: ffffffff8ffc4358 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8ff72adf R10: fffffbfff1fee55b R11: 0000000000000000 R12: 0000000000000001 R13: ffff888075171d40 R14: ffff8880751727a8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb33799e000 CR3: 000000000b88e000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 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), 1 bytes skipped: 0: df 48 c1 fisttps -0x3f(%rax) 3: e8 03 4c 8b 74 callq 0x748b4c0b 8: 24 28 and $0x28,%al a: 4c 01 f8 add %r15,%rax d: 48 89 44 24 60 mov %rax,0x60(%rsp) 12: eb 66 jmp 0x7a 14: 48 8d 04 5b lea (%rbx,%rbx,2),%rax 18: 48 c1 e0 06 shl $0x6,%rax 1c: 48 05 20 2e f7 8f add $0xffffffff8ff72e20,%rax 22: 48 8d b8 b8 00 00 00 lea 0xb8(%rax),%rdi * 29: 48 89 fa mov %rdi,%rdx <-- trapping instruction 2c: 48 c1 ea 03 shr $0x3,%rdx 30: 42 0f b6 14 3a movzbl (%rdx,%r15,1),%edx 35: 84 d2 test %dl,%dl 37: 74 06 je 0x3f 39: 0f 8e 5f 2b 00 00 jle 0x2b9e