From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2D8CC433B4 for ; Wed, 31 Mar 2021 19:18:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B51261056 for ; Wed, 31 Mar 2021 19:18:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235497AbhCaTSZ (ORCPT ); Wed, 31 Mar 2021 15:18:25 -0400 Received: from mail-il1-f198.google.com ([209.85.166.198]:54227 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235429AbhCaTSP (ORCPT ); Wed, 31 Mar 2021 15:18:15 -0400 Received: by mail-il1-f198.google.com with SMTP id k12so2252485ilo.20 for ; Wed, 31 Mar 2021 12:18:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=zI5rz79lvwSeB44SWVVZPpyrakLxjesZfijHo0YURIM=; b=T9WYfRQkek5Ay4CwPaWot/36Pt8UfCFh0sKGCai/iFieLTpfEWGrjLGzITG3qnpZSe f0RHpzHvnjQMvWuwFt4zFuZ7Th5Fte0eupcEYFjGYzWL6PCSEGXlsvRXeLe8rousTy+b sRt+Osx46EoEBaznDpqWq0Y3lbomPffqi3yAqj+DloRrVlMGGRdpoyMDJfDIvK7Tyaw6 hmO7C7RZl0RSmpk4+45vRE1FzwJZiug8/XWoIlPufjiKiOCl3BeclNzOSt4k45B1oqOf c32l/v05dGEhso8blNWxh+/GcgSGrwhd5Sl/h/CMRlz/Vc/NhD5kizAyRiFxJR3NkIbA lyUw== X-Gm-Message-State: AOAM533c5eg4jxqT32PFaYoODN2lsvCUx06IL5N2KLar8xgC1wLrOiLH ONNV4Q2MypEB5g36hJjDbWQIVREXMLInqByucZivEANyoRsA X-Google-Smtp-Source: ABdhPJzEAeCWDEVGLDiG0xJyfXDqxE1ox/wzziCBmS4IFhCcdS+LnHaSpE5wOfDF/TG3zQMabHvf39+0yr2wo7O1B070EDESvDUX MIME-Version: 1.0 X-Received: by 2002:a05:6e02:eaf:: with SMTP id u15mr3502042ilj.45.1617218295308; Wed, 31 Mar 2021 12:18:15 -0700 (PDT) Date: Wed, 31 Mar 2021 12:18:15 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000004274005bed9fa32@google.com> Subject: [syzbot] memory leak in hdcs_probe_1020 From: syzbot To: hverkuil@xs4all.nl, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 0f4498ce Merge tag 'for-5.12/dm-fixes-2' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17e1514ad00000 kernel config: https://syzkaller.appspot.com/x/.config?x=49f2683f4e7a4347 dashboard link: https://syzkaller.appspot.com/bug?extid=990626a4ef6f043ed4cd syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16fb3d9ed00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=117539aad00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+990626a4ef6f043ed4cd@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff888110dd9f00 (size 64): comm "kworker/0:0", pid 5, jiffies 4294944081 (age 15.000s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 ................ 04 00 00 00 60 01 00 00 30 01 00 00 04 00 00 00 ....`...0....... backtrace: [] kmalloc include/linux/slab.h:554 [inline] [] hdcs_probe_1020 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c:428 [inline] [] hdcs_probe_1020.cold+0x39/0x96 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c:413 [] stv06xx_config+0x107/0x190 drivers/media/usb/gspca/stv06xx/stv06xx.c:575 [] gspca_dev_probe2+0x359/0x6c5 drivers/media/usb/gspca/gspca.c:1529 [] gspca_dev_probe.cold+0x42/0x4a drivers/media/usb/gspca/gspca.c:1606 [] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396 [] really_probe+0x159/0x4a0 drivers/base/dd.c:554 [] driver_probe_device+0x84/0x100 drivers/base/dd.c:740 [] __device_attach_driver+0xee/0x110 drivers/base/dd.c:846 [] bus_for_each_drv+0xb7/0x100 drivers/base/bus.c:431 [] __device_attach+0x122/0x250 drivers/base/dd.c:914 [] bus_probe_device+0xc6/0xe0 drivers/base/bus.c:491 [] device_add+0x5d5/0xc40 drivers/base/core.c:3242 [] usb_set_configuration+0x9d9/0xb90 drivers/usb/core/message.c:2164 [] usb_generic_driver_probe+0x8c/0xc0 drivers/usb/core/generic.c:238 [] usb_probe_device+0x5c/0x140 drivers/usb/core/driver.c:293 [] really_probe+0x159/0x4a0 drivers/base/dd.c:554 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches