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 AC440C6FD1D for ; Fri, 7 Apr 2023 10:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240608AbjDGKsq (ORCPT ); Fri, 7 Apr 2023 06:48:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbjDGKsm (ORCPT ); Fri, 7 Apr 2023 06:48:42 -0400 Received: from mail-io1-f78.google.com (mail-io1-f78.google.com [209.85.166.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC6844C17 for ; Fri, 7 Apr 2023 03:48:40 -0700 (PDT) Received: by mail-io1-f78.google.com with SMTP id b3-20020a056602274300b007603d89cdc9so3707468ioe.2 for ; Fri, 07 Apr 2023 03:48:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680864520; x=1683456520; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BAuuzHM2ZZ1qgOBKBHermM1gtIcX6DrejC87Vc77SWs=; b=0UON9ZgESb0hvJqfwL5V4n4oAWpq2rD5ae4OkghzVSalojhxHZOGL6QzseaCKHwsU2 7gbFv/++1Nj9WJ4y5bRS1bFNSKbtUh25kDGt4uLVnLIwsyS+Z2kVLV6dl0BfvD2DlQ5o MaxMh+C52rM/931DG1nsx7nPdm698m0/BszKARS5L84NGXPKZSUHVsRc08U/Hfy2P9dn g029PwQjnHuXPjJdiJDu8YqyKn2R1Bo7xqVtwGfx+WDUOo6Qd6bR0HefybBpev4/aRA0 IHoglQajZ3hGn2+XFdAaTNyyX68zVGOFakjMm6mwvZzUtDygQQzHgEJ5ZPTxwfdg7tlA x2sw== X-Gm-Message-State: AAQBX9d0cM2f0zJ2hIBxigEbSTKi/T6es+EkoePU0UxGtwk8458Uem9K cZ5zgbCxdz7e1AKIdi3RWZ9UKtnjTwyE+uH5f8WR2VWb4EUO X-Google-Smtp-Source: AKy350ZbnV0ItjWeqXRkukr8Bb70dQOxc2dsvFm1+L72OE1HukCIOjbVA+JWikgs9HjAJ0FwjG/XGUcWI0ondppXFWxS7EeCpDIi MIME-Version: 1.0 X-Received: by 2002:a02:9426:0:b0:406:2cd0:a668 with SMTP id a35-20020a029426000000b004062cd0a668mr510401jai.2.1680864520168; Fri, 07 Apr 2023 03:48:40 -0700 (PDT) Date: Fri, 07 Apr 2023 03:48:40 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000a3f51805f8bcc43a@google.com> Subject: [syzbot] [net?] WARNING in cleanup_net (2) From: syzbot To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.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: f33642224e38 ptp_qoriq: fix memory leak in probe() git tree: net console+strace: https://syzkaller.appspot.com/x/log.txt?x=172977b1c80000 kernel config: https://syzkaller.appspot.com/x/.config?x=ea09b0836073ee4 dashboard link: https://syzkaller.appspot.com/bug?extid=7e1e1bdb852961150198 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=12d98a05c80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=170668b6c80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/78d8ce56ac20/disk-f3364222.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/7b38fccf6cb4/vmlinux-f3364222.xz kernel image: https://storage.googleapis.com/syzbot-assets/9cbf8fd0a81b/bzImage-f3364222.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+7e1e1bdb852961150198@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 0 PID: 75 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] WARNING: CPU: 0 PID: 75 at lib/ref_tracker.c:39 ref_tracker_dir_exit+0x3a2/0x600 lib/ref_tracker.c:38 Modules linked in: CPU: 0 PID: 75 Comm: kworker/u4:4 Not tainted 6.3.0-rc3-syzkaller-00148-gf33642224e38 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: netns cleanup_net RIP: 0010:ref_tracker_dir_exit+0x3a2/0x600 lib/ref_tracker.c:39 Code: 0f 84 c3 fe ff ff e8 2d 3d 44 fd 44 89 ff e8 c5 f9 ff ff e9 b1 fe ff ff e8 1b 3d 44 fd 48 8b 74 24 10 4c 89 ef e8 de 99 c6 05 <0f> 0b e8 07 3d 44 fd 49 8d 6d 44 be 04 00 00 00 48 89 ef e8 e6 4e RSP: 0018:ffffc90001577c00 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888075d29ed0 R08: 0000000000000001 R09: ffffffff914d9c6f R10: 0000000000000001 R11: 0000000000000000 R12: ffff888075d29ed0 R13: ffff888075d29e80 R14: ffff888075d29ed0 R15: ffff88802879edc8 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff1bdf8960 CR3: 000000002bed0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: net_free net/core/net_namespace.c:447 [inline] net_free net/core/net_namespace.c:441 [inline] cleanup_net+0x8bb/0xb10 net/core/net_namespace.c:634 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 --- 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