------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 10582 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:ffffc90004a0edb0 EFLAGS: 00010046 RAX: ffffffff81421f11 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90014ab1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffffff81ee9651 R08: ffffffff81421e5c R09: 1ffffffff2930825 R10: dffffc0000000000 R11: fffffbfff2930826 R12: 0000000000402800 R13: 0000000000000240 R14: 0000408004a0ee40 R15: 000000000000002e FS: 00007f004fd526c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005609bc7d4040 CR3: 000000002ce9e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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 blkdev_read_iter+0x2df/0x440 block/fops.c:754 call_read_iter include/linux/fs.h:2102 [inline] io_iter_do_read io_uring/rw.c:744 [inline] __io_read+0x3b0/0xf70 io_uring/rw.c:839 io_read+0x1e/0x60 io_uring/rw.c:909 io_issue_sqe+0x387/0x1e10 io_uring/io_uring.c:1816 io_queue_sqe io_uring/io_uring.c:2025 [inline] io_submit_sqe io_uring/io_uring.c:2280 [inline] io_submit_sqes+0xadd/0x1bb0 io_uring/io_uring.c:2395 __do_sys_io_uring_enter io_uring/io_uring.c:3530 [inline] __se_sys_io_uring_enter+0x2d7/0x2830 io_uring/io_uring.c:3465 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f004f07dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f004fd520c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f004f1abf80 RCX: 00007f004f07dda9 RDX: 0000000000000000 RSI: 00000000000048e9 RDI: 0000000000000004 RBP: 00007f004f0ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f004f1abf80 R15: 00007ffcd828de58 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:ffffc90004a0edb0 EFLAGS: 00010046 RAX: ffffffff81421f11 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90014ab1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffffff81ee9651 R08: ffffffff81421e5c R09: 1ffffffff2930825 R10: dffffc0000000000 R11: fffffbfff2930826 R12: 0000000000402800 R13: 0000000000000240 R14: 0000408004a0ee40 R15: 000000000000002e FS: 00007f004fd526c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005609bc7d4040 CR3: 000000002ce9e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400