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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 488EBC00140 for ; Thu, 11 Aug 2022 02:20:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233712AbiHKCUb (ORCPT ); Wed, 10 Aug 2022 22:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233709AbiHKCUa (ORCPT ); Wed, 10 Aug 2022 22:20:30 -0400 Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A742B27C for ; Wed, 10 Aug 2022 19:20:28 -0700 (PDT) Received: by mail-io1-f70.google.com with SMTP id p123-20020a6bbf81000000b00674f66cf13aso9042121iof.23 for ; Wed, 10 Aug 2022 19:20:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc; bh=FRcqXcm04Kybe4wMNMlEndxwmeCXHP6BNbwcOvk5VT8=; b=d/jtiiqB4DfuoZtfC0ZEthmf5bGQSgUCVDfqtTXGFSWNi8ZOVxPUFqH+mgd4H8C8GO XYywNok1Su8rfKHP0HmkZxQd1P21ZvgeaMPhlpElPEQzNfEIUTTK50MuxQyZi83aGafE qBfJXT3smwfqFNWiZQoGuoCcnbRmBSsuhBknSEVBmzsEG9dzV3/01QWXPk19ofbE3j3x XeYOp/D6rhINyAOKRapF29ctD5cjrVyqr4TCOG1z74wB8A+NcOtKXPHSEAIO27OcgWDx AJbiIcZIYyLIkMse+6y/nBXLbEO5qz7BN/lfXQlhybl8Q9VdMBe7Unfb02IlR1CP/W7O /Rwg== X-Gm-Message-State: ACgBeo1cxsI3LEyigHqnujw3COK1GCjbjtq0i4ulMykNB+bFBwbg9Vm5 VSVALuYwYMq1fVvEbvQAqCxYcYghZZBtKuFwykwjC36E+z30 X-Google-Smtp-Source: AA6agR5wx/dIc16+Izba6GK/VHZlbf/SOvg1d4j0B1EBQ5U61ChDckzUAkjF3HnvX5JAEttJT8QbZuE+WYosdPWeh6ZHO4AHgWGg MIME-Version: 1.0 X-Received: by 2002:a92:9506:0:b0:2e0:ed70:ea7d with SMTP id y6-20020a929506000000b002e0ed70ea7dmr8456781ilh.207.1660184428020; Wed, 10 Aug 2022 19:20:28 -0700 (PDT) Date: Wed, 10 Aug 2022 19:20:28 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000001809aa05e5edcf23@google.com> Subject: [syzbot] memory leak in airspy_probe From: syzbot To: crope@iki.fi, 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: 20cf903a0c40 Merge tag 'for-6.0/dm-changes-2' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14fbfa46080000 kernel config: https://syzkaller.appspot.com/x/.config?x=9f3121e03e34975 dashboard link: https://syzkaller.appspot.com/bug?extid=bb25f85e5aa482864dc0 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15cb43fa080000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=165877f2080000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+bb25f85e5aa482864dc0@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff88810afb7300 (size 128): comm "kworker/0:1", pid 44, jiffies 4294946315 (age 14.410s) 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: [] kmalloc include/linux/slab.h:600 [inline] [] kzalloc include/linux/slab.h:733 [inline] [] airspy_probe+0x8e/0x200 drivers/media/usb/airspy/airspy.c:981 [] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396 [] call_driver_probe drivers/base/dd.c:530 [inline] [] really_probe+0x12d/0x390 drivers/base/dd.c:609 [] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:748 [] driver_probe_device+0x2a/0x120 drivers/base/dd.c:778 [] __device_attach_driver+0xf6/0x140 drivers/base/dd.c:901 [] bus_for_each_drv+0xb7/0x100 drivers/base/bus.c:427 [] __device_attach+0x102/0x2d0 drivers/base/dd.c:973 [] bus_probe_device+0xc6/0xe0 drivers/base/bus.c:487 [] device_add+0x642/0xe60 drivers/base/core.c:3517 [] usb_set_configuration+0x8f2/0xb80 drivers/usb/core/message.c:2170 [] usb_generic_driver_probe+0x8c/0xc0 drivers/usb/core/generic.c:238 [] usb_probe_device+0x5c/0x140 drivers/usb/core/driver.c:293 [] call_driver_probe drivers/base/dd.c:530 [inline] [] really_probe+0x12d/0x390 drivers/base/dd.c:609 [] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:748 [] driver_probe_device+0x2a/0x120 drivers/base/dd.c:778 --- 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