syzbot


memory leak in zr364xx_probe

Status: fixed on 2021/04/09 19:46
Subsystems: usb media
[Documentation on labels]
Reported-by: syzbot+b4d54814b339b5c6bbd4@syzkaller.appspotmail.com
Fix commit: ea354b6ddd6f media: zr364xx: fix memory leaks in probe()
First crash: 1219d, last: 1163d
Discussions (7)
Title Replies (including bot) Last reply
[PATCH 5.10 00/98] 5.10.61-rc1 review 114 (114) 2021/08/26 12:54
[PATCH 5.4 00/61] 5.4.143-rc1 review 67 (67) 2021/08/25 22:36
[PATCH 5.11 000/104] 5.11.4-rc1 review 119 (119) 2021/03/07 11:37
[PATCH AUTOSEL 5.11 01/67] ath10k: prevent deinitializing NAPI twice 80 (80) 2021/03/06 17:52
[PATCH] media: zr364xx: fix memory leaks in probe() 6 (6) 2021/01/21 06:44
[RFT][PATCH v1] media: zr364xx: Fix memory leak in ->probe() 5 (6) 2021/01/05 16:04
memory leak in zr364xx_probe 3 (5) 2021/01/05 15:02
Last patch testing requests (2)
Created Duration User Patch Repo Result
2020/12/31 20:47 7m ezequiel@vanguardiasur.com.ar https://gitlab.collabora.com/linux/0day.git a1714d224e516b579d09cc1b4c3d85042e42f14c report log
2020/12/31 01:40 7m ezequiel@vanguardiasur.com.ar https://gitlab.collabora.com/linux/0day.git a1714d224e516b579d09cc1b4c3d85042e42f14c report log

Sample crash report:
BUG: memory leak
unreferenced object 0xffffc90000e41000 (size 200704):
  comm "kworker/1:0", pid 19, jiffies 4294942778 (age 8.110s)
  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:
    [<00000000b4b9663d>] __vmalloc_node_range+0x3a5/0x410 mm/vmalloc.c:2587
    [<000000005c06e2e3>] __vmalloc_node mm/vmalloc.c:2619 [inline]
    [<000000005c06e2e3>] vmalloc+0x49/0x50 mm/vmalloc.c:2652
    [<000000003d1726a6>] zr364xx_board_init drivers/media/usb/zr364xx/zr364xx.c:1348 [inline]
    [<000000003d1726a6>] zr364xx_probe+0x60b/0x833 drivers/media/usb/zr364xx/zr364xx.c:1509
    [<000000001294e18c>] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396
    [<000000007bb53747>] really_probe+0x159/0x4a0 drivers/base/dd.c:554
    [<00000000157d65a3>] driver_probe_device+0x84/0x100 drivers/base/dd.c:740
    [<0000000033b53add>] __device_attach_driver+0xee/0x110 drivers/base/dd.c:846
    [<000000005a5f78e9>] bus_for_each_drv+0xb7/0x100 drivers/base/bus.c:431
    [<00000000077fbc98>] __device_attach+0x122/0x250 drivers/base/dd.c:914
    [<000000002d5d516c>] bus_probe_device+0xc6/0xe0 drivers/base/bus.c:491
    [<000000001c2093c9>] device_add+0x5be/0xc30 drivers/base/core.c:3109
    [<00000000336d7925>] usb_set_configuration+0x9d9/0xb90 drivers/usb/core/message.c:2164
    [<00000000981a2b76>] usb_generic_driver_probe+0x8c/0xc0 drivers/usb/core/generic.c:238
    [<00000000ba2c73ad>] usb_probe_device+0x5c/0x140 drivers/usb/core/driver.c:293
    [<000000007bb53747>] really_probe+0x159/0x4a0 drivers/base/dd.c:554
    [<00000000157d65a3>] driver_probe_device+0x84/0x100 drivers/base/dd.c:740


Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/14 07:16 upstream ac30d8ce28d6 98682e5e .config console log report syz C ci-upstream-gce-leak memory leak in zr364xx_probe
2021/02/07 17:35 upstream 825b5991a46e 2ce644fc .config console log report syz C ci-upstream-gce-leak memory leak in zr364xx_probe
2021/02/03 17:04 upstream 3aaf0a27ffc2 624dad51 .config console log report syz C ci-upstream-gce-leak memory leak in zr364xx_probe
2021/01/27 20:58 upstream 2ab38c17aac1 a0ebf917 .config console log report syz C ci-upstream-gce-leak memory leak in zr364xx_probe
2021/01/08 14:39 upstream f5e6c330254a c104d4a3 .config console log report syz C ci-upstream-gce-leak
2020/12/19 15:22 upstream 3644e2d2dda7 04201c06 .config console log report syz C ci-upstream-gce-leak
* Struck through repros no longer work on HEAD.