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 A1BDAC678D5 for ; Tue, 7 Mar 2023 18:11:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232428AbjCGSLL (ORCPT ); Tue, 7 Mar 2023 13:11:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232413AbjCGSKv (ORCPT ); Tue, 7 Mar 2023 13:10:51 -0500 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 568EA9224F for ; Tue, 7 Mar 2023 10:05:43 -0800 (PST) Received: by mail-il1-f200.google.com with SMTP id d6-20020a92d786000000b00316f1737173so7552840iln.16 for ; Tue, 07 Mar 2023 10:05:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678212342; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xMmGBPDCyE1o0KJbX11oQKUWmAnPR1ykDR3aht2SgWI=; b=6E6y3FqtbOKIkXHmhnvTzNkFWQKJKd7wi4nf428w46bNF1PRGF4957G5k1m86vvqMv fUC5xOJr+Fv0ORla7bJ3qtzAYc75Wh/fR4ebiW4HRF3M5erZB/3++ni/udrilHqoWLKA xAC6Mkfv76VFPxvmUAYBaweo/9n505nWnoZbYIgay6RSqHB/lqRreEbqzR30f9wRfu/t dcQXQz4ubdo+1KIuCYe1IxiCRLvvXlQPmCZ94kjC8cT7De+KCPGRMVLMGxhSpejcj+25 1pN5v7xqvmBR+d8oYzcpcuDLlxqKeSS2WR9Fc4R50+wlSUDwso5erAeDzFfTdugAY+Gp Y5jQ== X-Gm-Message-State: AO0yUKWPC5zrYlXsa71KqmpDDRzbc1uhQbag2G1+RVaqPAle0C5HW/45 ZO4s8z0ZiQmn3Ch4m7X6xUsXwgDko1Y3cBkiHkrNvxy8tWEN X-Google-Smtp-Source: AK7set8LdW7Z5z903MhX750iHI+wLlKjA8IaDjBcJO9bYMe5iSsz69Kbuu35dLmnF/adaamHiU82LHqVZL8BP6K74ahoUX08nDSj MIME-Version: 1.0 X-Received: by 2002:a05:6e02:f43:b0:317:98ef:7060 with SMTP id y3-20020a056e020f4300b0031798ef7060mr7447962ilj.1.1678212342548; Tue, 07 Mar 2023 10:05:42 -0800 (PST) Date: Tue, 07 Mar 2023 10:05:42 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000890fab05f65342b6@google.com> Subject: [syzbot] [scsi?] memory leak in __proc_create From: syzbot To: jejb@linux.ibm.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, martin.petersen@oracle.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 8ca09d5fa354 cpumask: fix incorrect cpumask scanning resul.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17c39338c80000 kernel config: https://syzkaller.appspot.com/x/.config?x=337fc5840f41dbbe dashboard link: https://syzkaller.appspot.com/bug?extid=645a4616b87a2f10e398 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=17500b98c80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/7b252fbf60d5/disk-8ca09d5f.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/4bd32a89510e/vmlinux-8ca09d5f.xz kernel image: https://storage.googleapis.com/syzbot-assets/3d1b299dadec/bzImage-8ca09d5f.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+645a4616b87a2f10e398@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff88810af45b40 (size 192): comm "kworker/1:5", pid 5185, jiffies 4294972950 (age 13.730s) hex dump (first 32 bytes): 00 00 00 00 01 00 00 00 48 5b f4 0a 81 88 ff ff ........H[...... 48 5b f4 0a 81 88 ff ff 00 00 00 00 00 00 00 00 H[.............. backtrace: [] kmem_cache_zalloc include/linux/slab.h:710 [inline] [] __proc_create+0x1a0/0x3b0 fs/proc/generic.c:426 [] proc_create_reg+0xae/0x120 fs/proc/generic.c:553 [] proc_create_data+0x35/0x90 fs/proc/generic.c:573 [] scsi_proc_host_add+0xdc/0x160 drivers/scsi/scsi_proc.c:233 [] scsi_add_host_with_dma+0x48b/0x500 drivers/scsi/hosts.c:311 [] scsi_add_host include/scsi/scsi_host.h:774 [inline] [] usb_stor_probe2+0x2f2/0x410 drivers/usb/storage/usb.c:1056 [] sddr09_probe+0xb7/0x110 drivers/usb/storage/sddr09.c:1772 [] usb_probe_interface+0x179/0x3c0 drivers/usb/core/driver.c:396 [] call_driver_probe drivers/base/dd.c:552 [inline] [] really_probe+0x12d/0x430 drivers/base/dd.c:631 [] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:768 [] driver_probe_device+0x2a/0x120 drivers/base/dd.c:798 [] __device_attach_driver+0xfb/0x150 drivers/base/dd.c:926 [] bus_for_each_drv+0xc1/0x110 drivers/base/bus.c:457 [] __device_attach+0x102/0x2a0 drivers/base/dd.c:998 [] bus_probe_device+0xca/0xd0 drivers/base/bus.c:532 [] device_add+0x991/0xc80 drivers/base/core.c:3589 --- 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