------------[ cut here ]------------
kernel BUG at arch/x86/mm/physaddr.c:28!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 PID: 5100 Comm: syz-executor.2 Not tainted 6.9.0-rc1-next-20240328-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__phys_addr+0x162/0x170 arch/x86/mm/physaddr.c:28
Code: e8 e3 4b 53 00 48 c7 c7 00 73 1a 8e 4c 89 f6 4c 89 fa e8 e1 8e a5 03 e9 45 ff ff ff e8 c7 4b 53 00 90 0f 0b e8 bf 4b 53 00 90 <0f> 0b e8 b7 4b 53 00 90 0f 0b 0f 1f 40 00 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900044ee0f0 EFLAGS: 00010093
RAX: ffffffff81421f11 RBX: 0000000000000001 RCX: ffff888062d20000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff81ee9651 R08: ffffffff81421e5c R09: 1ffffffff291dbce
R10: dffffc0000000000 R11: fffffbfff291dbcf R12: 0000000000402800
R13: 0000000000000240 R14: 00004080044ee180 R15: 000000000000002e
FS:  0000555592813480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f468877b978 CR3: 0000000022bba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 virt_to_folio include/linux/mm.h:1307 [inline]
 virt_to_slab mm/kasan/../slab.h:204 [inline]
 poison_slab_object+0x1a/0x150 mm/kasan/common.c:222
 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256
 kasan_slab_free include/linux/kasan.h:184 [inline]
 slab_free_hook mm/slub.c:2180 [inline]
 memcg_alloc_abort_single+0x71/0x1c0 mm/slub.c:4372
 memcg_slab_post_alloc_hook mm/slub.c:2097 [inline]
 slab_post_alloc_hook mm/slub.c:3888 [inline]
 slab_alloc_node mm/slub.c:3927 [inline]
 kmem_cache_alloc_lru_noprof+0x201/0x2b0 mm/slub.c:3946
 xas_alloc lib/xarray.c:375 [inline]
 xas_create+0x10c1/0x16b0 lib/xarray.c:677
 xas_store+0xa3/0x1980 lib/xarray.c:787
 __filemap_add_folio+0xacc/0x19d0 mm/filemap.c:914
 filemap_add_folio+0x157/0x650 mm/filemap.c:970
 page_cache_ra_unbounded+0x212/0x7f0 mm/readahead.c:252
 filemap_readahead mm/filemap.c:2504 [inline]
 filemap_get_pages+0x743/0x2090 mm/filemap.c:2545
 filemap_read+0x457/0xfa0 mm/filemap.c:2625
 __kernel_read+0x5c8/0xab0 fs/read_write.c:434
 integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28
 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline]
 ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
 ima_calc_file_hash+0xadb/0x1b30 security/integrity/ima/ima_crypto.c:573
 ima_collect_measurement+0x543/0xab0 security/integrity/ima/ima_api.c:291
 process_measurement+0x13ac/0x1f60 security/integrity/ima/ima_main.c:359
 ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:559
 security_file_post_open+0x6d/0xa0 security/security.c:2981
 do_open fs/namei.c:3644 [inline]
 path_openat+0x28b7/0x3240 fs/namei.c:3799
 do_filp_open+0x235/0x490 fs/namei.c:3826
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406
 do_sys_open fs/open.c:1421 [inline]
 __do_sys_openat fs/open.c:1437 [inline]
 __se_sys_openat fs/open.c:1432 [inline]
 __x64_sys_openat+0x247/0x2a0 fs/open.c:1432
 do_syscall_64+0xfb/0x240
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f46dac7c9a0
Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 09 82 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 5c 82 02 00 8b 44
RSP: 002b:00007ffccd9096c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f46dac7c9a0
RDX: 0000000000000000 RSI: 00007ffccd9097f0 RDI: 00000000ffffff9c
RBP: 00007ffccd9097f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffccd90a8b0
R13: 00007f46dacc93b9 R14: 0000555592813430 R15: 000000000000000d
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__phys_addr+0x162/0x170 arch/x86/mm/physaddr.c:28
Code: e8 e3 4b 53 00 48 c7 c7 00 73 1a 8e 4c 89 f6 4c 89 fa e8 e1 8e a5 03 e9 45 ff ff ff e8 c7 4b 53 00 90 0f 0b e8 bf 4b 53 00 90 <0f> 0b e8 b7 4b 53 00 90 0f 0b 0f 1f 40 00 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900044ee0f0 EFLAGS: 00010093
RAX: ffffffff81421f11 RBX: 0000000000000001 RCX: ffff888062d20000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff81ee9651 R08: ffffffff81421e5c R09: 1ffffffff291dbce
R10: dffffc0000000000 R11: fffffbfff291dbcf R12: 0000000000402800
R13: 0000000000000240 R14: 00004080044ee180 R15: 000000000000002e
FS:  0000555592813480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f468877b978 CR3: 0000000022bba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400