------------[ cut here ]------------ kernel BUG at fs/netfs/iterator.c:248! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 16733 Comm: syz.3.3083 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:netfs_limit_iter+0x100d/0x1100 fs/netfs/iterator.c:248 Code: ff e9 a4 f4 ff ff 48 89 de 48 c7 c7 80 b6 ab 8e e8 f8 e7 75 fe e9 59 f6 ff ff e8 4e 35 b2 ff e9 6f f6 ff ff e8 a4 9e 46 ff 90 <0f> 0b e8 ac 34 b2 ff e9 cd f9 ff ff 4c 89 f6 48 c7 c7 00 b7 ab 8e RSP: 0018:ffffc90006b8ece8 EFLAGS: 00010283 RAX: 00000000000096ad RBX: 0000000000000000 RCX: ffffc90028061000 RDX: 0000000000080000 RSI: ffffffff82c18e7c RDI: ffff888028e70000 RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000005 R10: 0000000000000003 R11: 0000000000000000 R12: 000000007fffffff R13: 1ffff92000d71da3 R14: ffff8880715422e0 R15: ffff88802124f840 FS: 0000000000000000(0000) GS:ffff888097346000(0063) knlGS:00000000f5435b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055c25ce9d000 CR3: 0000000058027000 CR4: 0000000000352ef0 Call Trace: netfs_unbuffered_write+0x25d/0x2080 fs/netfs/direct_write.c:128 netfs_unbuffered_write_iter_locked+0x801/0xab0 fs/netfs/direct_write.c:287 netfs_unbuffered_write_iter+0x40c/0x710 fs/netfs/direct_write.c:377 v9fs_file_write_iter+0xbf/0x100 fs/9p/vfs_file.c:409 __kernel_write_iter+0x2ac/0x920 fs/read_write.c:621 __kernel_write+0xf6/0x140 fs/read_write.c:641 __dump_emit fs/coredump.c:1221 [inline] dump_emit+0x21f/0x330 fs/coredump.c:1259 elf_core_dump+0x24ab/0x42e0 fs/binfmt_elf.c:2062 coredump_write fs/coredump.c:1050 [inline] do_coredump fs/coredump.c:1127 [inline] vfs_coredump+0x27bc/0x5570 fs/coredump.c:1201 get_signal+0x1f2a/0x21e0 kernel/signal.c:3019 arch_do_signal_or_restart+0x91/0x770 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/0x4a0 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] __do_fast_syscall_32+0x578/0x8c0 arch/x86/entry/syscall_32.c:310 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f92f6c Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f54355cc EFLAGS: 00000246 ORIG_RAX: 00000000000000f0 RAX: ffffffffffffffda RBX: 00000000f7455024 RCX: 0000000000000081 RDX: 00000000000f4240 RSI: 0000000020646165 RDI: 0000000063617473 RBP: 0000000000203a6b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:netfs_limit_iter+0x100d/0x1100 fs/netfs/iterator.c:248 Code: ff e9 a4 f4 ff ff 48 89 de 48 c7 c7 80 b6 ab 8e e8 f8 e7 75 fe e9 59 f6 ff ff e8 4e 35 b2 ff e9 6f f6 ff ff e8 a4 9e 46 ff 90 <0f> 0b e8 ac 34 b2 ff e9 cd f9 ff ff 4c 89 f6 48 c7 c7 00 b7 ab 8e RSP: 0018:ffffc90006b8ece8 EFLAGS: 00010283 RAX: 00000000000096ad RBX: 0000000000000000 RCX: ffffc90028061000 RDX: 0000000000080000 RSI: ffffffff82c18e7c RDI: ffff888028e70000 RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000005 R10: 0000000000000003 R11: 0000000000000000 R12: 000000007fffffff R13: 1ffff92000d71da3 R14: ffff8880715422e0 R15: ffff88802124f840 FS: 0000000000000000(0000) GS:ffff888097346000(0063) knlGS:00000000f5435b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055c2248585fc CR3: 0000000058027000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8