INFO: task syz-executor.5:3943 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29592 pid: 3943 ppid: 31304 flags:0x00000004 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 rwsem_down_write_slowpath+0x761/0x1130 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write_common kernel/locking/rwsem.c:1269 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1528 filemap_invalidate_lock include/linux/fs.h:828 [inline] blkdev_fallocate+0x1e2/0x420 block/fops.c:625 vfs_fallocate+0x48d/0xe10 fs/open.c:307 madvise_remove mm/madvise.c:925 [inline] madvise_vma mm/madvise.c:987 [inline] do_madvise.part.0+0xb60/0x2250 mm/madvise.c:1202 do_madvise mm/madvise.c:1228 [inline] __do_sys_madvise mm/madvise.c:1228 [inline] __se_sys_madvise mm/madvise.c:1226 [inline] __x64_sys_madvise+0x113/0x150 mm/madvise.c:1226 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:0x7f0ad9a0fae9 RSP: 002b:00007f0ad6f64188 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f0ad9b23020 RCX: 00007f0ad9a0fae9 RDX: 0000000000000009 RSI: 0000000000600000 RDI: 0000000020000000 RBP: 00007f0ad9a69f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7c1c021f R14: 00007f0ad6f64300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6221: #0: ffff888073697270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.5/3943: #0: ffff888016da9548 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:828 [inline] #0: ffff888016da9548 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:625 1 lock held by syz-executor.0/3946: 2 locks held by syz-executor.0/3947: 2 locks held by syz-executor.3/3955: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc2-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 50 Comm: kworker/u4:2 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_mcast_mla_update RIP: 0010:instrument_atomic_read include/linux/instrumented.h:71 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:mark_lock+0xea/0x17b0 kernel/locking/lockdep.c:4583 Code: 3c 03 0f 8e 5f 08 00 00 41 0f b7 55 20 66 81 e2 ff 1f 44 0f b7 f2 be 08 00 00 00 4c 89 f0 48 c1 f8 06 48 8d 3c c5 00 1a f7 8f e1 28 62 00 4c 0f a3 35 19 e9 9a 0e 0f 83 03 01 00 00 4b 8d 04 RSP: 0018:ffffc900012ff598 EFLAGS: 00000056 RAX: 0000000000000000 RBX: 1ffff9200025feba RCX: 0000000000000008 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff71a00 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffffff8ff71a0f R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000008 R13: ffff8880151ac4d8 R14: 0000000000000000 R15: ffff8880151ac4f8 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c020ed2018 CR3: 000000000b88e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: mark_usage kernel/locking/lockdep.c:4526 [inline] __lock_acquire+0x8a7/0x54a0 kernel/locking/lockdep.c:4981 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661 debug_timer_activate kernel/time/timer.c:729 [inline] __mod_timer+0x77d/0xe30 kernel/time/timer.c:1050 __queue_delayed_work+0x1a7/0x270 kernel/workqueue.c:1678 queue_delayed_work_on+0x105/0x120 kernel/workqueue.c:1703 queue_delayed_work include/linux/workqueue.h:517 [inline] batadv_mcast_start_timer net/batman-adv/multicast.c:71 [inline] batadv_mcast_mla_update+0x100f/0x2a20 net/batman-adv/multicast.c:916 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: 3c 03 cmp $0x3,%al 2: 0f 8e 5f 08 00 00 jle 0x867 8: 41 0f b7 55 20 movzwl 0x20(%r13),%edx d: 66 81 e2 ff 1f and $0x1fff,%dx 12: 44 0f b7 f2 movzwl %dx,%r14d 16: be 08 00 00 00 mov $0x8,%esi 1b: 4c 89 f0 mov %r14,%rax 1e: 48 c1 f8 06 sar $0x6,%rax 22: 48 8d 3c c5 00 1a f7 lea -0x7008e600(,%rax,8),%rdi 29: 8f * 2a: e8 e1 28 62 00 callq 0x622910 <-- trapping instruction 2f: 4c 0f a3 35 19 e9 9a bt %r14,0xe9ae919(%rip) # 0xe9ae950 36: 0e 37: 0f 83 03 01 00 00 jae 0x140 3d: 4b rex.WXB 3e: 8d .byte 0x8d 3f: 04 .byte 0x4