------------[ cut here ]------------ kernel BUG at fs/netfs/iterator.c:248! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 3 UID: 0 PID: 12787 Comm: syz.3.1987 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 a0 c9 ab 8e e8 b8 f1 73 fe e9 59 f6 ff ff e8 1e e5 b1 ff e9 6f f6 ff ff e8 54 56 45 ff 90 <0f> 0b e8 7c e4 b1 ff e9 cd f9 ff ff 4c 89 f6 48 c7 c7 20 ca ab 8e RSP: 0018:ffffc90005966d18 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff82c3923b RDX: ffff88802699a4c0 RSI: ffffffff82c3a16c RDI: ffff88802699a4c0 RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000005 R10: 0000000000000003 R11: 0000000000000000 R12: 000000007fffffff R13: 1ffff92000b2cda9 R14: ffff8880230815a0 R15: ffff888023331e00 FS: 00007f2873df66c0(0000) GS:ffff8880d663e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe2c33cf6f CR3: 00000000402fe000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000fda3b69a DR6: 00000000ffff0ff0 DR7: 0000000000000400 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+0x2127/0x3d10 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/0x7a0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop kernel/entry/common.c:98 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:270 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:339 [inline] irqentry_exit+0x1f8/0x670 kernel/entry/common.c:219 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0x7f2875b9c799 Code: Unable to access opcode bytes at 0x7f2875b9c76f. RSP: 002b:00007f2873df5fd8 EFLAGS: 00010206 RAX: 0000000000000000 RBX: 00007f2875e15fa0 RCX: 00007f2875b9c799 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000004000 RBP: 00007f2875c32c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f2875e16038 R14: 00007f2875e15fa0 R15: 00007ffe2c33aae8 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 a0 c9 ab 8e e8 b8 f1 73 fe e9 59 f6 ff ff e8 1e e5 b1 ff e9 6f f6 ff ff e8 54 56 45 ff 90 <0f> 0b e8 7c e4 b1 ff e9 cd f9 ff ff 4c 89 f6 48 c7 c7 20 ca ab 8e RSP: 0018:ffffc90005966d18 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff82c3923b RDX: ffff88802699a4c0 RSI: ffffffff82c3a16c RDI: ffff88802699a4c0 RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000005 R10: 0000000000000003 R11: 0000000000000000 R12: 000000007fffffff R13: 1ffff92000b2cda9 R14: ffff8880230815a0 R15: ffff888023331e00 FS: 00007f2873df66c0(0000) GS:ffff8880d663e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2875b9c76f CR3: 00000000402fe000 CR4: 0000000000352ef0 DR0: 0000000000000007 DR1: ffffffffff7fff00 DR2: 400000000001001e DR3: fffffffffffffff6 DR6: 00000000ffff0ff0 DR7: 0000000000000400