Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2042331rwi; Tue, 11 Oct 2022 04:11:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7D5u2mXmoargIYtLK//lYegT/hVW/1n3dii/O/p6b5rn5QkOu/TnKlcngcXyhW4oAnVOUD X-Received: by 2002:a17:906:cc49:b0:78d:361a:561e with SMTP id mm9-20020a170906cc4900b0078d361a561emr19070514ejb.741.1665486671336; Tue, 11 Oct 2022 04:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665486671; cv=none; d=google.com; s=arc-20160816; b=JwrSujMlIbLaoqZt/EWpnu8sumMwyyxCiLbG1r1+zXw55p+REricQGgR/OcqnaW3nb r6VB3sYWjfLNzGp+w8CjNZnVrQSSXu7ZwdmdSWB3eTaX4kl+qyzhgtwrIUjR8/KRv6pN YL/lt4foPAyWqnFVrVDJSQxOil4vV/Mc5TH12f0NmhcQ2c1Zq7DScZqoiD3oXRstuzAM oqQ3Yz/oVAx7ZRP6yNZYK5GKvo4zqpFwxEovLRttz50nPkUqKFYiG+jSq09PcMmJTpIv t7Q++u5hZDje3Asx1jOCF/WJ7FSCgll+wzSp4sp7WyW0PDtjPlHe5iBB0vlJA//aUy6a GAFw== 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=bBV1AIu0iXcatpzyTKyEwrIZDZQE2FsKYFrQStcBdBo=; b=s/LXqmmUP0KxYY0xO8X0pKeXn+HHQYMy7GSj0W32aJehkeXfHpAhMIHiHlriQKlLJs hijD2pWWtjDjTCprukxvDt2TeUx3eA9yx9+kPA6xu3mLaDANdslWTM9yJwvs6rspbiyR 0S5ieL8nfK9dh/Cm7eL5Hh3M0VvLz+MGxms+EVFv1MpxPDRm97SULmpoQ+B8a8WFMKs5 PGIRNMIlAdnnab5W8cqTNN7oPnEH9nL4LX+ZUQnEHRRjqTtpJOBgtTizN/+02GWJSXyx UNL7+UNsutxZhjZE2vr8kElr7oPug/j7SkcHlh84qyIWYT8dpVVqe5JMlb5ozoHxo1Yz 12vg== 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 sc29-20020a1709078a1d00b0078d810e16a4si9654548ejc.486.2022.10.11.04.10.44; Tue, 11 Oct 2022 04:11:11 -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 S229766AbiJKKcq (ORCPT + 99 others); Tue, 11 Oct 2022 06:32:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbiJKKco (ORCPT ); Tue, 11 Oct 2022 06:32:44 -0400 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A5D37B794 for ; Tue, 11 Oct 2022 03:32:43 -0700 (PDT) Received: by mail-il1-f197.google.com with SMTP id h10-20020a056e021d8a00b002f99580de6cso10556980ila.5 for ; Tue, 11 Oct 2022 03:32:43 -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=bBV1AIu0iXcatpzyTKyEwrIZDZQE2FsKYFrQStcBdBo=; b=0qlsogRXoNSktxC9lVwln25DfmnmKQKSpW7bMmjOGwJWr8CSDfIwKtW/5VN+XxdpVx glBgShV/k2utsQchectVWCK72N1G6rBJDQ3p+3pOuRtxUE9JKP6rzagTIyZ56WVS8cT7 SBwbNkiwEINl30zOh+WSe6sgdePM+A0qV95S00QoINs28hNvabALjbqai/ldxJLs3uK0 PzmXYCeI+2sSvCwTQJuyBLRR9Pdg1AQTkRs4eGlg9b+gJLgGkrrqGdMqBEBIdMCKIBbB IYA0Wl311IWRp+vpdSQlgBj+cnNl7zy8FcgEIDWM/n8oy+C5vgXfm7HVo5+zstYM3CTY nnpg== X-Gm-Message-State: ACrzQf0Iv8ct3wNayyl32zNwcO0+jfyliCytxB5YRC1TwMVtJ04bjE0d 4a4CTGRNwLzV6mbhPuuSDsRIhwDeNbs4K0fKTxLgSPDJ15eA MIME-Version: 1.0 X-Received: by 2002:a05:6e02:20c4:b0:2fa:cdf6:dfc9 with SMTP id 4-20020a056e0220c400b002facdf6dfc9mr10710179ilq.33.1665484362881; Tue, 11 Oct 2022 03:32:42 -0700 (PDT) Date: Tue, 11 Oct 2022 03:32:42 -0700 In-Reply-To: <2136501.irdbgypaU6@mypc> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000d4211f05eabfcb56@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. >> > > > > > -- > 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/2136501.irdbgypaU6%40mypc.