------------[ cut here ]------------ WARNING: CPU: 0 PID: 5232 at mm/util.c:597 kvmalloc_node+0x111/0x120 mm/util.c:597 Modules linked in: CPU: 0 PID: 5232 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvmalloc_node+0x111/0x120 mm/util.c:597 Code: 01 00 00 00 4c 89 e7 e8 5d fc 0c 00 49 89 c5 e9 69 ff ff ff e8 00 c7 d1 ff 41 89 ed 41 81 cd 00 20 01 00 eb 95 e8 ef c6 d1 ff <0f> 0b e9 4c ff ff ff 0f 1f 84 00 00 00 00 00 55 48 89 fd 53 e8 d6 RSP: 0018:ffffc90003007848 EFLAGS: 00010216 RAX: 00000000000309f7 RBX: 0000000000000000 RCX: ffffc900030a1000 RDX: 0000000000040000 RSI: ffffffff81a4bf01 RDI: 0000000000000003 RBP: 0000000000400dc0 R08: 000000007fffffff R09: ffff8880b9c32ad3 R10: ffffffff81a4bebe R11: 0000000000086089 R12: 00000000a0000000 R13: 0000000000000000 R14: 00000000ffffffff R15: ffffc90003007ab0 FS: 00007fa909894700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faaf9fbd3a4 CR3: 00000000764aa000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvmalloc include/linux/mm.h:800 [inline] kvmalloc_array include/linux/mm.h:818 [inline] kvcalloc include/linux/mm.h:823 [inline] kvm_page_track_create_memslot+0x50/0x110 arch/x86/kvm/mmu/page_track.c:39 kvm_alloc_memslot_metadata arch/x86/kvm/x86.c:11331 [inline] kvm_arch_prepare_memory_region+0x350/0x610 arch/x86/kvm/x86.c:11368 kvm_set_memslot+0x172/0x1a40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1592 __kvm_set_memory_region+0xc1c/0x13d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1755 kvm_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1776 [inline] kvm_vm_ioctl_set_memory_region arch/x86/kvm/../../../virt/kvm/kvm_main.c:1788 [inline] kvm_vm_ioctl+0x520/0x23d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4363 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa90c31eae9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa909894188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa90c431f60 RCX: 00007fa90c31eae9 RDX: 0000000020000440 RSI: 000000004020ae46 RDI: 0000000000000004 RBP: 00007fa90c378f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8069cfef R14: 00007fa909894300 R15: 0000000000022000