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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94B12C433FE for ; Tue, 11 Oct 2022 10:32:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D9B166B0073; Tue, 11 Oct 2022 06:32:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D4A7C6B0074; Tue, 11 Oct 2022 06:32:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BC7706B0075; Tue, 11 Oct 2022 06:32:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id A25356B0073 for ; Tue, 11 Oct 2022 06:32:50 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 52E52160369 for ; Tue, 11 Oct 2022 10:32:50 +0000 (UTC) X-FDA: 80008305300.03.9F0771E Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by imf07.hostedemail.com (Postfix) with ESMTP id F266E4002C for ; Tue, 11 Oct 2022 10:32:49 +0000 (UTC) Received: by mail-io1-f69.google.com with SMTP id q12-20020a5d834c000000b006bc2cb1994aso3105104ior.15 for ; Tue, 11 Oct 2022 03:32:49 -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=7bVjdDa/T8nilmPO8CoYTWVhk6hDrSjy5BbpuUFChRrPfQGd71nNXRqKNRXsishiGx 04jllUzSoO8wxAG3s2PpC2PlBquTM5ZmW4BALkc1nAG9YJUtx+kNm4/T9XTI03wRrnbH TkN30rdjfMEosnTEYruxHtHTiRpMXoKeZJ8LGS/U5HRxdzBA7kXmCcwIablyaB98Cyws rekN7Swa5epmuJE+uSKI4K73wZpVX+37uwdgahWoiQw424eLcgk6lPmm70dW8/gF33Oq r4GCYp/kpqAtUPavQiUAtcKqXEhU3B9uUQ0BlG+s0bIPn7kTqPReC07WFUHZrgaguJ57 6KLg== X-Gm-Message-State: ACrzQf37ER4R16GVuk/qWOo1NOfSix5x9Dd/qxpGck6VvlIap/x0Ts8Z yeuSUeC9JLQ/YHUqWC//5Q4h4XJMJLuyZzKbO4T60oUsk62i X-Google-Smtp-Source: AMsMyM7tl3JX9Jyp+MS6PcL7aE2pB0UVSmVUwyZx1DO2dygX5MspS3Mi9vYCshggZPAUfOjhcWIkLvk4nWWNdK2TVW0zVeLzZNzp 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" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665484370; a=rsa-sha256; cv=none; b=Aho63trwHquqHXk4VXrmlAZkIxwIGOP2/XBQRQ944iCMdTwKTJ+A/uMo4n+UTd6Yotqudy cRHiwH/j9FpVWg7iBCs97hO6dTjLswficXguuuHBqXTnNb4Qbyuh4EEkGMrHg31lGaMVmB o2VrKfyD4jGbooW0IKf371Dg94ceIhQ= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=appspotmail.com (policy=none); spf=pass (imf07.hostedemail.com: domain of 3UUZFYwkbABQCIJ4u55yBu992x.08805yECyBw87Dy7D.w86@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com designates 209.85.166.69 as permitted sender) smtp.mailfrom=3UUZFYwkbABQCIJ4u55yBu992x.08805yECyBw87Dy7D.w86@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665484370; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references; bh=MdMDpSpbJKTXlHS2J7C7gfIldmhpb1GFucBqg1aULWs=; b=39C0LFowrFwRj9V9NR9xDlGjZIBFGUodcQ9sGH5CXsHG457BigMYSCTMj/Kr28liI/NMBA wNdOUodRwPDEyVNLhk1MsctdYjgzCbcxQuGavQUfXQ+Aft7w8yfrscG9N/1TtPO7jCDd09 xD9RtZvsMNoTlgoQtzIuLFWytEu/SGQ= X-Stat-Signature: 9zut3wn6jfcwowznjc1p9atxck1z68wx X-Rspamd-Queue-Id: F266E4002C Authentication-Results: imf07.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=appspotmail.com (policy=none); spf=pass (imf07.hostedemail.com: domain of 3UUZFYwkbABQCIJ4u55yBu992x.08805yECyBw87Dy7D.w86@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com designates 209.85.166.69 as permitted sender) smtp.mailfrom=3UUZFYwkbABQCIJ4u55yBu992x.08805yECyBw87Dy7D.w86@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com X-Rspam-User: X-Rspamd-Server: rspam03 X-HE-Tag: 1665484369-795911 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > 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.