INFO: task syz-executor.2:19875 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28464 pid:19875 ppid: 17818 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 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 compat_ioctl_preallocate+0x196/0x210 fs/ioctl.c:323 __do_compat_sys_ioctl+0x238/0x290 fs/ioctl.c:946 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6eda549 RSP: 002b:00000000f44d45fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000402c5839 RDX: 0000000020000080 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:19876 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28464 pid:19876 ppid: 17818 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 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 compat_ioctl_preallocate+0x196/0x210 fs/ioctl.c:323 __do_compat_sys_ioctl+0x238/0x290 fs/ioctl.c:946 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6eda549 RSP: 002b:00000000f44b35fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000402c5839 RDX: 0000000020000080 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b983a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6461 1 lock held by in:imklog/6184: #0: ffff88801c0ce0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.1/19870: #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.2/19875: #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.2/19876: #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/20260: #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.15.0-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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2932 Comm: systemd-journal Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_on+0x91/0x100 kernel/locking/lockdep.c:4359 Code: 38 0a 00 00 75 36 48 c7 c7 00 09 8c 89 e8 67 11 00 00 8b 83 f8 09 00 00 48 89 ab 00 0a 00 00 65 c7 05 ab 42 c9 76 01 00 00 00 <83> c0 01 89 83 f8 09 00 00 89 83 10 0a 00 00 5b 5d c3 e8 18 56 9d RSP: 0018:ffffc90001a6fc50 EFLAGS: 00000002 RAX: 000000000035e07a RBX: ffff88807ac98000 RCX: 1ffffffff1adf319 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff893c1590 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817e00c8 R11: 0000000000000000 R12: ffff888011a34780 R13: 1ffff9200034df9f R14: ffffffff90499658 R15: ffffffff90499650 FS: 00007f7bead758c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7be8336000 CR3: 0000000019d98000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x50/0x70 kernel/locking/spinlock.c:194 __debug_object_init+0x409/0xd10 lib/debugobjects.c:605 debug_object_init lib/debugobjects.c:620 [inline] debug_object_activate+0x32c/0x3e0 lib/debugobjects.c:706 debug_rcu_head_queue kernel/rcu/rcu.h:176 [inline] __call_rcu kernel/rcu/tree.c:2969 [inline] call_rcu+0x2c/0x740 kernel/rcu/tree.c:3065 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/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:0x7f7bea304840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffee30512c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: fffffffffffffffe RBX: 00007ffee30515d0 RCX: 00007f7bea304840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055eb80f5e470 RBP: 000000000000000d R08: 00000000000001e0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055eb80f51040 R14: 00007ffee3051590 R15: 000055eb80f5e290 ---------------- Code disassembly (best guess): 0: 38 0a cmp %cl,(%rdx) 2: 00 00 add %al,(%rax) 4: 75 36 jne 0x3c 6: 48 c7 c7 00 09 8c 89 mov $0xffffffff898c0900,%rdi d: e8 67 11 00 00 callq 0x1179 12: 8b 83 f8 09 00 00 mov 0x9f8(%rbx),%eax 18: 48 89 ab 00 0a 00 00 mov %rbp,0xa00(%rbx) 1f: 65 c7 05 ab 42 c9 76 movl $0x1,%gs:0x76c942ab(%rip) # 0x76c942d5 26: 01 00 00 00 * 2a: 83 c0 01 add $0x1,%eax <-- trapping instruction 2d: 89 83 f8 09 00 00 mov %eax,0x9f8(%rbx) 33: 89 83 10 0a 00 00 mov %eax,0xa10(%rbx) 39: 5b pop %rbx 3a: 5d pop %rbp 3b: c3 retq 3c: e8 .byte 0xe8 3d: 18 56 9d sbb %dl,-0x63(%rsi)