Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1909180rdb; Sun, 19 Nov 2023 16:09:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyWhRSZpqIxNyr5e6BnqRH6A4YaTgooGFg1xdU8cCrdnjgmXo3ptQzmY7FrAoJ+APiSyC5 X-Received: by 2002:a17:902:ab1e:b0:1cc:32df:8ebd with SMTP id ik30-20020a170902ab1e00b001cc32df8ebdmr13728615plb.25.1700438984544; Sun, 19 Nov 2023 16:09:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700438984; cv=none; d=google.com; s=arc-20160816; b=KmtdgHhRJF6yZNqSl8hxljtvr59tD3ZVYitlp9s5ynpZUbhOzNuKEL4AfeEvt4roji VH+WfA0ay1cp12h4sCzFf3i5/IZoPk6dybL+tW9xXx+ucj2ZGqkVdgArO7wagL63hnHf IjftAsaL1j0r/Uy9H4jPwp8hZrsq0aPRiWY4VEZytYBPUR7SukcRNQ1RFlgTGkz3Ql+F GH0vY002+1Z4Wrk+xf/dOBRI4PwBOLgcma84AyOSQIiyr08FTuZ6NwZWYYq+9AtmVo1Y 9szy3camejSonJYtcVvyaRm3CKF5oLPU8xWDrnnMMP4eCD/taHigKjvhReU5LTzjFZ5q T+/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=bm9eGPc0RwqPbRbgp3iTFtDeXXeqtjeXeTQl0nd1FoI=; fh=HfkTHlfIMiNO+AOTtc/P7G8neGe6kErpXgOOQ2dIuTU=; b=mUpi86BFt4zo7H3bnOALUXt5AEWdYqir152L8D0/4XatnT367nRpuI11Sg8L1lulh8 aUgx7A8N/ntAOXxMvMDC2vIAu+tStUjc6OcgEsAyw0ghYdKrzMRapRSiX+tnUQUynWRb u303dYC+r6RguMtyZFoPJ96hVtbmAZqvdqUJ42dEEZpEfoVyRmYu2p36jXULZxP1YvEz cE/ExCrgbFpV9G/oYsb/Xo/61rRWq60ydAkjbP/V63MqMtvH3DwYbDWs2Dr/QrNvAxb7 69WeysmRUSi46IJL+9PkfCv1/q04u1zZBH0wngM08TZP0jsYpGqPreMMiQkWAvCA8PP0 nMQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id w2-20020a170902904200b001c9b15bf936si6757179plz.220.2023.11.19.16.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 16:09:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C2C7E805A586; Sun, 19 Nov 2023 16:09:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231607AbjKTAJa (ORCPT + 99 others); Sun, 19 Nov 2023 19:09:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231508AbjKTAJ3 (ORCPT ); Sun, 19 Nov 2023 19:09:29 -0500 Received: from mail-pl1-f208.google.com (mail-pl1-f208.google.com [209.85.214.208]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 068CBD8 for ; Sun, 19 Nov 2023 16:09:26 -0800 (PST) Received: by mail-pl1-f208.google.com with SMTP id d9443c01a7336-1cc5ac304e8so47964475ad.1 for ; Sun, 19 Nov 2023 16:09:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700438965; x=1701043765; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bm9eGPc0RwqPbRbgp3iTFtDeXXeqtjeXeTQl0nd1FoI=; b=OauIIgYJO0sNAbgGq0InGhLQuE8j73GjICN5lb0oxvfuBufU1q8CjLOGMS7XoHgcNn bX3Sn/2Z04/8NwL3lzNsDIOfFY8UtBjg5TPpLoQge1iCmXPiQZXJ02HzJyOnAHGOSXb+ cFXkpSpd59lm3lxjw0+b8xvnbXlYsc/nKzxoc2ixBihuH7+4SIC1goHL5d11Qq5Vysdq 3d/VxA6HbGe7mTT3O7XYkBcoUBsPQJw1pgTke0WzB6YsbhpEV9ex8KEHPehlhIyDnyHg yurlhm+1fNl4vJjsz6yNIJr5Wz32nRPQ2bbyT/JMBX5MHOfB8rWG9CwIw4mz+VgGap80 47Ow== X-Gm-Message-State: AOJu0Yx+Ue4glJuyknOXE4N5bvFflV1mkLhVt+P0nDtuUmTUW8CWPPwy kFn4OLSYayyWeGGvWaTb3jTnOCxgU/BHclr5WHzD1EnITBVn MIME-Version: 1.0 X-Received: by 2002:a17:902:7792:b0:1cc:4327:8bbc with SMTP id o18-20020a170902779200b001cc43278bbcmr1559454pll.10.1700438965521; Sun, 19 Nov 2023 16:09:25 -0800 (PST) Date: Sun, 19 Nov 2023 16:09:25 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000809328060a8a4c1c@google.com> Subject: [syzbot] [staging?] [usb?] memory leak in _r8712_init_xmit_priv (2) From: syzbot To: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.0 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SORTED_RECIPS, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 19 Nov 2023 16:09:41 -0800 (PST) X-Spam-Level: ** Hello, syzbot found the following issue on: HEAD commit: c42d9eeef8e5 Merge tag 'hardening-v6.7-rc2' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13bff22f680000 kernel config: https://syzkaller.appspot.com/x/.config?x=e71d284dd6560ca8 dashboard link: https://syzkaller.appspot.com/bug?extid=83763e624cfec6b462cb compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1564223f680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17a7c024e80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/026cc0fc446f/disk-c42d9eee.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c4b4d6d092c1/vmlinux-c42d9eee.xz kernel image: https://storage.googleapis.com/syzbot-assets/1865f885e9d6/bzImage-c42d9eee.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+83763e624cfec6b462cb@syzkaller.appspotmail.com executing program BUG: memory leak unreferenced object 0xffff888107a5c000 (size 4096): comm "kworker/1:0", pid 22, jiffies 4294943134 (age 18.720s) 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: [] kmemleak_alloc_recursive include/linux/kmemleak.h:42 [inline] [] slab_post_alloc_hook mm/slab.h:766 [inline] [] slab_alloc_node mm/slub.c:3478 [inline] [] __kmem_cache_alloc_node+0x2dd/0x3f0 mm/slub.c:3517 [] kmalloc_trace+0x25/0x90 mm/slab_common.c:1098 [] kmalloc include/linux/slab.h:600 [inline] [] _r8712_init_xmit_priv+0x2b2/0x6e0 drivers/staging/rtl8712/rtl871x_xmit.c:130 [] r8712_init_drv_sw+0xc3/0x290 drivers/staging/rtl8712/os_intfs.c:311 [] r871xu_drv_init+0x1c6/0x920 drivers/staging/rtl8712/usb_intf.c:386 [] usb_probe_interface+0x16b/0x3a0 drivers/usb/core/driver.c:396 [] call_driver_probe drivers/base/dd.c:579 [inline] [] really_probe+0x126/0x440 drivers/base/dd.c:658 [] __driver_probe_device+0xc3/0x190 drivers/base/dd.c:800 [] driver_probe_device+0x2a/0x120 drivers/base/dd.c:830 [] __device_attach_driver+0x104/0x160 drivers/base/dd.c:958 [] bus_for_each_drv+0xcd/0x120 drivers/base/bus.c:457 [] __device_attach+0xfa/0x290 drivers/base/dd.c:1030 [] bus_probe_device+0xca/0xd0 drivers/base/bus.c:532 [] device_add+0x9be/0xc90 drivers/base/core.c:3625 [] usb_set_configuration+0x967/0xc70 drivers/usb/core/message.c:2207 [] usb_generic_driver_probe+0x9c/0xf0 drivers/usb/core/generic.c:238 BUG: memory leak unreferenced object 0xffff888107a59000 (size 4096): comm "kworker/1:0", pid 22, jiffies 4294943134 (age 18.720s) 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: [] kmemleak_alloc_recursive include/linux/kmemleak.h:42 [inline] [] slab_post_alloc_hook mm/slab.h:766 [inline] [] slab_alloc_node mm/slub.c:3478 [inline] [] __kmem_cache_alloc_node+0x2dd/0x3f0 mm/slub.c:3517 [] kmalloc_trace+0x25/0x90 mm/slab_common.c:1098 [] kmalloc include/linux/slab.h:600 [inline] [] _r8712_init_xmit_priv+0x2b2/0x6e0 drivers/staging/rtl8712/rtl871x_xmit.c:130 [] r8712_init_drv_sw+0xc3/0x290 drivers/staging/rtl8712/os_intfs.c:311 [] r871xu_drv_init+0x1c6/0x920 drivers/staging/rtl8712/usb_intf.c:386 [] usb_probe_interface+0x16b/0x3a0 drivers/usb/core/driver.c:396 [] call_driver_probe drivers/base/dd.c:579 [inline] [] really_probe+0x126/0x440 drivers/base/dd.c:658 [] __driver_probe_device+0xc3/0x190 drivers/base/dd.c:800 [] driver_probe_device+0x2a/0x120 drivers/base/dd.c:830 [] __device_attach_driver+0x104/0x160 drivers/base/dd.c:958 [] bus_for_each_drv+0xcd/0x120 drivers/base/bus.c:457 [] __device_attach+0xfa/0x290 drivers/base/dd.c:1030 [] bus_probe_device+0xca/0xd0 drivers/base/bus.c:532 [] device_add+0x9be/0xc90 drivers/base/core.c:3625 [] usb_set_configuration+0x967/0xc70 drivers/usb/core/message.c:2207 [] usb_generic_driver_probe+0x9c/0xf0 drivers/usb/core/generic.c:238 BUG: memory leak unreferenced object 0xffff888108475000 (size 4096): comm "kworker/1:0", pid 22, jiffies 4294943134 (age 18.720s) 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: [] kmemleak_alloc_recursive include/linux/kmemleak.h:42 [inline] [] slab_post_alloc_hook mm/slab.h:766 [inline] [] slab_alloc_node mm/slub.c:3478 [inline] [] __kmem_cache_alloc_node+0x2dd/0x3f0 mm/slub.c:3517 [] kmalloc_trace+0x25/0x90 mm/slab_common.c:1098 [] kmalloc include/linux/slab.h:600 [inline] [] _r8712_init_xmit_priv+0x2b2/0x6e0 drivers/staging/rtl8712/rtl871x_xmit.c:130 [] r8712_init_drv_sw+0xc3/0x290 drivers/staging/rtl8712/os_intfs.c:311 [] r871xu_drv_init+0x1c6/0x920 drivers/staging/rtl8712/usb_intf.c:386 [] usb_probe_interface+0x16b/0x3a0 drivers/usb/core/driver.c:396 [] call_driver_probe drivers/base/dd.c:579 [inline] [] really_probe+0x126/0x440 drivers/base/dd.c:658 [] __driver_probe_device+0xc3/0x190 drivers/base/dd.c:800 [] driver_probe_device+0x2a/0x120 drivers/base/dd.c:830 [] __device_attach_driver+0x104/0x160 drivers/base/dd.c:958 [] bus_for_each_drv+0xcd/0x120 drivers/base/bus.c:457 [] __device_attach+0xfa/0x290 drivers/base/dd.c:1030 [] bus_probe_device+0xca/0xd0 drivers/base/bus.c:532 [] device_add+0x9be/0xc90 drivers/base/core.c:3625 [] usb_set_configuration+0x967/0xc70 drivers/usb/core/message.c:2207 [] usb_generic_driver_probe+0x9c/0xf0 drivers/usb/core/generic.c:238 --- 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup