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 X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 454ACC433DF for ; Tue, 13 Oct 2020 17:02:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED4DE25314 for ; Tue, 13 Oct 2020 17:02:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728040AbgJMRC1 (ORCPT ); Tue, 13 Oct 2020 13:02:27 -0400 Received: from mail-il1-f197.google.com ([209.85.166.197]:52611 "EHLO mail-il1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726727AbgJMRC1 (ORCPT ); Tue, 13 Oct 2020 13:02:27 -0400 Received: by mail-il1-f197.google.com with SMTP id m1so306304iln.19 for ; Tue, 13 Oct 2020 10:02:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=nutX9FCD1sElMBWzX5zSlVufTFPkqD5XYfFefpFFUC8=; b=CkWdzJXCacwVcz89UWjLQo08UVYj+u2zEmBX8ktOG4xKOpwXaFo1ot6G7CvgBrSyD2 U8YkpUFOsV54jjsADTmCWGgrJNJ3tOnEShYcrPQLSYrv1A3w7JQi5hOgw2iFjVvL8zqk wULRUcY+qk2A8qHZjIeL8P5QcHQRYd6c8TtW6svoWEZxA3EawfbqRPkSlw4C+6MQ2QyL EcM8ncorM1Kc+R5IxJT2+00/ldFkV5Vb83ZSV7mR/gcEG3+6l3dP8gdJ8kQmqeC4QM7k OpifbV6M+MGnggKOgjxucoWZJDcpSW9ekS7zxbXDt81bYaaeSutY8FRvrhnywcdHRoSq XJ2A== X-Gm-Message-State: AOAM533HNlM0qzYuOggegKN2VKfkvkRIHkGIz2RZnbdeP9isiHKuvSf2 H428bijVw/JqpwAGvfPNMSEotEnH3k617eYoHPTPTWpm2Zsm X-Google-Smtp-Source: ABdhPJyBFzEESpAkSw26jMiMsYUQcC92zNovocU/BNPCkqFwXluh518F3xkAhrU6WxOKpa9vgxBM6NAl0PuOedq7THGvvMdHvUVF MIME-Version: 1.0 X-Received: by 2002:a92:98c5:: with SMTP id a66mr802236ill.50.1602608544806; Tue, 13 Oct 2020 10:02:24 -0700 (PDT) Date: Tue, 13 Oct 2020 10:02:24 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000000702ea05b19061b2@google.com> Subject: WARNING in drop_nlink (2) From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk 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: 583090b1 Merge tag 'block5.9-2020-10-08' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14531384500000 kernel config: https://syzkaller.appspot.com/x/.config?x=de7f697da23057c7 dashboard link: https://syzkaller.appspot.com/bug?extid=651ca866e5e2b4b5095b compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11126817900000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1705b5bf900000 Bisection is inconclusive: the issue happens on the oldest tested release. bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=133e1210500000 final oops: https://syzkaller.appspot.com/x/report.txt?x=10be1210500000 console output: https://syzkaller.appspot.com/x/log.txt?x=173e1210500000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+651ca866e5e2b4b5095b@syzkaller.appspotmail.com MINIX-fs: mounting unchecked file system, running fsck is recommended ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6857 at fs/inode.c:303 drop_nlink+0xb9/0x100 fs/inode.c:303 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 6857 Comm: syz-executor857 Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d6/0x29e lib/dump_stack.c:118 panic+0x2c0/0x800 kernel/panic.c:231 __warn+0x227/0x250 kernel/panic.c:600 report_bug+0x1b1/0x2e0 lib/bug.c:198 handle_bug+0x42/0x80 arch/x86/kernel/traps.c:234 exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:drop_nlink+0xb9/0x100 fs/inode.c:303 Code: 49 8b 1e 48 8d bb b8 07 00 00 be 08 00 00 00 e8 9d 46 ef ff f0 48 ff 83 b8 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 87 92 af ff <0f> 0b eb 8a 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 63 ff ff ff 4c RSP: 0018:ffffc900010d7c50 EFLAGS: 00010293 RAX: ffffffff81c56b69 RBX: 1ffff11010a15c21 RCX: ffff88809190c1c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81c56aee R09: fffffbfff16c82b0 R10: fffffbfff16c82b0 R11: 0000000000000000 R12: ffff8880850ae108 R13: ffffc900010d7ca8 R14: ffff8880850ae0c0 R15: dffffc0000000000 inode_dec_link_count include/linux/fs.h:2190 [inline] minix_rename+0x42b/0x7f0 fs/minix/namei.c:226 vfs_rename+0xa5f/0x1500 fs/namei.c:4309 do_renameat2+0x84a/0x1070 fs/namei.c:4456 __do_sys_renameat fs/namei.c:4497 [inline] __se_sys_renameat fs/namei.c:4494 [inline] __x64_sys_renameat+0x9a/0xb0 fs/namei.c:4494 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x444729 Code: 8d d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffefa186b68 EFLAGS: 00000246 ORIG_RAX: 0000000000000108 RAX: ffffffffffffffda RBX: 00000000004002e0 RCX: 0000000000444729 RDX: 0000000000000009 RSI: 0000000020000500 RDI: 000000000000000a RBP: 00000000006d0018 R08: 00000000004002e0 R09: 00000000004002e0 R10: 00000000200017c0 R11: 0000000000000246 R12: 0000000000402310 R13: 00000000004023a0 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. --- 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches