do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x2737/0x28b0 kernel/signal.c:2936 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:1462! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 2 UID: 0 PID: 6580 Comm: syz.3.388 Not tainted 6.11.0-syzkaller-05319-g4a39ac5b7d62 #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:1462 [inline] RIP: 0010:get_page include/linux/mm.h:1468 [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 72 76 48 fd 90 0f 0b 49 89 c5 e9 99 f6 ff ff e8 02 ba 03 fd 48 c7 c6 40 cf b0 8b 4c 89 e7 e8 53 76 48 fd 90 <0f> 0b e8 eb b9 03 fd 4c 8b 64 24 48 49 83 ec 01 e9 94 fd ff ff 4c RSP: 0018:ffffc90004696038 EFLAGS: 00010283 RAX: 000000000002eeb0 RBX: 0000000000000000 RCX: ffffc9002763c000 RDX: 0000000000040000 RSI: ffffffff8488559d RDI: ffff88804bcf8444 RBP: ffffea00014599b4 R08: 0000000000000001 R09: fffffbfff2d7cb21 R10: ffffffff96be590f R11: ffffffff815f66a0 R12: ffffea0001459980 R13: ffff8880330e0000 R14: 0000000000001000 R15: 0000000000001000 FS: 00007f399d4f36c0(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa4b95619e0 CR3: 00000000406c8000 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+0x992/0x1390 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_sync_ra+0x4b4/0x9c0 mm/readahead.c:576 page_cache_sync_readahead include/linux/pagemap.h:1298 [inline] filemap_get_pages+0xbfb/0x1830 mm/filemap.c:2529 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+0x89f/0xa40 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_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1441 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 RIP: 0033:0x7f399c77def9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f399d4f3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f399c935f80 RCX: 00007f399c77def9 RDX: 0000000000040942 RSI: 0000000020000200 RDI: ffffffffffffff9c RBP: 00007f399c7f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f399c935f80 R15: 00007fffde66e6b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_get include/linux/mm.h:1462 [inline] RIP: 0010:get_page include/linux/mm.h:1468 [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 72 76 48 fd 90 0f 0b 49 89 c5 e9 99 f6 ff ff e8 02 ba 03 fd 48 c7 c6 40 cf b0 8b 4c 89 e7 e8 53 76 48 fd 90 <0f> 0b e8 eb b9 03 fd 4c 8b 64 24 48 49 83 ec 01 e9 94 fd ff ff 4c RSP: 0018:ffffc90004696038 EFLAGS: 00010283 RAX: 000000000002eeb0 RBX: 0000000000000000 RCX: ffffc9002763c000 RDX: 0000000000040000 RSI: ffffffff8488559d RDI: ffff88804bcf8444 RBP: ffffea00014599b4 R08: 0000000000000001 R09: fffffbfff2d7cb21 R10: ffffffff96be590f R11: ffffffff815f66a0 R12: ffffea0001459980 R13: ffff8880330e0000 R14: 0000000000001000 R15: 0000000000001000 FS: 00007f399d4f36c0(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa4b95619e0 CR3: 00000000406c8000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400