Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2012028rwi; Tue, 11 Oct 2022 03:44:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5xvD1SdZ9JHjaZtnYhPuAWTUjWAFfZoTIyj4+3YyyG/b1dPP2DegCe1TT52bCiK6Lv8Xhv X-Received: by 2002:a63:7909:0:b0:458:1ba6:ec80 with SMTP id u9-20020a637909000000b004581ba6ec80mr20900604pgc.414.1665485063296; Tue, 11 Oct 2022 03:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665485063; cv=none; d=google.com; s=arc-20160816; b=LP1CMdt8AiiLyL0F7PYFulAOKjag3VPGakyT65urojwaAYlF07hH5z0YmVTIRsLcch 2Jc5EcKtVxAiXIXkcZ01ynJv77C+0RtckBH/84bmoHasxCo/1u+RQmJRqh4nqImyGx3r IpwtF0RXo43Kwo08DfytQMLAh0FTF/5d90YY4hsdFZ/xnhdvsMgHJjKqvMDcKulq8IIv mK7nyT+I1cUxRS1RJkUnkKc0CFLfdtHUUL6T2HI/w0c8t3i2HbNV0DlVnjqs7gTPtk/C DUR73vlNCt4hbfBAbR9oETtaMm9aQ6gl2y0YDfSdTZRXLgaXNmGX6n8tWEUqLXiYUTwM bZlg== 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=MdMDpSpbJKTXlHS2J7C7gfIldmhpb1GFucBqg1aULWs=; b=Pxe+APpQB6UA6PMueq02v9k6m9pw51Dkk4NSUCOVsAeZpC8kFPiElFXmfYYYV790rU ydyWrCTe6m2Fv/mxq1vgWYSYOADLXIdnOn4VBQn7DjmGQddxhjVX443DSYmn88Aq277b As6Q9/aB41g8t5dqeGrwUPB5Uowj4Nllg67pgnaH6mh78LOITC8d9A2IY9HrllpvF4m/ 6Zs7GCBw1GCnkJGEqCrUVwUuyH6G+7788PIHfVHJLi+sJm3HwtM8eK1gh7nn076uO2wy j5Q0+3cYHEWWs2zm6I4d2I+QR02LCPeWRv4G47w0K7u0TcrghjQwmQyNyblL87GleuQZ feoQ== 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 h66-20020a636c45000000b0042b807728e3si15437072pgc.762.2022.10.11.03.44.11; Tue, 11 Oct 2022 03:44:23 -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 S229813AbiJKKc7 (ORCPT + 99 others); Tue, 11 Oct 2022 06:32:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbiJKKcv (ORCPT ); Tue, 11 Oct 2022 06:32:51 -0400 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09F527F0AE for ; Tue, 11 Oct 2022 03:32:50 -0700 (PDT) Received: by mail-io1-f72.google.com with SMTP id g15-20020a6be60f000000b006bc6bc8715aso1447302ioh.12 for ; Tue, 11 Oct 2022 03:32:50 -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=MdMDpSpbJKTXlHS2J7C7gfIldmhpb1GFucBqg1aULWs=; b=WHF+L344rz7E0DiQCV2o2vr7Oj92drLyOrNAisr/p1tVluoGRtdISfPpETc/C2HmDb N1O6Ix/HDhtU3tcD1UO8rIo1AEEVMWioRbBFUtArdfYUXrjT4gVVr1JWzuncMNm9Qnk6 peoOwAWjwDbIJ9NzbH3+QOvyhsJhxRfOnwgDV3OmygpLV4bhKRaeE2vyubj+FeKaPAlh EvJAzC+Bvep17IW9Cn+ZsJ/8v1NygInqGrjd0PRx43IwWmQXC/N7gfnHnbMc76l8XWmM rrjPVWmJxNSl/AethG+JWkUp6UW9WRGUfrMw+F783e3eHcGKXNwSDKj9623f3aL4K+tt WbKQ== X-Gm-Message-State: ACrzQf0aX5Z+ah6kGz79T/tB4iihGRT+iq38bweDQr5Hc9rQqB33y43t wPhd+UAlTOks4ngaMgqcrnm66T4PTCNUxyDCsT9Xm65eBqxr MIME-Version: 1.0 X-Received: by 2002:a05:6638:1509:b0:363:dcaa:38d5 with SMTP id b9-20020a056638150900b00363dcaa38d5mr142518jat.315.1665484369426; Tue, 11 Oct 2022 03:32:49 -0700 (PDT) Date: Tue, 11 Oct 2022 03:32:49 -0700 In-Reply-To: <2867034.e9J7NaK4W3@mypc> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000037fe6c05eabfcc1b@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 3 > Linux 6.0 > > > > > -- > 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/2867034.e9J7NaK4W3%40mypc.