------------[ cut here ]------------
WARNING: CPU: 1 PID: 15118 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: 1 PID: 15118 Comm: syz-executor.3 Not tainted 4.14.139+ #35
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xca/0x134 lib/dump_stack.c:53
input: syz0 as /devices/virtual/input/input712
 panic+0x1ea/0x3d3 kernel/panic.c:182
input: failed to attach handler leds to device input712, error: -6
 __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:ffff888190e4f8d0 EFLAGS: 00010216
RAX: 0000000000040000 RBX: ffff8881d4ffcd20 RCX: 000000000000044f
RDX: ffffffff816dd62e RSI: ffffc900025b1000 RDI: ffff8881d4ffcd20
RBP: ffff88819cfc1a80 R08: 0000000000000001 R09: ffffed103a9ff9a5
R10: ffffed103a9ff9a4 R11: ffff8881d4ffcd23 R12: ffff8881a60a4460
R13: 00000000000041ed R14: 0000000000000001 R15: ffff8881c8f5cf68
 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:00007ff32d2fbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829
RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff32d2fc6d4
R13: 00000000004c45ab R14: 00000000004d8898 R15: 00000000ffffffff
Kernel Offset: 0x31600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..