syzbot


WARNING in input_alloc_absinfo

Status: fixed on 2018/08/28 17:48
Subsystems: input
[Documentation on labels]
Reported-by: syzbot+c382812c78d98ecd9fb8@syzkaller.appspotmail.com
Fix commit: 100294cee9a9 Input: do not use WARN() in input_alloc_absinfo()
First crash: 2417d, last: 2298d
Discussions (2)
Title Replies (including bot) Last reply
Re: WARNING in input_alloc_absinfo 4 (5) 2018/08/07 14:47
WARNING in input_alloc_absinfo 1 (2) 2018/06/19 18:51

Sample crash report:
RBP: 00000000006cb018 R08: 0000000000000001 R09: 00007ffe93080031
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
input_alloc_absinfo(): kcalloc() failed?
WARNING: CPU: 1 PID: 4498 at drivers/input/input.c:487 input_alloc_absinfo+0x183/0x190 drivers/input/input.c:487
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4498 Comm: syz-executor465 Not tainted 4.16.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x185/0x1d0 lib/dump_stack.c:53
 panic+0x39d/0x940 kernel/panic.c:183
 __warn+0x40f/0x580 kernel/panic.c:547
 report_bug+0x72a/0x880 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap+0x1aa/0x600 arch/x86/kernel/traps.c:297
 do_invalid_op+0x46/0x50 arch/x86/kernel/traps.c:316
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986
RIP: 0010:input_alloc_absinfo+0x183/0x190 drivers/input/input.c:487
RSP: 0018:ffff88019651faa8 EFLAGS: 00010282
RAX: 0000000000000028 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff88019651fae0 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8801a19ec140 R14: ffff88019796e198 R15: 0000000000000000
 uinput_abs_setup drivers/input/misc/uinput.c:507 [inline]
 uinput_ioctl_handler+0x38a2/0x39f0 drivers/input/misc/uinput.c:1035
 uinput_ioctl+0x9a/0xb0 drivers/input/misc/uinput.c:1047
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0xaf0/0x2440 fs/ioctl.c:686
 SYSC_ioctl+0x1d2/0x260 fs/ioctl.c:701
 SyS_ioctl+0x54/0x80 fs/ioctl.c:692
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x440429
RSP: 002b:00007ffe9308d2b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440429
RDX: 0000000000000000 RSI: 0000000040005504 RDI: 0000000000000003
RBP: 00000000006cb018 R08: 0000000000000001 R09: 00007ffe93080031
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (318):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/29 20:48 https://github.com/google/kmsan.git master d2d741e5d189 bb79c6ab .config console log report syz C ci-upstream-kmsan-gce
2018/08/18 05:05 upstream 1f7a4c73a739 db1858f6 .config console log report ci-upstream-kasan-gce-root
2018/08/17 12:02 upstream 5c60a7389d79 9ccc1d45 .config console log report ci-upstream-kasan-gce-root
2018/08/17 06:28 upstream 5c60a7389d79 9ccc1d45 .config console log report ci-upstream-kasan-gce
2018/08/16 16:28 upstream f91e654474d4 9ccc1d45 .config console log report ci-upstream-kasan-gce-root
2018/08/16 10:09 upstream dafa5f6577a9 9ccc1d45 .config console log report ci-upstream-kasan-gce
2018/08/16 04:21 upstream dafa5f6577a9 9ccc1d45 .config console log report ci-upstream-kasan-gce
2018/08/15 08:39 upstream d0055f351e64 0e6dcb88 .config console log report ci-upstream-kasan-gce-root
2018/08/14 12:11 upstream 10f3e23f07cb 7a88b141 .config console log report ci-upstream-kasan-gce
2018/08/14 00:53 upstream 7796916146b8 7a88b141 .config console log report ci-upstream-kasan-gce
2018/08/12 06:14 upstream ec0c96714e7d 7a88b141 .config console log report ci-upstream-kasan-gce-root
2018/08/11 21:39 upstream ec0c96714e7d 7a88b141 .config console log report ci-upstream-kasan-gce-root
2018/08/09 21:38 upstream 112cbae26d18 1fb62d58 .config console log report ci-upstream-kasan-gce-root
2018/08/09 01:54 upstream fedb8da96355 2eeda842 .config console log report ci-upstream-kasan-gce-root
2018/08/07 10:04 upstream 1236568ee3cb 1beb8136 .config console log report ci-upstream-kasan-gce
2018/08/06 19:12 upstream 1ffaddd029c8 1beb8136 .config console log report ci-upstream-kasan-gce
2018/08/05 07:53 upstream 60f5a2173632 3476a2df .config console log report ci-upstream-kasan-gce
2018/08/05 04:03 upstream 60f5a2173632 3476a2df .config console log report ci-upstream-kasan-gce-root
2018/08/04 16:50 upstream 0b5b1f9a78b5 3476a2df .config console log report ci-upstream-kasan-gce
2018/08/04 00:23 upstream 0b5b1f9a78b5 df7f6947 .config console log report ci-upstream-kasan-gce
2018/08/03 03:54 upstream e30cb13c5a09 5b7e23bb .config console log report ci-upstream-kasan-gce-root
2018/08/02 08:19 upstream 6b4703768268 0a7cf4ec .config console log report ci-upstream-kasan-gce-root
2018/07/31 22:09 upstream c1d61e7fe376 1477993e .config console log report ci-upstream-kasan-gce
2018/07/30 07:34 upstream 3cfb6772d4cf 1a381291 .config console log report ci-upstream-kasan-gce-root
2018/07/29 10:37 upstream a26fb01c2879 0824d7a1 .config console log report ci-upstream-kasan-gce
2018/07/27 21:38 upstream 864af0d40cdc ebf656d7 .config console log report ci-upstream-kasan-gce
2018/07/25 20:20 upstream 6e77b267723c 375a3e31 .config console log report ci-upstream-kasan-gce-root
2018/08/16 07:40 upstream dafa5f6577a9 9ccc1d45 .config console log report ci-upstream-kasan-gce-386
2018/08/13 18:25 upstream 94710cac0ef4 7a88b141 .config console log report ci-upstream-kasan-gce-386
2018/08/06 11:10 upstream 1ffaddd029c8 1beb8136 .config console log report ci-upstream-kasan-gce-386
2018/08/26 08:16 https://github.com/google/kmsan.git master 0cc51dc9a291 758cd203 .config console log report ci-upstream-kmsan-gce
2018/08/25 20:09 https://github.com/google/kmsan.git master 0cc51dc9a291 76e7c3df .config console log report ci-upstream-kmsan-gce
2018/08/22 02:13 https://github.com/google/kmsan.git master 0cc51dc9a291 95b5c82b .config console log report ci-upstream-kmsan-gce
2018/08/15 13:36 https://github.com/google/kmsan.git master 0cc51dc9a291 9ccc1d45 .config console log report ci-upstream-kmsan-gce
2018/08/15 12:36 https://github.com/google/kmsan.git master 0cc51dc9a291 9ccc1d45 .config console log report ci-upstream-kmsan-gce
2018/08/10 01:10 https://github.com/google/kmsan.git master 0cc51dc9a291 1fb62d58 .config console log report ci-upstream-kmsan-gce
2018/08/09 08:36 https://github.com/google/kmsan.git master 0cc51dc9a291 2eeda842 .config console log report ci-upstream-kmsan-gce
2018/08/08 17:27 https://github.com/google/kmsan.git master 0cc51dc9a291 ddeb9f8d .config console log report ci-upstream-kmsan-gce
2018/08/08 14:40 https://github.com/google/kmsan.git master b40e5df03d2d ddeb9f8d .config console log report ci-upstream-kmsan-gce
2018/08/06 05:37 linux-next 116b181bb646 1beb8136 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/06 01:06 linux-next 116b181bb646 1beb8136 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/05 12:08 linux-next 116b181bb646 1beb8136 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/04 02:06 linux-next 116b181bb646 df7f6947 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/03 12:11 linux-next 116b181bb646 cc4f6d0a .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/03 05:16 linux-next d237c54d5b28 5b7e23bb .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/01 00:02 linux-next d1e0b8e0cb7a 1477993e .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/26 03:46 linux-next d1e0b8e0cb7a 375a3e31 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.