input: syz0 as /devices/virtual/input/input489 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 22064 at fs/kernfs/dir.c:494 kernfs_get.part.0+0x5e/0x70 fs/kernfs/dir.c:494 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 22064 Comm: syz-executor.2 Not tainted 4.14.139+ #34 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 panic+0x1ea/0x3d3 kernel/panic.c:182 __warn.cold+0x2f/0x3a kernel/panic.c:546 report_bug+0x20a/0x248 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x1bf/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:963 RIP: 0010:kernfs_get.part.0+0x5e/0x70 fs/kernfs/dir.c:494 RSP: 0018:ffff8881a8bbf8d0 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff8881d283e620 RCX: 00000000000010d3 RDX: ffffffff816dd62e RSI: ffffc9000415f000 RDI: ffff8881d283e620 RBP: ffff8881c388e940 R08: 0000000000000001 R09: ffffed103a507cc5 R10: ffffed103a507cc4 R11: ffff8881d283e623 R12: ffff8881c3363620 R13: 00000000000041ed R14: 0000000000000001 R15: ffff8881aabc13e8 kernfs_get fs/kernfs/dir.c:493 [inline] kernfs_new_node+0x9a/0xf0 fs/kernfs/dir.c:680 kernfs_create_dir_ns+0x3c/0x130 fs/kernfs/dir.c:999 sysfs_create_dir_ns+0xb7/0x1d0 fs/sysfs/dir.c:55 create_dir lib/kobject.c:71 [inline] kobject_add_internal+0x27f/0x830 lib/kobject.c:229 kobject_add_varg lib/kobject.c:364 [inline] kobject_add+0x135/0x1a0 lib/kobject.c:409 device_add+0x333/0x13a0 drivers/base/core.c:1809 input_register_device+0x605/0xb20 drivers/input/input.c:2144 uinput_create_device drivers/input/misc/uinput.c:324 [inline] uinput_ioctl_handler.isra.0+0xa2a/0x1850 drivers/input/misc/uinput.c:839 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459829 RSP: 002b:00007f5eab498c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459829 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5eab4996d4 R13: 00000000004c4582 R14: 00000000004d8868 R15: 00000000ffffffff Kernel Offset: 0x35a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Rebooting in 86400 seconds..