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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66701FA3741 for ; Fri, 28 Oct 2022 23:45:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiJ1Xpi (ORCPT ); Fri, 28 Oct 2022 19:45:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbiJ1Xpf (ORCPT ); Fri, 28 Oct 2022 19:45:35 -0400 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAAA274E0D for ; Fri, 28 Oct 2022 16:45:33 -0700 (PDT) Received: by mail-il1-f200.google.com with SMTP id n12-20020a056e02140c00b003005d5015a3so6153963ilo.21 for ; Fri, 28 Oct 2022 16:45:33 -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:message-id:reply-to; bh=H60CO/7ESD8qYAR25JqKtv1QA/7SsWIOSgVv3mhXfqY=; b=QSrCKKmF4kIIqaPeiYqzQhMeqUIbktppQRm5K+h3Q4BlB4zuGotNw3QX99lguzUR8Z HpMaotZm9X23c7lYEDljnTEl0XuQ0Vtj1nSsEDT4s6Dp229bfB3SYmURb7J0oG+Lib/S fByuvEd/nzKltITuq16SSwQgumvXWC7DdlbnsTKK3GKSuPZzejmnIF5HqIA1xyUzvcxu HuCzXLU2BwxrLbdfrbW2lVes1fUrplrOvAQT/BMUxI1HrPBu88jkTwDx2dKhbGcAjb1V eukQxnXpbujbtxaKSJw6KLGz8D57NysNBhZy+bWhKujqEaFV3ccc3jF6NdJmS0ro1O8R 74Rw== X-Gm-Message-State: ACrzQf1zDU+Po1D+S2TogOywBYAAZGoIU5oT/b5Wx9NiBZBt7+iH0KE0 1GPwAs1aRhTBplvvyZgGH7xzlJA+nJJJFi8y9a56Zzauy6M8 X-Google-Smtp-Source: AMsMyM4JWcj4ZzNZUcc9Ft4kLvCmNODOGL0M5AXbM8q37wEto5tD876N2CZkKPqPI+DRndw565l6Pg9wlWRJ2vQdCoWA3e9RLLhr MIME-Version: 1.0 X-Received: by 2002:a05:6638:380f:b0:363:cb7f:4fb8 with SMTP id i15-20020a056638380f00b00363cb7f4fb8mr981737jav.227.1667000733222; Fri, 28 Oct 2022 16:45:33 -0700 (PDT) Date: Fri, 28 Oct 2022 16:45:33 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000008b529305ec20dacc@google.com> Subject: [syzbot] kernel BUG in dnotify_free_mark From: syzbot To: amir73il@gmail.com, jack@suse.cz, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 247f34f7b803 Linux 6.1-rc2 git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=157f594a880000 kernel config: https://syzkaller.appspot.com/x/.config?x=1d3548a4365ba17d dashboard link: https://syzkaller.appspot.com/bug?extid=06cc05ddc896f12b7ec5 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15585936880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14ec85ba880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/a5f39164dea4/disk-247f34f7.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/8d1b92f5a01f/vmlinux-247f34f7.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/1a4d2943796c/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+06cc05ddc896f12b7ec5@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:136! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 56 Comm: kworker/u4:4 Not tainted 6.1.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:136 Code: 48 89 df e8 ff b3 dd ff 48 83 3b 00 75 17 e8 e4 bc 89 ff 48 8b 3d 4d ce 0f 0c 4c 89 f6 5b 41 5e e9 a2 de dc ff e8 cd bc 89 ff <0f> 0b cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc90001577b68 EFLAGS: 00010293 RAX: ffffffff81fe1253 RBX: ffff888075d2b080 RCX: ffff888018d40000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888075d2b000 RBP: ffffc90001577c30 R08: dffffc0000000000 R09: fffffbfff2325fe4 R10: fffffbfff2325fe4 R11: 1ffffffff2325fe3 R12: ffff888145e77800 R13: ffffc90001577bc0 R14: ffff888075d2b000 R15: ffff888075d2b000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f127cdcaa38 CR3: 000000001dd46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fsnotify_final_mark_destroy fs/notify/mark.c:278 [inline] fsnotify_mark_destroy_workfn+0x2cc/0x340 fs/notify/mark.c:902 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:136 Code: 48 89 df e8 ff b3 dd ff 48 83 3b 00 75 17 e8 e4 bc 89 ff 48 8b 3d 4d ce 0f 0c 4c 89 f6 5b 41 5e e9 a2 de dc ff e8 cd bc 89 ff <0f> 0b cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc90001577b68 EFLAGS: 00010293 RAX: ffffffff81fe1253 RBX: ffff888075d2b080 RCX: ffff888018d40000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888075d2b000 RBP: ffffc90001577c30 R08: dffffc0000000000 R09 --- 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