input: syz1 as /devices/virtual/input/input2531 input: syz1 as /devices/virtual/input/input2532 input: syz1 as /devices/virtual/input/input2536 input: syz1 as /devices/virtual/input/input2538 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9379 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 ... input: syz1 as /devices/virtual/input/input2542 CPU: 0 PID: 9379 Comm: syz-executor.5 Not tainted 4.14.137+ #29 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:ffff8881d1a178d0 EFLAGS: 00010297 RAX: ffff8881c5b12f00 RBX: ffff8881c8c34a80 RCX: ffffffffa8cdc126 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8881c8c34a80 RBP: ffff8881ca9fc8c0 R08: 0000000000000001 R09: ffffed1039186951 R10: ffffed1039186950 R11: ffff8881c8c34a83 R12: ffff8881c7ed6d20 R13: 00000000000041ed R14: 0000000000000001 R15: ffff8881c2db7168 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:00007fa48f5f7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459829 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa48f5f86d4 R13: 00000000004c4582 R14: 00000000004d87a8 R15: 00000000ffffffff Kernel Offset: 0x27600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Rebooting in 86400 seconds..