input: syz1 as /devices/virtual/input/input4890 WARNING: CPU: 1 PID: 28950 at block/genhd.c:717 __device_add_disk+0x10eb/0x13c0 block/genhd.c:717 Kernel panic - not syncing: panic_on_warn set ... kobject: 'event4' (0000000073377363): kobject_uevent_env CPU: 1 PID: 28950 Comm: syz-executor4 Not tainted 5.0.0-rc2+ #27 kobject: 'event4' (0000000073377363): fill_kobj_path: path = '/devices/virtual/input/input4890/event4' Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1db/0x2d0 lib/dump_stack.c:113 panic+0x2cb/0x65c kernel/panic.c:214 kobject: '(null)' (00000000d8e80db1): kobject_cleanup, parent 0000000073377363 __warn.cold+0x20/0x48 kernel/panic.c:571 kobject: '(null)' (00000000d8e80db1): calling ktype release report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973 RIP: 0010:__device_add_disk+0x10eb/0x13c0 block/genhd.c:717 Code: 4c 89 e7 e8 97 d1 45 fe e9 3a f0 ff ff e8 ed e5 01 fe 0f 0b e9 22 fb ff ff e8 e1 e5 01 fe 0f 0b e9 d3 f6 ff ff e8 d5 e5 01 fe <0f> 0b e9 86 fe ff ff e8 59 40 cb fd 48 8b bd c8 fe ff ff e8 3d d1 RSP: 0018:ffff888084a0f940 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888084a0fa98 RCX: ffffc9000e04c000 RDX: 0000000000040000 RSI: ffffffff8380118b RDI: 0000000000000005 RBP: ffff888084a0fac0 R08: ffff888085ea80c0 R09: ffffed1015ce5b90 R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: ffff88805869c540 R13: 00000000fffffff4 R14: ffff88805869c5d0 R15: 0000000000000000 device_add_disk+0x2b/0x40 block/genhd.c:739 add_disk include/linux/genhd.h:422 [inline] loop_add+0x71d/0xa30 drivers/block/loop.c:1999 loop_control_ioctl+0x286/0x470 drivers/block/loop.c:2122 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696 ksys_ioctl+0xab/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+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb4c4ffac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb4c4ffac90 RCX: 0000000000457ec9 RDX: 0000000000000000 RSI: 0000000000004c82 RDI: 0000000000000003 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb4c4ffb6d4 R13: 00000000004c11c1 R14: 00000000004d2e88 R15: 0000000000000004 Kernel Offset: disabled Rebooting in 86400 seconds..