syzbot


memory leak in wacom_probe
Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+5b49c9695968d7250a26@syzkaller.appspotmail.com
Fix commit: 37309f47e2f5 HID: wacom: Fix memory leakage caused by kfifo_alloc
First crash: 560d, last: 505d
Patch testing requests:
Created Duration User Patch Repo Result
2020/12/09 14:48 14m yepeilin.cs@gmail.com patch upstream report log
2020/11/21 09:23 14m tranmanphong@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git eccc8767 report log

Sample crash report:
BUG: memory leak
unreferenced object 0xffff88810d601a00 (size 512):
  comm "kworker/1:2", pid 3257, jiffies 4294943137 (age 14.240s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<00000000258f47d5>] kmalloc_array include/linux/slab.h:592 [inline]
    [<00000000258f47d5>] __kfifo_alloc+0xad/0x100 lib/kfifo.c:43
    [<00000000c5801df1>] wacom_probe+0x1a1/0x3b0 drivers/hid/wacom_sys.c:2727
    [<0000000084fe6ac6>] hid_device_probe+0x16b/0x210 drivers/hid/hid-core.c:2281
    [<0000000023929ba4>] really_probe+0x159/0x480 drivers/base/dd.c:561
    [<0000000044a3ecc3>] driver_probe_device+0x84/0x100 drivers/base/dd.c:745
    [<00000000bd19bcc3>] __device_attach_driver+0xee/0x110 drivers/base/dd.c:851
    [<000000006e1d6f6b>] bus_for_each_drv+0xb7/0x100 drivers/base/bus.c:431
    [<000000005145df6f>] __device_attach+0x122/0x250 drivers/base/dd.c:919
    [<000000002794ece8>] bus_probe_device+0xc6/0xe0 drivers/base/bus.c:491
    [<000000000adddf5c>] device_add+0x5be/0xc30 drivers/base/core.c:3091
    [<000000008487b4a9>] hid_add_device+0x151/0x390 drivers/hid/hid-core.c:2437
    [<00000000c16dccd8>] usbhid_probe+0x4d1/0x620 drivers/hid/usbhid/hid-core.c:1409
    [<000000004e213fe1>] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396
    [<0000000023929ba4>] really_probe+0x159/0x480 drivers/base/dd.c:561
    [<0000000044a3ecc3>] driver_probe_device+0x84/0x100 drivers/base/dd.c:745
    [<00000000bd19bcc3>] __device_attach_driver+0xee/0x110 drivers/base/dd.c:851


Crashes (26):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2021/01/05 23:12 upstream 36bbbd0e234d a0234d98 .config log report syz C
ci-upstream-gce-leak 2021/01/03 23:34 upstream 3516bd729358 79264ae3 .config log report syz C
ci-upstream-gce-leak 2021/01/03 22:57 upstream 3516bd729358 79264ae3 .config log report syz C
ci-upstream-gce-leak 2020/12/29 10:52 upstream dea8dcf2a9fa 8259d56c .config log report syz C
ci-upstream-gce-leak 2020/12/20 21:31 upstream 467f8165a2b0 04201c06 .config log report syz C
ci-upstream-gce-leak 2020/12/13 06:52 upstream 7b1b868e1d91 bca53db9 .config log report syz C
ci-upstream-gce-leak 2020/12/12 16:31 upstream 7f376f1917d7 bca53db9 .config log report syz C
ci-upstream-gce-leak 2020/12/12 09:22 upstream 7f376f1917d7 bca53db9 .config log report syz C
ci-upstream-gce-leak 2020/12/12 04:28 upstream 33dc9614dc20 ba24ffcd .config log report syz C
ci-upstream-gce-leak 2020/12/11 11:30 upstream 33dc9614dc20 f900b48c .config log report syz C
ci-upstream-gce-leak 2020/12/10 20:13 upstream a2f5ea9e314b f900b48c .config log report syz C
ci-upstream-gce-leak 2020/12/10 19:45 upstream a2f5ea9e314b f900b48c .config log report syz C
ci-upstream-gce-leak 2020/12/09 23:59 upstream a68a0262abda c090b4da .config log report syz C
ci-upstream-gce-leak 2020/12/09 08:42 upstream 7d8761ba27fc 40cc414d .config log report syz C
ci-upstream-gce-leak 2020/12/07 17:16 upstream 0477e9288185 1190297f .config log report syz C
ci-upstream-gce-leak 2020/12/07 07:39 upstream 7059c2c00a21 c521566d .config log report syz C
ci-upstream-gce-leak 2020/12/05 05:34 upstream e87297fa080a 20366b87 .config log report syz C
ci-upstream-gce-leak 2020/12/02 07:30 upstream 509a15421674 c42a35e9 .config log report syz C
ci-upstream-gce-leak 2020/11/30 00:48 upstream aae5ab854e38 a0092f9d .config log report syz C
ci-upstream-gce-leak 2020/11/27 08:48 upstream 85a2c56cb445 5018c946 .config log report syz C
ci-upstream-gce-leak 2020/11/26 22:49 upstream 4df910620beb 1d2b823e .config log report syz C
ci-upstream-gce-leak 2020/11/20 13:13 upstream 4d02da974ea8 0767f13f .config log report syz C
ci-upstream-gce-leak 2020/11/20 05:28 upstream 3494d58865ad 0767f13f .config log report syz C
ci-upstream-gce-leak 2020/11/16 09:31 upstream 0062442ecfef 1bf9a662 .config log report syz C
ci-upstream-gce-leak 2020/11/13 05:41 upstream af5043c89a8e 16fca0c8 .config log report syz C
ci-upstream-gce-leak 2020/11/11 22:28 upstream eccc87672492 cca87986 .config log report syz C