__vm_munmap+0x14f/0x340 mm/mmap.c:1600 __do_sys_munmap mm/mmap.c:1617 [inline] __se_sys_munmap mm/mmap.c:1614 [inline] __x64_sys_munmap+0x61/0x90 mm/mmap.c:1614 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1444! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 UID: 0 PID: 5755 Comm: syz.2.126 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:ffffc90022c6efa8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88802110a440 RSI: ffffffff84873a5f RDI: ffff88802110a884 RBP: ffffea0000ae2e34 R08: 0000000000000001 R09: fffffbfff2d315ae R10: ffffffff9698ad77 R11: 1ffffffff1bb8559 R12: ffffea0000ae2e00 R13: ffff88802af44400 R14: 0000000000001000 R15: 0000000000001000 FS: 0000000000000000(0000) GS:ffff88802b500000(0063) knlGS:0000000056d73440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72f5700 CR3: 000000005fee6000 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+0x3c0/0x6c0 mm/readahead.c:290 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:0xf71a2a20 Code: 83 f0 01 09 d8 0f 85 b9 02 00 00 0f b7 44 24 28 66 c1 c0 08 0f b7 c0 89 44 24 28 31 c0 89 44 24 2c 8b 44 24 50 0f b7 4c 24 28 <66> 89 08 e9 f2 fb ff ff ff 74 24 24 ff 74 24 24 6a 00 6a 01 8b 44 RSP: 002b:00000000ffddf360 EFLAGS: 00010246 RAX: 0000000020000080 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000ffddf678 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:ffffc90022c6efa8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88802110a440 RSI: ffffffff84873a5f RDI: ffff88802110a884 RBP: ffffea0000ae2e34 R08: 0000000000000001 R09: fffffbfff2d315ae R10: ffffffff9698ad77 R11: 1ffffffff1bb8559 R12: ffffea0000ae2e00 R13: ffff88802af44400 R14: 0000000000001000 R15: 0000000000001000 FS: 0000000000000000(0000) GS:ffff88802b500000(0063) knlGS:0000000056d73440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72f5700 CR3: 000000005fee6000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 83 f0 01 xor $0x1,%eax 3: 09 d8 or %ebx,%eax 5: 0f 85 b9 02 00 00 jne 0x2c4 b: 0f b7 44 24 28 movzwl 0x28(%rsp),%eax 10: 66 c1 c0 08 rol $0x8,%ax 14: 0f b7 c0 movzwl %ax,%eax 17: 89 44 24 28 mov %eax,0x28(%rsp) 1b: 31 c0 xor %eax,%eax 1d: 89 44 24 2c mov %eax,0x2c(%rsp) 21: 8b 44 24 50 mov 0x50(%rsp),%eax 25: 0f b7 4c 24 28 movzwl 0x28(%rsp),%ecx * 2a: 66 89 08 mov %cx,(%rax) <-- trapping instruction 2d: e9 f2 fb ff ff jmp 0xfffffc24 32: ff 74 24 24 push 0x24(%rsp) 36: ff 74 24 24 push 0x24(%rsp) 3a: 6a 00 push $0x0 3c: 6a 01 push $0x1 3e: 8b .byte 0x8b 3f: 44 rex.R