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 76B24C4332F for ; Mon, 10 Oct 2022 07:43:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DB92A6B0073; Mon, 10 Oct 2022 03:43:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D697A6B0074; Mon, 10 Oct 2022 03:43:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C0A61900002; Mon, 10 Oct 2022 03:43:13 -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 A12E26B0073 for ; Mon, 10 Oct 2022 03:43:13 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 7A008C0BF9 for ; Mon, 10 Oct 2022 07:43:13 +0000 (UTC) X-FDA: 80004249066.14.CD9F025 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by imf20.hostedemail.com (Postfix) with ESMTP id 059E11C0030 for ; Mon, 10 Oct 2022 07:43:12 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id g1so15356232lfu.12 for ; Mon, 10 Oct 2022 00:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Xk6vHR1LI1eBj6DUWp7wzEFnP8VWTIx1ZpZ6qe8r24U=; b=OTCgiikGDaJa+LL4cBwi9RR62oSfZKKlVQTNvaFrxUnFKqle9gEiQ7xqzLoEjBhRLh MraVhl+/OuLcxwKGD2hIuiEaC80/vEnObP47jjx+WcBoapiBC/kZW4bsrKwdATRVDVO5 qihkkspRkCoCMpMRgftxdmO5jFNE1sy8uVPSpg6pQkNfAOM2o5PlO4jLQoG/19aJyOQq TkZ/p3+Wvc0YALqvFtmBTkvfSMI5Ci5ElV0hy0qrBi0izzrkKZu6DVclBfRIrNfL5gP5 g8DwiYKb5grgtuUhmg6vfxeUE2QMXuSL3Z9RAg+ZA6OuuZ9iVjUDGtevypO04d7jYem3 QkCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Xk6vHR1LI1eBj6DUWp7wzEFnP8VWTIx1ZpZ6qe8r24U=; b=VIvjU5udONk2IHLAigVk/vpnYK4bD6abT2vO5me6lyMejCGs2iMQO6JulcuoS2kVYd 1QbyoitKemhYDjeV7leQlk8R/cvLJ9SkzoXeoaD5MlGR3E1ExsYkkYDe1GdwDJIKPtwx qeWWhRw4Ict/6OvfBFeSd3WcS3Dot6aLwhDsTdnhKsNBCl4QspggMiTnoHuOKULnSyL4 jzXJgAAbZXTNRWUUcrsBFMrdSZMfDvKJMpraUMXYs3h5+51dCf6B32arYxhHVhbBdbEZ nUCO9vsU76c+kVlBa5+g4EJsoac77QwQABFNukJoirOuuei9E5uNZ4DnBQreLWq4Epqr sS5Q== X-Gm-Message-State: ACrzQf07EkYsdpLBHRV2dzVVabP1h6kksFEHugAX/w+g7727euGVdtUJ iIAs9GrAOUBK8Yv5l7NzUnPnU3wdppRFRmyn8T9hOYVkizA= X-Google-Smtp-Source: AMsMyM6yQe3JL7eIg0+1+T0z/6A4TzNeWUxn5FI60EXivVQz2i8fW0sshTXhRwtfFAgPFGVJ5uJDH0jQRLdowbrXuVA= X-Received: by 2002:a05:6512:3297:b0:4a2:3f76:486a with SMTP id p23-20020a056512329700b004a23f76486amr6490712lfe.137.1665387791145; Mon, 10 Oct 2022 00:43:11 -0700 (PDT) MIME-Version: 1.0 References: <000000000000baa88c05eaa934bb@google.com> In-Reply-To: <000000000000baa88c05eaa934bb@google.com> From: Dmitry Vyukov Date: Mon, 10 Oct 2022 09:42:59 +0200 Message-ID: Subject: Re: [syzbot] stack segment fault in truncate_inode_pages_final To: syzbot , almaz.alexandrovich@paragon-software.com, ntfs3@lists.linux.dev Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, willy@infradead.org Content-Type: text/plain; charset="UTF-8" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665387793; a=rsa-sha256; cv=none; b=KyGPModAkab6tb8eSa6IQ2rneXMCKstfzuTlAc2C7FnSp3PN1bfHR8VDWSMACFUC6qfffV ks4hFVTBlK+fvpGnlzH2+EpbYbOafrlY7V+2STkU/d8jGh8iwb1DTlDD8HfyIjvoQlVFVU ZClgtcRzBsI0OvNZzDwEc+WzLDrZ4Hs= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=OTCgiikG; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of dvyukov@google.com designates 209.85.167.50 as permitted sender) smtp.mailfrom=dvyukov@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665387793; 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:references:dkim-signature; bh=Xk6vHR1LI1eBj6DUWp7wzEFnP8VWTIx1ZpZ6qe8r24U=; b=foFGGRtbaNKIuiaRjBXy4IwGfouupOwXhhJ4P8grMD63AiXVMyvAbCo6arizuBEwDatxas ew/+rBGRarXG/syzYzYhYhDgIEvxzBCKNFsVLHHWLv7WBZxnja2wh8Go8TTHfGa/IJCaVL iBYfXvQ30rI8JhPVbG04P34VYc4C2+Y= X-Stat-Signature: npf4tywz3h5jfeut5za5tjbdywo9mu47 X-Rspamd-Queue-Id: 059E11C0030 Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=OTCgiikG; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of dvyukov@google.com designates 209.85.167.50 as permitted sender) smtp.mailfrom=dvyukov@google.com X-Rspam-User: X-Rspamd-Server: rspam03 X-HE-Tag: 1665387792-66782 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 Mon, 10 Oct 2022 at 09:35, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 833477fce7a1 Merge tag 'sound-6.1-rc1' of git://git.kernel.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=17cae158880000 > kernel config: https://syzkaller.appspot.com/x/.config?x=676645938ad4c02f > dashboard link: https://syzkaller.appspot.com/bug?extid=0f7dd5852be940800ca4 > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > > Unfortunately, I don't have any reproducer for this issue yet. > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/f66757bbae28/disk-833477fc.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/50ec5a2788dd/vmlinux-833477fc.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+0f7dd5852be940800ca4@syzkaller.appspotmail.com +ntfs3 maintainers > stack segment: 0000 [#1] PREEMPT SMP KASAN > CPU: 1 PID: 22407 Comm: syz-executor.5 Not tainted 6.0.0-syzkaller-05118-g833477fce7a1 #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 > RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] > RIP: 0010:lock_release+0x55f/0x780 kernel/locking/lockdep.c:5677 > Code: 48 c7 c0 40 e8 ca 8d 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 e0 01 00 00 48 8b 05 65 42 6d 0c e8 80 2e 06 <00> 85 c0 74 17 65 ff 0d 55 c9 a4 7e 0f 85 3e fb ff ff e8 ec ce a2 > RSP: 0018:ffffc90005367a10 EFLAGS: 00010002 > RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001 > RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 > RBP: 1ffff92000a6cf44 R08: 0000000000000000 R09: ffffffff8ddf9957 > R10: fffffbfff1bbf32a R11: 0000000000000000 R12: ffff888093973498 > R13: ffff888093973278 R14: ffffffff8a22b140 R15: ffff8880478d8a00 > FS: 00007f9ae3bb2700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 0000001b2e927000 CR3: 000000003f6b9000 CR4: 00000000003506e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:157 [inline] > _raw_spin_unlock_irq+0x12/0x40 kernel/locking/spinlock.c:202 > spin_unlock_irq include/linux/spinlock.h:399 [inline] > truncate_inode_pages_final+0x5f/0x80 mm/truncate.c:484 > ntfs_evict_inode+0x16/0xa0 fs/ntfs3/inode.c:1741 > evict+0x2ed/0x6b0 fs/inode.c:665 > iput_final fs/inode.c:1748 [inline] > iput.part.0+0x55d/0x810 fs/inode.c:1774 > iput+0x58/0x70 fs/inode.c:1764 > ntfs_fill_super+0x2e89/0x37f0 fs/ntfs3/super.c:1190 > get_tree_bdev+0x440/0x760 fs/super.c:1323 > vfs_get_tree+0x89/0x2f0 fs/super.c:1530 > do_new_mount fs/namespace.c:3040 [inline] > path_mount+0x1326/0x1e20 fs/namespace.c:3370 > do_mount fs/namespace.c:3383 [inline] > __do_sys_mount fs/namespace.c:3591 [inline] > __se_sys_mount fs/namespace.c:3568 [inline] > __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 > 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 > RIP: 0033:0x7f9ae2a8bada > Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 > RSP: 002b:00007f9ae3bb1f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 > RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9ae2a8bada > RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f9ae3bb1fe0 > RBP: 00007f9ae3bb2020 R08: 00007f9ae3bb2020 R09: 0000000020000000 > R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 > R13: 0000000020000100 R14: 00007f9ae3bb1fe0 R15: 0000000020000140 > > Modules linked in: > ---[ end trace 0000000000000000 ]--- > RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] > RIP: 0010:lock_release+0x55f/0x780 kernel/locking/lockdep.c:5677 > Code: 48 c7 c0 40 e8 ca 8d 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 e0 01 00 00 48 8b 05 65 42 6d 0c e8 80 2e 06 <00> 85 c0 74 17 65 ff 0d 55 c9 a4 7e 0f 85 3e fb ff ff e8 ec ce a2 > RSP: 0018:ffffc90005367a10 EFLAGS: 00010002 > RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001 > RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 > RBP: 1ffff92000a6cf44 R08: 0000000000000000 R09: ffffffff8ddf9957 > R10: fffffbfff1bbf32a R11: 0000000000000000 R12: ffff888093973498 > R13: ffff888093973278 R14: ffffffff8a22b140 R15: ffff8880478d8a00 > FS: 00007f9ae3bb2700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 0000001b2e927000 CR3: 000000003f6b9000 CR4: 00000000003506e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > > > --- > 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. > > -- > 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/000000000000baa88c05eaa934bb%40google.com.