do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x2658/0x26d0 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 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:1460! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 9842 Comm: syz.0.1168 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #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:1460 [inline] RIP: 0010:get_page include/linux/mm.h:1466 [inline] RIP: 0010:iter_folioq_get_pages lib/iov_iter.c:1030 [inline] RIP: 0010:__iov_iter_get_pages_alloc+0x1d1e/0x2240 lib/iov_iter.c:1201 Code: b0 8b 48 89 df e8 32 4b 4e fd 90 0f 0b 49 89 c5 e9 99 f6 ff ff e8 f2 db 09 fd 48 c7 c6 20 44 b0 8b 4c 89 e7 e8 13 4b 4e fd 90 <0f> 0b e8 db db 09 fd 4c 8b 64 24 48 49 83 ec 01 e9 94 fd ff ff 4c RSP: 0018:ffffc90000efe028 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 000000000000000c RCX: ffffc900270a3000 RDX: 0000000000040000 RSI: ffffffff848148dd RDI: ffff88802348ccc4 RBP: ffffea0001abc834 R08: 0000000000000001 R09: fffffbfff2d27911 R10: ffffffff9693c88f R11: ffff88802b628a40 R12: ffffea0001abc800 R13: ffff888023635400 R14: 0000000000001000 R15: 0000000000001000 FS: 0000000000000000(0000) GS:ffff88802b600000(0063) knlGS:00000000f5705b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020ff7000 CR3: 0000000060d3e000 CR4: 0000000000350ef0 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+0x2d8/0x5a0 mm/readahead.c:273 do_page_cache_ra mm/readahead.c:303 [inline] page_cache_ra_order+0x6b5/0xb80 mm/readahead.c:488 page_cache_async_ra+0x5cb/0x820 mm/readahead.c:638 filemap_readahead mm/filemap.c:2504 [inline] filemap_get_pages+0x351/0x1830 mm/filemap.c:2545 filemap_read+0x3a9/0xd00 mm/filemap.c:2625 netfs_buffered_read_iter+0x117/0x190 fs/netfs/buffered_read.c:878 netfs_file_read_iter+0x10f/0x190 fs/netfs/buffered_read.c:914 v9fs_file_read_iter+0x9b/0x100 fs/9p/vfs_file.c:364 __kernel_read+0x3f1/0xb50 fs/read_write.c:527 integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:28 ima_calc_file_hash_tfm+0x2c9/0x3e0 security/integrity/ima/ima_crypto.c:480 ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x1ba/0x490 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x8a7/0xa10 security/integrity/ima/ima_api.c:293 process_measurement+0x1271/0x2370 security/integrity/ima/ima_main.c:372 ima_file_check+0xc1/0x110 security/integrity/ima/ima_main.c:572 security_file_post_open+0x8e/0x210 security/security.c:3127 do_open fs/namei.c:3776 [inline] path_openat+0x1419/0x2d60 fs/namei.c:3933 do_filp_open+0x1dc/0x430 fs/namei.c:3960 do_sys_openat2+0x17a/0x1e0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_compat_sys_openat fs/open.c:1490 [inline] __se_compat_sys_openat fs/open.c:1488 [inline] __ia32_compat_sys_openat+0x16e/0x210 fs/open.c:1488 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf743e579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f570556c EFLAGS: 00000296 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 0000000020000280 RDX: 000000000000275a RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_get include/linux/mm.h:1460 [inline] RIP: 0010:get_page include/linux/mm.h:1466 [inline] RIP: 0010:iter_folioq_get_pages lib/iov_iter.c:1030 [inline] RIP: 0010:__iov_iter_get_pages_alloc+0x1d1e/0x2240 lib/iov_iter.c:1201 Code: b0 8b 48 89 df e8 32 4b 4e fd 90 0f 0b 49 89 c5 e9 99 f6 ff ff e8 f2 db 09 fd 48 c7 c6 20 44 b0 8b 4c 89 e7 e8 13 4b 4e fd 90 <0f> 0b e8 db db 09 fd 4c 8b 64 24 48 49 83 ec 01 e9 94 fd ff ff 4c RSP: 0018:ffffc90000efe028 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 000000000000000c RCX: ffffc900270a3000 RDX: 0000000000040000 RSI: ffffffff848148dd RDI: ffff88802348ccc4 RBP: ffffea0001abc834 R08: 0000000000000001 R09: fffffbfff2d27911 R10: ffffffff9693c88f R11: ffff88802b628a40 R12: ffffea0001abc800 R13: ffff888023635400 R14: 0000000000001000 R15: 0000000000001000 FS: 0000000000000000(0000) GS:ffff88802b700000(0063) knlGS:00000000f5705b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000057f3b4ac CR3: 0000000060d3e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi