INFO: task syz-executor.2:3958 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25832 pid: 3958 ppid: 30403 flags:0x00004004 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 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 loop_set_status+0x440/0x930 drivers/block/loop.c:1264 loop_set_status_old+0x148/0x1b0 drivers/block/loop.c:1396 lo_ioctl+0x3e9/0x17c0 drivers/block/loop.c:1566 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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:0x7f6cc6154ae9 RSP: 002b:00007f6cc36ca188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6cc6267f60 RCX: 00007f6cc6154ae9 RDX: 00000000200000c0 RSI: 0000000000004c02 RDI: 0000000000000004 RBP: 00007f6cc61aef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8fbdbc3f R14: 00007f6cc36ca300 R15: 0000000000022000 INFO: task syz-executor.2:3962 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25384 pid: 3962 ppid: 30403 flags:0x00004004 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 __bio_queue_enter+0x3c5/0x6a0 block/blk-core.c:441 bio_queue_enter block/blk.h:91 [inline] blk_mq_get_request block/blk-mq.c:2588 [inline] blk_mq_submit_bio+0x4ae/0x22c0 block/blk-mq.c:2632 __submit_bio block/blk-core.c:849 [inline] __submit_bio_noacct_mq block/blk-core.c:924 [inline] submit_bio_noacct block/blk-core.c:950 [inline] submit_bio_noacct+0x82c/0xa20 block/blk-core.c:939 submit_bio block/blk-core.c:1011 [inline] submit_bio+0x1ea/0x430 block/blk-core.c:969 submit_bio_wait+0x106/0x230 block/bio.c:1254 blkdev_issue_flush+0xd6/0x130 block/blk-flush.c:458 blkdev_fsync+0x68/0xa0 block/fops.c:474 vfs_fsync_range+0x13a/0x220 fs/sync.c:182 generic_write_sync include/linux/fs.h:2956 [inline] blkdev_write_iter+0x552/0x690 block/fops.c:559 call_write_iter include/linux/fs.h:2162 [inline] do_iter_readv_writev+0x472/0x750 fs/read_write.c:725 do_iter_write+0x188/0x710 fs/read_write.c:851 vfs_iter_write+0x70/0xa0 fs/read_write.c:892 iter_file_splice_write+0x723/0xc70 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:936 splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 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:0x7f6cc6154ae9 RSP: 002b:00007f6cc36a9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f6cc6268020 RCX: 00007f6cc6154ae9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f6cc61aef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000024002da8 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8fbdbc3f R14: 00007f6cc36a9300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by systemd-udevd/2971: #0: ffff88801aacd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff88801aac8b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 1 lock held by in:imklog/6214: 1 lock held by syz-executor.2/3958: #0: ffff88801aac8b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8 Comm: kworker/u4:0 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:strlen+0x15/0x90 lib/string.c:484 Code: 08 48 89 3c 24 e8 6b 0f b1 fd 48 8b 74 24 08 48 8b 3c 24 eb c0 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 48 89 fd 48 c1 ea 03 <53> 48 83 ec 08 0f b6 04 02 48 89 fa 83 e2 07 38 d0 7f 04 84 c0 75 RSP: 0018:ffffc90000cd7a08 EFLAGS: 00000216 RAX: dffffc0000000000 RBX: 1ffff9200019af66 RCX: 0000000000000000 RDX: 1ffffffff15ab644 RSI: ffff888057424818 RDI: ffffffff8ad5b220 RBP: ffffffff8ad5b220 R08: 0000000000000000 R09: 0000000000000001 R10: fffffbfff1b22e5a R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8ba80e20 R14: ffff888057424818 R15: ffffc90000cd7ad8 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f87a94d0000 CR3: 000000007959b000 CR4: 0000000000350ef0 Call Trace: strlen include/linux/fortify-string.h:102 [inline] trace_event_get_offsets_lock_acquire include/trace/events/lock.h:13 [inline] perf_trace_lock_acquire+0xbe/0x550 include/trace/events/lock.h:13 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x416/0x510 kernel/locking/lockdep.c:5608 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:724 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: 08 48 89 or %cl,-0x77(%rax) 3: 3c 24 cmp $0x24,%al 5: e8 6b 0f b1 fd callq 0xfdb10f75 a: 48 8b 74 24 08 mov 0x8(%rsp),%rsi f: 48 8b 3c 24 mov (%rsp),%rdi 13: eb c0 jmp 0xffffffd5 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 fa mov %rdi,%rdx 22: 55 push %rbp 23: 48 89 fd mov %rdi,%rbp 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 53 push %rbx <-- trapping instruction 2b: 48 83 ec 08 sub $0x8,%rsp 2f: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 33: 48 89 fa mov %rdi,%rdx 36: 83 e2 07 and $0x7,%edx 39: 38 d0 cmp %dl,%al 3b: 7f 04 jg 0x41 3d: 84 c0 test %al,%al 3f: 75 .byte 0x75