input: syz1 as /devices/virtual/input/input4153 input: syz1 as /devices/virtual/input/input4154 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access kobject: 'event4' (00000000ef7e29a7): kobject_cleanup, parent (null) general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 17264 Comm: syz-executor2 Not tainted 4.20.0-rc1+ #102 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kobject: 'event4' (00000000ef7e29a7): calling ktype release RIP: 0010:__lock_acquire+0xa00/0x4c20 kernel/locking/lockdep.c:3218 Code: 28 00 00 00 0f 85 3e 2b 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 aa 2c 00 00 49 81 7d 00 60 a2 52 8a 0f 84 3d f7 kobject: 'event4': free name RSP: 0018:ffff88017d42eff0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000039 RSI: 0000000000000000 RDI: 00000000000001c8 RBP: ffff88017d42f378 R08: 0000000000000001 R09: 0000000000000000 kobject: 'input4153' (00000000f4cc3bd8): kobject_uevent_env R10: 0000000000000001 R11: ffff8801c4fa04c0 R12: ffff8801c4fa04c0 R13: 00000000000001c8 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f9f93669700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'input4153' (00000000f4cc3bd8): fill_kobj_path: path = '/devices/virtual/input/input4153' CR2: 0000001b33a25000 CR3: 00000001cecda000 CR4: 00000000001426f0 Call Trace: kobject: 'input4153' (00000000f4cc3bd8): kobject_cleanup, parent (null) kobject: 'input4153' (00000000f4cc3bd8): calling ktype release kobject: 'input4153': free name kobject: 'loop4' (000000001700e370): kobject_uevent_env kobject: 'loop4' (000000001700e370): fill_kobj_path: path = '/devices/virtual/block/loop4' kobject: 'event4' (000000003721359d): kobject_add_internal: parent: 'input4154', set: 'devices' kobject: 'event4' (000000003721359d): kobject_uevent_env kobject: 'event4' (000000003721359d): fill_kobj_path: path = '/devices/virtual/input/input4154/event4' lock_acquire+0x1ed/0x520 kernel/locking/lockdep.c:3844 kobject: 'input4155' (00000000587ad1aa): kobject_add_internal: parent: 'input', set: 'devices' kobject: 'input4155' (00000000587ad1aa): kobject_uevent_env __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2d/0x40 kernel/locking/spinlock.c:144 kobject: 'input4155' (00000000587ad1aa): fill_kobj_path: path = '/devices/virtual/input/input4155' spin_lock include/linux/spinlock.h:329 [inline] kvm_ioapic_scan_entry+0x7f/0x3c0 arch/x86/kvm/ioapic.c:246 vcpu_scan_ioapic arch/x86/kvm/x86.c:7458 [inline] vcpu_enter_guest arch/x86/kvm/x86.c:7600 [inline] vcpu_run arch/x86/kvm/x86.c:7872 [inline] kvm_arch_vcpu_ioctl_run+0x3292/0x72a0 arch/x86/kvm/x86.c:8072 kobject: 'input4155' (00000000587ad1aa): fill_kobj_path: path = '/devices/virtual/input/input4155' input: syz1 as /devices/virtual/input/input4155 kobject: 'event5' (00000000a805c95c): kobject_add_internal: parent: 'input4155', set: 'devices' kobject: 'event5' (00000000a805c95c): kobject_uevent_env kvm_vcpu_ioctl+0x5c8/0x1150 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2596 kobject: 'event5' (00000000a805c95c): fill_kobj_path: path = '/devices/virtual/input/input4155/event5' kobject: 'kvm' (0000000021ad4fc7): kobject_uevent_env kobject: 'kvm' (0000000021ad4fc7): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'input4156' (00000000bee98167): kobject_add_internal: parent: 'input', set: 'devices' vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696 kobject: 'event5' (00000000a805c95c): kobject_uevent_env kobject: 'event5' (00000000a805c95c): fill_kobj_path: path = '/devices/virtual/input/input4155/event5' kobject: 'input4156' (00000000bee98167): kobject_uevent_env kobject: 'input4156' (00000000bee98167): fill_kobj_path: path = '/devices/virtual/input/input4156' kobject: 'kvm' (0000000021ad4fc7): kobject_uevent_env ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 kobject: 'kvm' (0000000021ad4fc7): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'kvm' (0000000021ad4fc7): kobject_uevent_env kobject: 'kvm' (0000000021ad4fc7): fill_kobj_path: path = '/devices/virtual/misc/kvm' entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 kobject: '(null)' (0000000087cb53ea): kobject_cleanup, parent 00000000a805c95c RSP: 002b:00007f9f93668c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 kobject: '(null)' (0000000087cb53ea): calling ktype release R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9f936696d4 R13: 00000000004c028e R14: 00000000004d05f8 R15: 00000000ffffffff Modules linked in: ---[ end trace 9899e33271acda19 ]--- kobject: 'input4156' (00000000bee98167): fill_kobj_path: path = '/devices/virtual/input/input4156' RIP: 0010:__lock_acquire+0xa00/0x4c20 kernel/locking/lockdep.c:3218 Code: 28 00 00 00 0f 85 3e 2b 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 aa 2c 00 00 49 81 7d 00 60 a2 52 8a 0f 84 3d f7 RSP: 0018:ffff88017d42eff0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000039 RSI: 0000000000000000 RDI: 00000000000001c8 RBP: ffff88017d42f378 R08: 0000000000000001 R09: 0000000000000000 input: syz1 as /devices/virtual/input/input4156 R10: 0000000000000001 R11: ffff8801c4fa04c0 R12: ffff8801c4fa04c0 R13: 00000000000001c8 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f9f93669700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a25000 CR3: 00000001cecda000 CR4: 00000000001426f0 kobject: 'kvm' (0000000021ad4fc7): kobject_uevent_env