syzbot


memory leak in pcan_usb_pro_init

Status: upstream: reported C repro on 2020/12/08 22:33
Reported-by: syzbot+215ecdbae76bb8c36b7e@syzkaller.appspotmail.com
First crash: 578d, last: 503d
Patch testing requests:
Created Duration User Patch Repo Result
2021/04/15 09:12 16m phil@philpotter.co.uk upstream OK

Sample crash report:
BUG: memory leak
unreferenced object 0xffff888110634a80 (size 96):
  comm "kworker/0:2", pid 3782, jiffies 4294942167 (age 8.910s)
  hex dump (first 32 bytes):
    00 89 6d 12 81 88 ff ff 00 00 00 00 00 00 00 00  ..m.............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<0000000064600add>] kmalloc include/linux/slab.h:552 [inline]
    [<0000000064600add>] kzalloc include/linux/slab.h:682 [inline]
    [<0000000064600add>] pcan_usb_pro_init+0x120/0x280 drivers/net/can/usb/peak_usb/pcan_usb_pro.c:856
    [<000000006bb34fbd>] peak_usb_create_dev drivers/net/can/usb/peak_usb/pcan_usb_core.c:851 [inline]
    [<000000006bb34fbd>] peak_usb_probe+0x389/0x490 drivers/net/can/usb/peak_usb/pcan_usb_core.c:949
    [<00000000db682711>] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396
    [<00000000dbb1d6d9>] really_probe+0x159/0x4a0 drivers/base/dd.c:554
    [<00000000498dd82b>] driver_probe_device+0x84/0x100 drivers/base/dd.c:740
    [<0000000019679a82>] __device_attach_driver+0xee/0x110 drivers/base/dd.c:846
    [<0000000035a7bc4d>] bus_for_each_drv+0xb7/0x100 drivers/base/bus.c:431
    [<000000001865523e>] __device_attach+0x122/0x250 drivers/base/dd.c:914
    [<0000000037f3206b>] bus_probe_device+0xc6/0xe0 drivers/base/bus.c:491
    [<00000000a9897db8>] device_add+0x5be/0xc30 drivers/base/core.c:3109
    [<00000000a4810a73>] usb_set_configuration+0x9d9/0xb90 drivers/usb/core/message.c:2164
    [<00000000325e07ff>] usb_generic_driver_probe+0x8c/0xc0 drivers/usb/core/generic.c:238
    [<0000000047947980>] usb_probe_device+0x5c/0x140 drivers/usb/core/driver.c:293
    [<00000000dbb1d6d9>] really_probe+0x159/0x4a0 drivers/base/dd.c:554
    [<00000000498dd82b>] driver_probe_device+0x84/0x100 drivers/base/dd.c:740
    [<0000000019679a82>] __device_attach_driver+0xee/0x110 drivers/base/dd.c:846


Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2021/02/18 05:29 upstream f40ddce88593 14052202 .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/15 23:21 upstream f40ddce88593 98682e5e .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/15 08:07 upstream f40ddce88593 98682e5e .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/14 21:45 upstream 358feceebbf6 98682e5e .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/14 09:37 upstream ac30d8ce28d6 98682e5e .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/07 15:56 upstream 825b5991a46e 2ce644fc .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/06 18:14 upstream 1e0d27fce010 0655e081 .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/04 05:47 upstream 3afe9076a7c1 624dad51 .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/02/03 19:28 upstream 3aaf0a27ffc2 624dad51 .config log report syz C memory leak in pcan_usb_pro_init
ci-upstream-gce-leak 2021/01/03 04:37 upstream 3516bd729358 79264ae3 .config log report syz C
ci-upstream-gce-leak 2020/12/29 19:22 upstream dea8dcf2a9fa 80910769 .config log report syz C
ci-upstream-gce-leak 2020/12/16 10:49 upstream d635a69dd498 f213e07e .config log report syz C
ci-upstream-gce-leak 2020/12/15 19:58 upstream 148842c98a24 97183ed7 .config log report syz C
ci-upstream-gce-leak 2020/12/07 18:13 upstream 0477e9288185 1190297f .config log report syz C
ci-upstream-gce-leak 2020/12/04 22:27 upstream e87297fa080a 20366b87 .config log report syz C