INFO: task syz-executor.3:11941 blocked for more than 143 seconds. Not tainted 5.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28488 pid:11941 ppid: 3632 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 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 ksys_fallocate fs/open.c:330 [inline] __do_sys_fallocate fs/open.c:338 [inline] __se_sys_fallocate fs/open.c:336 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:336 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:0x7f6e64892e99 RSP: 002b:00007f6e63208168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f6e649a5f60 RCX: 00007f6e64892e99 RDX: 0000000000000600 RSI: 0000000000000010 RDI: 0000000000000004 RBP: 00007f6e648ecff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000800 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff805bfbef R14: 00007f6e63208300 R15: 0000000000022000 INFO: task syz-executor.5:11939 blocked for more than 143 seconds. Not tainted 5.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28488 pid:11939 ppid: 3628 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 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 ksys_fallocate fs/open.c:330 [inline] __do_sys_fallocate fs/open.c:338 [inline] __se_sys_fallocate fs/open.c:336 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:336 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:0x7fa55c177e99 RSP: 002b:00007fa55aaed168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fa55c28af60 RCX: 00007fa55c177e99 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000004 RBP: 00007fa55c1d1ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000800 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf378b38f R14: 00007fa55aaed300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3290: #0: ffff88814a5d2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 4 locks held by kworker/u4:19/30704: 2 locks held by syz-executor.1/11934: 1 lock held by syz-executor.3/11941: #0: ffff88814488f348 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:828 [inline] #0: ffff88814488f348 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:625 1 lock held by syz-executor.5/11939: #0: ffff88814488f348 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:828 [inline] #0: ffff88814488f348 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x420 block/fops.c:625 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc7-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: 10911 Comm: kworker/u4:26 Not tainted 5.16.0-rc7-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_region_inline mm/kasan/generic.c:170 [inline] RIP: 0010:kasan_check_range+0x12c/0x180 mm/kasan/generic.c:189 Code: 00 74 ef 49 8d 04 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b 01 00 00 00 5d 41 5c c3 44 89 c2 e8 53 ef ff ff 5b 83 f0 01 5d RSP: 0018:ffffc9001100fa40 EFLAGS: 00000046 RAX: fffffbfff1feed5c RBX: 00000000000006fd RCX: ffffffff815c517d RDX: fffffbfff1feed5c RSI: 0000000000000008 RDI: ffffffff8ff76ad8 RBP: fffffbfff1feed5b R08: 0000000000000000 R09: ffffffff8ff76adf R10: fffffbfff1feed5b R11: 0000000000000000 R12: 0000000000000001 R13: ffff888072ab1d00 R14: ffff888072ab2760 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd937402f8 CR3: 000000008d645000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] check_wait_context kernel/locking/lockdep.c:4725 [inline] __lock_acquire+0x6ed/0x5470 kernel/locking/lockdep.c:4977 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/0x1660 kernel/workqueue.c:2298 worker_thread+0x65d/0x1130 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: 00 74 ef 49 add %dh,0x49(%rdi,%rbp,8) 4: 8d 04 2c lea (%rsp,%rbp,1),%eax 7: 48 85 d2 test %rdx,%rdx a: 75 0b jne 0x17 c: 48 89 da mov %rbx,%rdx f: 48 29 c2 sub %rax,%rdx 12: e9 55 ff ff ff jmpq 0xffffff6c 17: 49 39 d2 cmp %rdx,%r10 1a: 75 17 jne 0x33 1c: 49 0f be 02 movsbq (%r10),%rax 20: 41 83 e1 07 and $0x7,%r9d 24: 49 39 c1 cmp %rax,%r9 27: 7d 0a jge 0x33 29: 5b pop %rbx * 2a: b8 01 00 00 00 mov $0x1,%eax <-- trapping instruction 2f: 5d pop %rbp 30: 41 5c pop %r12 32: c3 retq 33: 44 89 c2 mov %r8d,%edx 36: e8 53 ef ff ff callq 0xffffef8e 3b: 5b pop %rbx 3c: 83 f0 01 xor $0x1,%eax 3f: 5d pop %rbp