------------[ cut here ]------------ WARNING: CPU: 0 PID: 3188 at mm/util.c:597 kvmalloc_node+0x111/0x120 mm/util.c:597 Modules linked in: CPU: 0 PID: 3188 Comm: syz-executor.4 Not tainted 5.15.0-rc6-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 6d 18 0d 00 49 89 c5 e9 69 ff ff ff e8 60 91 d0 ff 41 89 ed 41 81 cd 00 20 01 00 eb 95 e8 4f 91 d0 ff <0f> 0b e9 4c ff ff ff 0f 1f 84 00 00 00 00 00 55 48 89 fd 53 e8 36 RSP: 0018:ffffc90002c47848 EFLAGS: 00010216 RAX: 000000000002dede RBX: 0000000000000000 RCX: ffffc90011b8c000 RDX: 0000000000040000 RSI: ffffffff81a646d1 RDI: 0000000000000003 RBP: 0000000000400dc0 R08: 000000007fffffff R09: ffff8880b9c32a0b R10: ffffffff81a6468e R11: 000000000000003f R12: 00000000a0000000 R13: 0000000000000000 R14: 00000000ffffffff R15: ffffc90002c47ab0 FS: 00007f6ad0a3e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb6c479f718 CR3: 0000000068c24000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 000000000000000a DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: kvmalloc include/linux/mm.h:805 [inline] kvmalloc_array include/linux/mm.h:823 [inline] kvcalloc include/linux/mm.h:828 [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:11502 [inline] kvm_arch_prepare_memory_region+0x350/0x610 arch/x86/kvm/x86.c:11539 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:0x7f6ad34c8a39 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:00007f6ad0a3e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6ad35cbf60 RCX: 00007f6ad34c8a39 RDX: 0000000020000080 RSI: 000000004020ae46 RDI: 0000000000000004 RBP: 00007f6ad3522c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6ad3affb2f R14: 00007f6ad0a3e300 R15: 0000000000022000