general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 15515 Comm: syz-executor.4 Not tainted 4.14.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808cd04400 task.stack: ffff88804d318000 RIP: 0010:loop_validate_file+0x206/0x2d0 drivers/block/loop.c:633 RSP: 0018:ffff88804d31fbc0 EFLAGS: 00010202 RAX: 0000000000000037 RBX: ffff8880a6d69898 RCX: ffffc9000b246000 RDX: 0000000000000091 RSI: ffffffff83aee495 RDI: 00000000000001b8 RBP: ffff88804d31fbe0 R08: ffff88808cd04400 R09: 0000000000000001 R10: 0000000000000000 R11: ffff88808cd04400 R12: 0000000000000000 R13: ffff8880a6d70180 R14: dffffc0000000000 R15: ffff8882193a1390 kobject: 'loop3' (ffff8880a40ed560): kobject_uevent_env FS: 00007fd9bbb9d700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 0000000067bbc000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: loop_set_fd drivers/block/loop.c:897 [inline] lo_ioctl+0xaa6/0x1ce0 drivers/block/loop.c:1407 kobject: 'loop3' (ffff8880a40ed560): fill_kobj_path: path = '/devices/virtual/block/loop3' __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x96b/0x1860 block/ioctl.c:594 kobject: 'kvm' (ffff8880a6bfe550): kobject_uevent_env kobject: 'kvm' (ffff8880a6bfe550): fill_kobj_path: path = '/devices/virtual/misc/kvm' block_ioctl+0xde/0x120 fs/block_dev.c:1881 kobject: 'kvm' (ffff8880a6bfe550): kobject_uevent_env vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684 kobject: 'kvm' (ffff8880a6bfe550): fill_kobj_path: path = '/devices/virtual/misc/kvm' SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 kobject: 'kvm' (ffff8880a6bfe550): kobject_uevent_env entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a849 kobject: 'kvm' (ffff8880a6bfe550): fill_kobj_path: path = '/devices/virtual/misc/kvm' RSP: 002b:00007fd9bbb9cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a849 RDX: 000000000000000b RSI: 0000000000004c00 RDI: 000000000000000a RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd9bbb9d6d4 R13: 00000000004c43aa R14: 00000000004d9ae0 R15: 00000000ffffffff kobject: 'kvm' (ffff8880a6bfe550): kobject_uevent_env Code: 00 00 48 89 kobject: 'kvm' (ffff8880a6bfe550): fill_kobj_path: path = '/devices/virtual/misc/kvm' f8 48 c1 e8 03 42 80 3c 30 00 0f 85 d4 00 00 kobject: 'kvm' (ffff8880a6bfe550): kobject_uevent_env 00 4d 8b a4 24 f0 00 00 00 kobject: 'kvm' (ffff8880a6bfe550): fill_kobj_path: path = '/devices/virtual/misc/kvm' 49 8d bc 24 b8 01 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 a8 00 00 00 4d 8b kvm [15524]: vcpu0, guest rIP: 0x8a disabled perfctr wrmsr: 0xc1 data 0x4d00000000f a4 24 b8 01 00 00 4c 89 RIP: loop_validate_file+0x206/0x2d0 drivers/block/loop.c:633 RSP: ffff88804d31fbc0 kobject: 'loop1' (ffff8880a4038be0): kobject_uevent_env kvm [15524]: vcpu0, guest rIP: 0x8a disabled perfctr wrmsr: 0xc2 data 0x4d00000000f kobject: 'loop1' (ffff8880a4038be0): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'loop2' (ffff8880a40954e0): kobject_uevent_env kvm [15524]: vcpu0, guest rIP: 0x8a disabled perfctr wrmsr: 0xc2 data 0x4d00000000f kobject: 'loop2' (ffff8880a40954e0): fill_kobj_path: path = '/devices/virtual/block/loop2' ---[ end trace 8a3727fd76f792c7 ]--- kobject: 'loop2' (ffff8880a40954e0): kobject_uevent_env kobject: 'kvm' (ffff8880a6bfe550): kobject_uevent_env kobject: 'loop2' (ffff8880a40954e0): fill_kobj_path: path = '/devices/virtual/block/loop2' kobject: 'loop2' (ffff8880a40954e0): kobject_uevent_env