Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp182013rwb; Tue, 4 Oct 2022 02:28:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6okbzONjQqcKekpi/cRvUHskUiPVquRh1He5OGTogcOLAKiCXhoEoBhFrNuN4jTH3mrNvg X-Received: by 2002:a17:906:fe4a:b0:781:3b6:f8b0 with SMTP id wz10-20020a170906fe4a00b0078103b6f8b0mr19247272ejb.183.1664875707996; Tue, 04 Oct 2022 02:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664875707; cv=none; d=google.com; s=arc-20160816; b=RAU7Z55k/dWk2EqltA2CyLtWu6nHkutsXIjQ6aofKWq2r/Wpa9R+0BFKhW6snaUahV FIWqIi06uxEA29p0BVwcMnJKd7rhWOd4uExNkt88EVCmmm/TyngHHfLDkx5IEmDixoRi 3NFwtlSMhqZYXsgBniwSKaCRhAyitHXr1hcRU6YnBrkJBH1nrv9HKWYkLK4+aFukvpc5 za8tBGbQRE1MxeQDmIz9yuf6Yqij/ehhxGptNTi8qc1lCaNt2aR1ytmhhyMWuloYw4mz ty4aOSZLfNj82rm1JC5GYw6j5w3UYzFTY3SQFHfxhDfCDKtNYQuI2TM/PGeDcR32+Q5P YxHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=VBeaHDpdMW1szRoAus88zuJw4xnVO7SqiCfgFw2DXwo=; b=RP/myWuTzS/Tbp8rIbYo7nuFQy7LvwDSINMxwJxE0L4ULYtmty6kszCyDYAI0CEwS9 OvXlJR9t4BOIiC+tqTn3G10qUwCvkTXYyQHDcY0BFXAm9XlLWfJpSCKz3g/2k+/vLr21 4JLbRChAFbge0Y4fJ4Ka/fhahV4CYcL1MwsA1/Lkz22JPgwboBGMtrhbtLU4NmlLfiPh DycWIBsWuGFFJk4lhfDBvWikmP+RIX27rmP1RKks+l8ZSFQmrzPeR/kEZjnqzqxG+vES R/vzS1lhqGysWRlDGUUyGfTbbZt8+rsy1pEn9aBpquzwpgb1hio47x/bfqfeJafjIiyi fwQA== 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 o20-20020a170906775400b00781b67df7f6si9362353ejn.167.2022.10.04.02.28.02; Tue, 04 Oct 2022 02:28:27 -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 S230333AbiJDIt6 (ORCPT + 99 others); Tue, 4 Oct 2022 04:49:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229724AbiJDIto (ORCPT ); Tue, 4 Oct 2022 04:49:44 -0400 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2014B6477 for ; Tue, 4 Oct 2022 01:49:43 -0700 (PDT) Received: by mail-il1-f198.google.com with SMTP id h10-20020a056e021d8a00b002f99580de6cso5614804ila.5 for ; Tue, 04 Oct 2022 01:49:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=VBeaHDpdMW1szRoAus88zuJw4xnVO7SqiCfgFw2DXwo=; b=n/5b3du8kYZDhB6CQlwGfDp7rutkWHZarNyzjuHWWUUSLQLt1ZDVLhECNnl9Cmgz5b CRjYeOUh1HMQp2Sk4qipSfG9g35SP6ISZ47MatYY7ROBtVvcjlkd8XTqb5wiGvdG8D3f pLeHrCIG4vqMQjcBZFbpla6c6eo9hdgd7Qeaz+gNwWkbJUEfKOytvPQM2bia+OMy9zAt rTfoyC7R95h8i4PM6quzj1KV4J7A22foIyI8+l3jwl0cavvbqo0seUODw7F4Hg2UjkOy 2tnb2U4HFTI6wUpkyK8Wp0dMXdLVUGNPQExhkNyEsLD2TNkeskmOdzbglOsv/LHj4+zL sjQg== X-Gm-Message-State: ACrzQf3+C0U9zKDK1vtBiY5XwryMZVwCa0dIDESVm9SvMYNIzhCQKj+V j+rtUsahXxw1J5aJcoAYHFVK914BiivZDGhZ/F3MsAtYX0ef MIME-Version: 1.0 X-Received: by 2002:a05:6e02:18cc:b0:2f1:fcbb:e6e0 with SMTP id s12-20020a056e0218cc00b002f1fcbbe6e0mr11469385ilu.139.1664873382171; Tue, 04 Oct 2022 01:49:42 -0700 (PDT) Date: Tue, 04 Oct 2022 01:49:42 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000008a5a2e05ea318aa9@google.com> Subject: [syzbot] memory leak in __get_metapage From: syzbot To: akpm@linux-foundation.org, 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 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 --- 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