do_group_exit+0xd3/0x2a0 kernel/exit.c:1088 get_signal+0x2658/0x26d0 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1444! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 3 UID: 0 PID: 5803 Comm: syz.2.82 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:folio_get include/linux/mm.h:1444 [inline] RIP: 0010:get_page include/linux/mm.h:1450 [inline] RIP: 0010:iter_folioq_get_pages lib/iov_iter.c:1030 [inline] RIP: 0010:__iov_iter_get_pages_alloc+0x1d10/0x2230 lib/iov_iter.c:1201 Code: b0 8b 48 89 df e8 d0 23 4b fd 90 0f 0b 49 89 c5 e9 99 f6 ff ff e8 20 75 05 fd 48 c7 c6 60 c6 b0 8b 4c 89 e7 e8 b1 23 4b fd 90 <0f> 0b e8 09 75 05 fd 4c 8b 64 24 48 49 83 ec 01 e9 94 fd ff ff 4c RSP: 0018:ffffc900227befa8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 RDX: ffff888028278000 RSI: ffffffff84873a5f RDI: ffff888028278444 RBP: ffffea0001327034 R08: 0000000000000001 R09: fffffbfff2d315b6 R10: ffffffff9698adb7 R11: ffff88802b628a40 R12: ffffea0001327000 R13: ffff88806098b400 R14: 0000000000001000 R15: 0000000000001000 FS: 0000000000000000(0000) GS:ffff88802b700000(0063) knlGS:0000000057486440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000057bb0448 CR3: 00000000646b8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: iov_iter_get_pages_alloc2+0x53/0xf0 lib/iov_iter.c:1225 p9_get_mapped_pages.part.0.constprop.0+0x4ca/0x7d0 net/9p/trans_virtio.c:333 p9_get_mapped_pages net/9p/trans_virtio.c:318 [inline] p9_virtio_zc_request+0x991/0x1460 net/9p/trans_virtio.c:458 p9_client_zc_rpc.constprop.0+0x29a/0x880 net/9p/client.c:808 p9_client_read_once+0x443/0x820 net/9p/client.c:1560 p9_client_read+0x13f/0x1b0 net/9p/client.c:1524 v9fs_issue_read+0x115/0x310 fs/9p/vfs_addr.c:74 netfs_read_to_pagecache+0x5c9/0x9a0 fs/netfs/buffered_read.c:287 netfs_readahead+0x7fa/0xaa0 fs/netfs/buffered_read.c:437 read_pages+0x1a8/0xd80 mm/readahead.c:160 page_cache_ra_unbounded+0x543/0x6c0 mm/readahead.c:257 do_page_cache_ra mm/readahead.c:320 [inline] page_cache_ra_order+0x7d9/0xc90 mm/readahead.c:520 do_sync_mmap_readahead mm/filemap.c:3202 [inline] filemap_fault+0x148d/0x2820 mm/filemap.c:3343 __do_fault+0x10a/0x490 mm/memory.c:4876 do_shared_fault mm/memory.c:5346 [inline] do_fault mm/memory.c:5420 [inline] do_pte_missing+0x1a8/0x3e50 mm/memory.c:3965 handle_pte_fault mm/memory.c:5751 [inline] __handle_mm_fault+0x100a/0x2a10 mm/memory.c:5894 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6062 do_user_addr_fault+0x60d/0x13f0 arch/x86/mm/fault.c:1338 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0023:0xf725243a Code: 0c a4 49 f7 c6 03 00 00 00 74 02 a4 49 50 89 c8 c1 e9 02 83 e0 03 f3 a5 89 c1 f3 a4 58 89 c7 89 d6 8b 44 24 04 c3 d1 e9 73 01 d1 e9 73 02 66 a5 f3 a5 eb e8 66 90 66 90 66 90 66 90 66 90 90 RSP: 002b:00000000ff89a79c EFLAGS: 00010203 RAX: 0000000000000000 RBX: 00000000f740bff4 RCX: 0000000000000004 RDX: 0000000000000009 RSI: 00000000f6d10416 RDI: 0000000020000080 RBP: 00000000ff89aa18 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_get include/linux/mm.h:1444 [inline] RIP: 0010:get_page include/linux/mm.h:1450 [inline] RIP: 0010:iter_folioq_get_pages lib/iov_iter.c:1030 [inline] RIP: 0010:__iov_iter_get_pages_alloc+0x1d10/0x2230 lib/iov_iter.c:1201 Code: b0 8b 48 89 df e8 d0 23 4b fd 90 0f 0b 49 89 c5 e9 99 f6 ff ff e8 20 75 05 fd 48 c7 c6 60 c6 b0 8b 4c 89 e7 e8 b1 23 4b fd 90 <0f> 0b e8 09 75 05 fd 4c 8b 64 24 48 49 83 ec 01 e9 94 fd ff ff 4c RSP: 0018:ffffc900227befa8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 RDX: ffff888028278000 RSI: ffffffff84873a5f RDI: ffff888028278444 RBP: ffffea0001327034 R08: 0000000000000001 R09: fffffbfff2d315b6 R10: ffffffff9698adb7 R11: ffff88802b628a40 R12: ffffea0001327000 R13: ffff88806098b400 R14: 0000000000001000 R15: 0000000000001000 FS: 0000000000000000(0000) GS:ffff88802b700000(0063) knlGS:0000000057486440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000ff87bb30 CR3: 00000000646b8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0c a4 or $0xa4,%al 2: 49 f7 c6 03 00 00 00 test $0x3,%r14 9: 74 02 je 0xd b: a4 movsb %ds:(%rsi),%es:(%rdi) c: 49 50 rex.WB push %r8 e: 89 c8 mov %ecx,%eax 10: c1 e9 02 shr $0x2,%ecx 13: 83 e0 03 and $0x3,%eax 16: f3 a5 rep movsl %ds:(%rsi),%es:(%rdi) 18: 89 c1 mov %eax,%ecx 1a: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) 1c: 58 pop %rax 1d: 89 c7 mov %eax,%edi 1f: 89 d6 mov %edx,%esi 21: 8b 44 24 04 mov 0x4(%rsp),%eax 25: c3 ret 26: d1 e9 shr %ecx 28: 73 01 jae 0x2b * 2a: a4 movsb %ds:(%rsi),%es:(%rdi) <-- trapping instruction 2b: d1 e9 shr %ecx 2d: 73 02 jae 0x31 2f: 66 a5 movsw %ds:(%rsi),%es:(%rdi) 31: f3 a5 rep movsl %ds:(%rsi),%es:(%rdi) 33: eb e8 jmp 0x1d 35: 66 90 xchg %ax,%ax 37: 66 90 xchg %ax,%ax 39: 66 90 xchg %ax,%ax 3b: 66 90 xchg %ax,%ax 3d: 66 90 xchg %ax,%ax 3f: 90 nop