Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6554839rwi; Mon, 24 Oct 2022 03:04:06 -0700 (PDT) X-Received: by 2002:a17:902:e8c4:b0:186:6d63:7e with SMTP id v4-20020a170902e8c400b001866d63007emr20332417plg.122.1666605845792; Mon, 24 Oct 2022 03:04:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6J8fPHMb89NTRTZdjjjQZJjIDXfwRhO24ERxVGgCDKkzjmpp7wN9kAu/odP+YSdSLUuHVr X-Received: by 2002:a17:902:e8c4:b0:186:6d63:7e with SMTP id v4-20020a170902e8c400b001866d63007emr20332354plg.122.1666605844801; Mon, 24 Oct 2022 03:04:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666605844; cv=none; d=google.com; s=arc-20160816; b=08R26msg4kRjvurJ4IpAEPHVbhu5PiTol815a6uJ4KHeVACva4vaJFZyTDyJfZx0dK ZqinTkkbVr3bzbkpqXPDdcy9yhmfkX4WUW2Tt13BhHRgy/rP/Ly5snnJ4p5Aqrl23X0j AQsg4yzOjRTB7JILZDvDMNCyeG/fvHxILx9KH06gAcF8coAFa+RemB01saHqOh0Afydq 2FApsM6Gf6iAiwcTzAD1gGDgcRBz76zAT3IwdS4PnfHSsGXuAWA5EqLdbFgZnOiErBCE OYsr2v1+GrVNjFUbMfFc+ae5940rVPZ87kJoe2BYt+kS5QFCckr1BQpbemRnjDihrZl5 UR0g== 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=jRqUEEkxqNLB9GizKm4X2msaemhykwb+JTnKm2eatjU=; b=lJHzipAha2AdQNQ9w4oj90ESqqEEY5XYTM5g0MSKqxeUU1/Ql7C2s6CanaabVQmnvJ erKrC0oqE60T9rOXGSKWIs2bd6HlD757TOMZ6exLQKwWlSHWkV6XYkTpQX8U+9BiIVWI vIZAhKLp4Cj5uOBuOfvHGK2t6UfmI/MS9WoZ2nJyiGJ64DS62u2GJKxQAwBm4uC5lp4G 1eQfHt6YfhyaXlkW+9QzzMEKz0dcujnmLLRadLY/F1eMMYnLPtD25aRgoiz/KqwyMcfZ LeBJAIjSQU9bigcEEKf2WVbszISrsXeEwa6DsAp1JU2LQ6M6g89FRLCE2Vc0HkTzr6+r McIQ== 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 l190-20020a6391c7000000b00438a46acbc5si32883866pge.384.2022.10.24.03.03.44; Mon, 24 Oct 2022 03:04:04 -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 S229853AbiJXJ6l (ORCPT + 99 others); Mon, 24 Oct 2022 05:58:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229718AbiJXJ6i (ORCPT ); Mon, 24 Oct 2022 05:58:38 -0400 Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 907E0578B8 for ; Mon, 24 Oct 2022 02:58:37 -0700 (PDT) Received: by mail-io1-f70.google.com with SMTP id u11-20020a6b490b000000b006bbcc07d893so6104453iob.9 for ; Mon, 24 Oct 2022 02:58:37 -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=jRqUEEkxqNLB9GizKm4X2msaemhykwb+JTnKm2eatjU=; b=yA5pQ+TFFzn9C27zY01Lv5ozUC+dCmYtdLGTK6RistHvp3Q89PddzrZffTvG3/pYny IEsbJ95aCpEuYHH6MRacE3a8YEkU2Qp8HMm8q0RYzvUnhPhocu2wHmb99H4lw2WsYPM/ HswFSlv8kD3MOTGjaxi/RIM+6E8MRjKCTEKrA1KEJ1rPZzJ2swyhwEIBE7OJQOt+qqRD K/uB4B5x0GsAfeKl3MKMSyQ3DInwOHc3Zu7L+jDVdRYbG16LzmWuDEnoGDSlUI8sjBDf 8C7JSghAUyu8WwKygOh13++XqF/MVxYvxAsVN/D7QuBu+UwdQ57Bs0M/DWXmf8L+Ee8Y wAUQ== X-Gm-Message-State: ACrzQf3PKwosbXCeYWcD915bCv/GAfkhV4MnRFG/JPrJgkeF6CJtJWj2 EilyVz6tqmE+Cv1kdRYhRnCkWhMpaYS9odNFZBQmAjuri2ym MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1a2a:b0:2fc:2163:5072 with SMTP id g10-20020a056e021a2a00b002fc21635072mr19896810ile.121.1666605516967; Mon, 24 Oct 2022 02:58:36 -0700 (PDT) Date: Mon, 24 Oct 2022 02:58:36 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000d1d6c205ebc4d512@google.com> Subject: [syzbot] kernel BUG in nilfs_btnode_create_block From: syzbot To: konishi.ryusuke@gmail.com, linux-kernel@vger.kernel.org, linux-nilfs@vger.kernel.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: bbed346d5a96 Merge branch 'for-next/core' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=169b556a880000 kernel config: https://syzkaller.appspot.com/x/.config?x=3a4a45d2d827c1e dashboard link: https://syzkaller.appspot.com/bug?extid=b0a35a5c1f7e846d3b09 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/e8e91bc79312/disk-bbed346d.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c1cb3fb3b77e/vmlinux-bbed346d.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b0a35a5c1f7e846d3b09@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at fs/nilfs2/btnode.c:59! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 2986 Comm: syz-executor.2 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_btnode_create_block+0x1c0/0x2f8 fs/nilfs2/btnode.c:58 lr : nilfs_btnode_create_block+0x1c0/0x2f8 fs/nilfs2/btnode.c:58 sp : ffff80001f993640 x29: ffff80001f993640 x28: 00000000000a0011 x27: ffff000115a270a8 x26: 00000000000a0011 x25: 0000000000000001 x24: ffff000115a270a8 x23: 000000000000000a x22: 0000000000020011 x21: ffff000119804898 x20: 000000000000091f x19: ffff000119b43498 x18: 000000000000001c x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000406 x12: 0000000000040000 x11: 000000000000bf84 x10: ffff80001b857000 x9 : 00000000ffffffff x8 : ffff000119b434f8 x7 : ffff8000083d3920 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000020000 x3 : 000000000000000a x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: nilfs_btnode_create_block+0x1c0/0x2f8 fs/nilfs2/btnode.c:58 nilfs_btnode_prepare_change_key+0x138/0x19c fs/nilfs2/btnode.c:219 nilfs_btree_prepare_update_v+0x128/0x17c fs/nilfs2/btree.c:1921 nilfs_btree_prepare_propagate_v fs/nilfs2/btree.c:1988 [inline] nilfs_btree_propagate_v+0x110/0x420 fs/nilfs2/btree.c:2033 nilfs_btree_propagate+0x258/0x350 fs/nilfs2/btree.c:2090 nilfs_bmap_propagate+0x40/0xa8 fs/nilfs2/bmap.c:337 nilfs_collect_file_data+0x34/0xa8 fs/nilfs2/segment.c:568 nilfs_segctor_apply_buffers+0x84/0x168 fs/nilfs2/segment.c:1012 nilfs_segctor_scan_file_dsync fs/nilfs2/segment.c:1101 [inline] nilfs_segctor_collect_blocks+0x1bc/0x93c fs/nilfs2/segment.c:1255 nilfs_segctor_collect fs/nilfs2/segment.c:1497 [inline] nilfs_segctor_do_construct+0x3e4/0xee8 fs/nilfs2/segment.c:2039 nilfs_construct_dsync_segment+0x21c/0x2ec fs/nilfs2/segment.c:2306 nilfs_writepages+0x6c/0xa8 fs/nilfs2/inode.c:170 do_writepages+0x144/0x27c mm/page-writeback.c:2468 filemap_fdatawrite_wbc+0xac/0xd0 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0x84/0x1e8 mm/filemap.c:673 __generic_file_write_iter+0x188/0x21c mm/filemap.c:3852 generic_file_write_iter+0x6c/0x168 mm/filemap.c:3898 call_write_iter include/linux/fs.h:2187 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x2dc/0x46c fs/read_write.c:578 ksys_write+0xb4/0x160 fs/read_write.c:631 __do_sys_write fs/read_write.c:643 [inline] __se_sys_write fs/read_write.c:640 [inline] __arm64_sys_write+0x24/0x34 fs/read_write.c:640 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: 14000002 97cd2111 aa1303e0 9400004f (d4210000) ---[ end trace 0000000000000000 ]--- --- 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.