Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp287955rwb; Wed, 5 Oct 2022 19:08:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6OsryclklMRmWhkyyqzen5c3LAn4TPRqETdhOhLAEJmlV0tsRFULotzHT+Isc2y9skY5Uu X-Received: by 2002:a17:907:6d9f:b0:789:dcd4:2f7a with SMTP id sb31-20020a1709076d9f00b00789dcd42f7amr2061966ejc.130.1665022087222; Wed, 05 Oct 2022 19:08:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665022087; cv=none; d=google.com; s=arc-20160816; b=BQePABjlYJqQlHIoSOl3jt52sUjbzOFmDtfIN+/TjwbNHAbaELoYDq9BSzZ/RVsNHe XIInQQ4jUcWKWueVrbLtDdReJNbHr9XKnMzmz+8DJ84JgN1vT31YKQFH3sEoC4keYey7 xkzKyXAQ85POLGy55QQj0UIwFO7X2sy9ugTy6FeANFjyFFXzp/+owGAcKXecN1YKwlU/ S00PawWoyE5avd66Rb929sSCTOxnff0J148A/k+h9x24YTJH09xIt/gY//khUVx8KuPF OPZIReElBTCrgdBzuXv9k6MKm9qY3X4kvpq4sYOdckPz2qIJsG7lvyXa0xdh53PWRPLF uleQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:in-reply-to:date :mime-version; bh=W6YbXPr1M2iGRXQ6wjkXeTrgH24/vWRlYen5o4z6V/0=; b=IFkFWOSaNUcHt6x+E1IkCuouQLXD8H+EUFau6EYRD9PKoAHWXUXaNo3Nfu3rTlFZI2 vVJ2zorBhe1EK6V3otjLhvH+ah79WVATwE3DHnRTn5xT4fm7GFSz5kLMKahu+0hXbhOq vXcqcwni4+QcRDYV8Nmzx8D6fMFWmnlidAog3Aibh8M7u7830o3ZX5Z3QL9q8jxrC8CQ TZVi/85lT4+f8K537oJLjdsJ4I1RyUYxD4w2o+vfJeKC47gBDWoNRtTU0hTG2xX03orH 6VUY6/mvyTPq/5JJORzFZYMC/SYxIe/ytzm8ruKjc/jtqG9LKnNLVV3XAc1mQj8Envna Mtnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a1709060ac200b0077f2c582561si14408227ejf.156.2022.10.05.19.07.38; Wed, 05 Oct 2022 19:08:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229805AbiJFBVF (ORCPT + 99 others); Wed, 5 Oct 2022 21:21:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbiJFBVC (ORCPT ); Wed, 5 Oct 2022 21:21:02 -0400 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA917233AB for ; Wed, 5 Oct 2022 18:20:52 -0700 (PDT) Received: by mail-il1-f200.google.com with SMTP id r12-20020a92cd8c000000b002f9f5baaeeaso503831ilb.4 for ; Wed, 05 Oct 2022 18:20:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=W6YbXPr1M2iGRXQ6wjkXeTrgH24/vWRlYen5o4z6V/0=; b=0bef6Fa7K6JRTuI096RRYuHZadpdKOjvAB7EUzr+7H1spOyTG0cNIorWr/pNDnxHfL YQ2Lwqrs6dlJcijfULQ/cezTzGXfbWWAXBkgxI9+CgVc+EsK+3302CMa7nqs4lXhJBnY fIudUHazNlTMBNXzn33yrbAMaX2lJ5pYuObGikiGFBNEnS3r9ug5fnBTTw4Lwvpyht0G fPdN/NiC5t3KaNeIOb3TINNxIlN4rrZ8xxzYVpAGK5LKSomjIFrkeZWFe5zXERooTIEo uUQnBAPICKkVnU8/mQP7kkW+TUvrz6RcsnMScz8yruYYU/96WGeW2xm/dOJ8UmgYinSV GIrg== X-Gm-Message-State: ACrzQf0STvG8awUJLpWWHufpALa9TKGbOtJTex6aCF1mZ2gNoSUIG4eg AlWn1TKBU8+GpUAJAtBj4WGdOWE8VXCedfh5YmAOyJ7+pcp3 MIME-Version: 1.0 X-Received: by 2002:a05:6602:2d55:b0:6a4:a04c:5c9e with SMTP id d21-20020a0566022d5500b006a4a04c5c9emr1219332iow.7.1665019252180; Wed, 05 Oct 2022 18:20:52 -0700 (PDT) Date: Wed, 05 Oct 2022 18:20:52 -0700 In-Reply-To: <2136501.irdbgypaU6@mypc> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000120df205ea5381c5@google.com> Subject: Re: [syzbot] memory leak in __get_metapage From: syzbot To: "Fabio M. De Francesco" Cc: akpm@linux-foundation.org, fmdefrancesco@gmail.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tuesday, October 4, 2022 10:49:42 AM CEST syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit: 4fe89d07dcc2 Linux 6.0 >> git tree: upstream >> console output: https://syzkaller.appspot.com/x/log.txt?x=169a7924880000 >> kernel config: https://syzkaller.appspot.com/x/.config?x=21254cf9c7c084e0 >> dashboard link: https://syzkaller.appspot.com/bug?extid=389b82b29093b3e2640a >> 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=10bdd7ec880000 >> >> Downloadable assets: >> disk image: https://storage.googleapis.com/syzbot-assets/651a252f7035/ > disk-4fe89d07.raw.xz >> vmlinux: https://storage.googleapis.com/syzbot-assets/776feb8e0e5b/ > vmlinux-4fe89d07.xz >> >> IMPORTANT: if you fix the issue, please add the following tag to the commit: >> Reported-by: syzbot+389b82b29093b3e2640a@syzkaller.appspotmail.com >> >> BUG: memory leak >> unreferenced object 0xffff888114339e80 (size 128): >> comm "syz-executor.0", pid 3673, jiffies 4295017005 (age 12.610s) >> hex dump (first 32 bytes): >> 00 10 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: >> [] mempool_alloc+0x73/0x230 mm/mempool.c:392 >> [] alloc_metapage fs/jfs/jfs_metapage.c:176 [inline] >> [] __get_metapage+0x38a/0x9b0 fs/jfs/jfs_metapage.c:651 >> [] diNewExt+0x3f2/0x9d0 fs/jfs/jfs_imap.c:2265 >> [] diAllocExt fs/jfs/jfs_imap.c:1945 [inline] >> [] diAllocAG+0x9a4/0xd50 fs/jfs/jfs_imap.c:1662 >> [] diAlloc+0x31f/0x900 fs/jfs/jfs_imap.c:1583 >> [] ialloc+0x6a/0x3a0 fs/jfs/jfs_inode.c:56 >> [] jfs_mkdir+0xf7/0x480 fs/jfs/namei.c:225 >> [] vfs_mkdir+0x223/0x340 fs/namei.c:4013 >> [] do_mkdirat+0x1a5/0x1e0 fs/namei.c:4038 >> [] __do_sys_mkdir fs/namei.c:4058 [inline] >> [] __se_sys_mkdir fs/namei.c:4056 [inline] >> [] __x64_sys_mkdir+0x69/0x90 fs/namei.c:4056 >> [] do_syscall_x64 arch/x86/entry/common.c:50 [inline] >> [] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 >> [] entry_SYSCALL_64_after_hwframe+0x63/0xcd >> >> BUG: memory leak >> unreferenced object 0xffff888114339e00 (size 128): >> comm "syz-executor.0", pid 3673, jiffies 4295017005 (age 12.610s) >> hex dump (first 32 bytes): >> 00 10 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: >> [] mempool_alloc+0x73/0x230 mm/mempool.c:392 >> [] alloc_metapage fs/jfs/jfs_metapage.c:176 [inline] >> [] __get_metapage+0x38a/0x9b0 fs/jfs/jfs_metapage.c:651 >> [] diNewExt+0x3f2/0x9d0 fs/jfs/jfs_imap.c:2265 >> [] diAllocExt fs/jfs/jfs_imap.c:1945 [inline] >> [] diAllocAG+0x9a4/0xd50 fs/jfs/jfs_imap.c:1662 >> [] diAlloc+0x31f/0x900 fs/jfs/jfs_imap.c:1583 >> [] ialloc+0x6a/0x3a0 fs/jfs/jfs_inode.c:56 >> [] jfs_mkdir+0xf7/0x480 fs/jfs/namei.c:225 >> [] vfs_mkdir+0x223/0x340 fs/namei.c:4013 >> [] do_mkdirat+0x1a5/0x1e0 fs/namei.c:4038 >> [] __do_sys_mkdir fs/namei.c:4058 [inline] >> [] __se_sys_mkdir fs/namei.c:4056 [inline] >> [] __x64_sys_mkdir+0x69/0x90 fs/namei.c:4056 >> [] do_syscall_x64 arch/x86/entry/common.c:50 [inline] >> [] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 >> [] entry_SYSCALL_64_after_hwframe+0x63/0xcd >> >> BUG: memory leak >> unreferenced object 0xffff888114339d80 (size 128): >> comm "syz-executor.0", pid 3673, jiffies 4295017005 (age 12.610s) >> hex dump (first 32 bytes): >> 00 10 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: >> [] mempool_alloc+0x73/0x230 mm/mempool.c:392 >> [] alloc_metapage fs/jfs/jfs_metapage.c:176 [inline] >> [] __get_metapage+0x38a/0x9b0 fs/jfs/jfs_metapage.c:651 >> [] diNewExt+0x3f2/0x9d0 fs/jfs/jfs_imap.c:2265 >> [] diAllocExt fs/jfs/jfs_imap.c:1945 [inline] >> [] diAllocAG+0x9a4/0xd50 fs/jfs/jfs_imap.c:1662 >> [] diAlloc+0x31f/0x900 fs/jfs/jfs_imap.c:1583 >> [] ialloc+0x6a/0x3a0 fs/jfs/jfs_inode.c:56 >> [] jfs_mkdir+0xf7/0x480 fs/jfs/namei.c:225 >> [] vfs_mkdir+0x223/0x340 fs/namei.c:4013 >> [] do_mkdirat+0x1a5/0x1e0 fs/namei.c:4038 >> [] __do_sys_mkdir fs/namei.c:4058 [inline] >> [] __se_sys_mkdir fs/namei.c:4056 [inline] >> [] __x64_sys_mkdir+0x69/0x90 fs/namei.c:4056 >> [] do_syscall_x64 arch/x86/entry/common.c:50 [inline] >> [] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 >> [] entry_SYSCALL_64_after_hwframe+0x63/0xcd >> >> BUG: memory leak >> unreferenced object 0xffff8881142f0300 (size 128): >> comm "syz-executor.0", pid 3676, jiffies 4295017533 (age 7.330s) >> hex dump (first 32 bytes): >> 00 10 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: >> [] mempool_alloc+0x73/0x230 mm/mempool.c:392 >> [] alloc_metapage fs/jfs/jfs_metapage.c:176 [inline] >> [] __get_metapage+0x38a/0x9b0 fs/jfs/jfs_metapage.c:651 >> [] diNewExt+0x3f2/0x9d0 fs/jfs/jfs_imap.c:2265 >> [] diAllocExt fs/jfs/jfs_imap.c:1945 [inline] >> [] diAllocAG+0x9a4/0xd50 fs/jfs/jfs_imap.c:1662 >> [] diAlloc+0x31f/0x900 fs/jfs/jfs_imap.c:1583 >> [] ialloc+0x6a/0x3a0 fs/jfs/jfs_inode.c:56 >> [] jfs_mkdir+0xf7/0x480 fs/jfs/namei.c:225 >> [] vfs_mkdir+0x223/0x340 fs/namei.c:4013 >> [] do_mkdirat+0x1a5/0x1e0 fs/namei.c:4038 >> [] __do_sys_mkdir fs/namei.c:4058 [inline] >> [] __se_sys_mkdir fs/namei.c:4056 [inline] >> [] __x64_sys_mkdir+0x69/0x90 fs/namei.c:4056 >> [] do_syscall_x64 arch/x86/entry/common.c:50 [inline] >> [] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 >> [] entry_SYSCALL_64_after_hwframe+0x63/0xcd >> > > #syz test git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git want 2 args (repo, branch), got 4 > 4fe89d07dcc2 Linux 6.0 > >> >> >> --- >> 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 >> >> -- >> You received this message because you are subscribed to the Google Groups > "syzkaller-bugs" group. >> To unsubscribe from this group and stop receiving emails from it, send an > email to syzkaller-bugs+unsubscribe@googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/ > syzkaller-bugs/0000000000008a5a2e05ea318aa9%40google.com. >> > > > >