------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 8856 Comm: syz-executor.3 Not tainted 6.9.0-rc2-next-20240402-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 83 56 53 00 48 c7 c7 00 73 1a 8e 4c 89 f6 4c 89 fa e8 a1 d9 a5 03 e9 45 ff ff ff e8 67 56 53 00 90 0f 0b e8 5f 56 53 00 90 <0f> 0b e8 57 56 53 00 90 0f 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90012487668 EFLAGS: 00010287 RAX: ffffffff81421ed1 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90004ad9000 RSI: 00000000000221bc RDI: 00000000000221bd RBP: ffffffff81eed253 R08: ffffffff81421e1c R09: 1ffffffff25e74b8 R10: dffffc0000000000 R11: fffffbfff25e74b9 R12: 0000000000000050 R13: ffff8880162a6280 R14: 00004080124876f0 R15: 000000000000002e FS: 00007f95b8a6f6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e525000 CR3: 00000000566ce000 CR4: 00000000003526f0 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_noprof+0x1f3/0x2a0 mm/slub.c:3934 anon_vma_chain_alloc mm/rmap.c:142 [inline] anon_vma_clone+0x98/0x4e0 mm/rmap.c:289 anon_vma_fork+0x87/0x580 mm/rmap.c:352 dup_mmap kernel/fork.c:714 [inline] dup_mm kernel/fork.c:1687 [inline] copy_mm+0xe64/0x2040 kernel/fork.c:1736 copy_process+0x187a/0x3dc0 kernel/fork.c:2389 kernel_clone+0x226/0x8f0 kernel/fork.c:2796 __do_sys_clone3 kernel/fork.c:3097 [inline] __se_sys_clone3+0x2cb/0x350 kernel/fork.c:3081 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f95b7c7dda9 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:00007f95b8a6ef98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f95b7c7dda9 RDX: 00007f95b8a6efb0 RSI: 0000000000000058 RDI: 00007f95b8a6efb0 RBP: 00007f95b7cca47a R08: 0000000000000000 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f95b7dabf80 R15: 00007ffd7369f6b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__phys_addr+0x162/0x170 arch/x86/mm/physaddr.c:28 Code: e8 83 56 53 00 48 c7 c7 00 73 1a 8e 4c 89 f6 4c 89 fa e8 a1 d9 a5 03 e9 45 ff ff ff e8 67 56 53 00 90 0f 0b e8 5f 56 53 00 90 <0f> 0b e8 57 56 53 00 90 0f 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90012487668 EFLAGS: 00010287 RAX: ffffffff81421ed1 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90004ad9000 RSI: 00000000000221bc RDI: 00000000000221bd RBP: ffffffff81eed253 R08: ffffffff81421e1c R09: 1ffffffff25e74b8 R10: dffffc0000000000 R11: fffffbfff25e74b9 R12: 0000000000000050 R13: ffff8880162a6280 R14: 00004080124876f0 R15: 000000000000002e FS: 00007f95b8a6f6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb56996000 CR3: 00000000566ce000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400