RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00000000004d77c0 R14: 00000000004ca808 R15: 0000000000000004
------------[ cut here ]------------
input_alloc_absinfo(): kcalloc() failed?
WARNING: CPU: 1 PID: 24682 at drivers/input/input.c:487 input_alloc_absinfo+0xc1/0xf0 drivers/input/input.c:487
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 24682 Comm: syz-executor5 Not tainted 4.18.0+ #195
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+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:993
RIP: 0010:input_alloc_absinfo+0xc1/0xf0 drivers/input/input.c:487
Code: 80 3c 11 00 75 38 48 89 83 60 01 00 00 48 85 c0 75 96 e8 c2 86 10 fd 48 c7 c6 c0 c2 5c 87 48 c7 c7 c0 bc 5c 87 e8 5f 17 db fc <0f> 0b e9 77 ff ff ff 4c 89 e7 e8 50 7d 4f fd e9 60 ff ff ff 4c 89
RSP: 0018:ffff880192ae7a68 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88019b1fb540 RCX: ffffc90005427000
RDX: 0000000000040000 RSI: ffffffff8163ac51 RDI: ffff880192ae7758
RBP: ffff880192ae7a80 R08: ffff8801972ae2c0 R09: 0000000000000006
R10: ffff8801972ae2c0 R11: 0000000000000000 R12: ffff88019b1fb6a0
R13: ffff88019b1fb540 R14: 0000000000000000 R15: 0000000000000000
 input_abs_set_max include/linux/input.h:464 [inline]
 uinput_setup_device_legacy drivers/input/misc/uinput.c:562 [inline]
 uinput_write+0x549/0x1120 drivers/input/misc/uinput.c:621
 __vfs_write+0x117/0x9d0 fs/read_write.c:485
 vfs_write+0x1f8/0x560 fs/read_write.c:549
 ksys_write+0x101/0x260 fs/read_write.c:598
 __do_sys_write fs/read_write.c:610 [inline]
 __se_sys_write fs/read_write.c:607 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:607
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457089
Code: fd b4 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 b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f61d6b8ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f61d6b8f6d4 RCX: 0000000000457089
RDX: 000000000000045c RSI: 0000000020000880 RDI: 0000000000000003
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: 00000000004d77c0 R14: 00000000004ca808 R15: 0000000000000004
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..