Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1185588rdf; Wed, 22 Nov 2023 07:45:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgjWOIKKfTbsBU/YgpXjvv84CAmMk1JfgPwgYqAG5Bd7LROzrqrbsXkzjx11rJnItsKdEn X-Received: by 2002:a05:6a20:c887:b0:188:1281:8994 with SMTP id hb7-20020a056a20c88700b0018812818994mr3530560pzb.35.1700667932068; Wed, 22 Nov 2023 07:45:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700667932; cv=none; d=google.com; s=arc-20160816; b=IwThM/AciSaRFp7gkjByZKJSaMXB2SusEWoyDgChKLYwp1nQKJerWFpxGZbghVAIOC kafHP39WP8ryDaLp/HLz8Sp0xMIghJ2DwZlj9aCTBbBetKDqmm29ab7AIWo/p6z5D5QE 7TZzu/EI88kImHnxOnkwcEEkgMOpbtNpZF6UYFwKqXxQs81alrxgYO8A6yIj99sB6g5E ObBY8v1rERlxhkEh46jIEpRyKklpdLuUYR1uueEs7Iq8HcAQnnZLjmHvoAcJCJKCZqva 2PVCYEDpD3mCUkI/AtOMGzHY3nj3VXUZbz2QhWltfJ8y2JMco0YXEhCXzTLihCxmjCub sTxA== 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=IWVwyNQEDfvaOtWm2dnHqh31z5AnRQ95a3YCW/ap4Xo=; fh=/wAluN//oO4+GUbko/7LBNwA6aNjoV3cmD9h96MN/qY=; b=PdoIuvr8+KLiRM8QkaLQHnayK0SvtZ58xg66MrYbo78fJ8VQqTT7QJ8HjAdZ7p1DsN hKzNj0p5FGdSqlPWdXwa/5r4QxGwVj4y68FbUnaD+DolPCn6r+fltZ956YD6x/bnrSMC JSFwXzvjnLrxMvLvxswgXw99XdG1Bnj0eZPa9GC6zM5MkDWiae4S1nhqls6P2EQ0t+7h h1Ihj/dxX3EQgHXAioXuXVOfVe1EoytjkzTnX01+imQHhNMiTHhuj/bbHHRZxqacCFu4 Nu5iVrgiOnuZIl1b+7g6Zajj1a/bVaOfhIGJ/+O/BFYGtCxnLZdF4vOfkv0j8K0vM6F7 I8Ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c14-20020a056a000ace00b006c370186331si13351076pfl.218.2023.11.22.07.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:45:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E35AC8212AB0; Wed, 22 Nov 2023 07:45:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235273AbjKVPpJ (ORCPT + 99 others); Wed, 22 Nov 2023 10:45:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235234AbjKVPog (ORCPT ); Wed, 22 Nov 2023 10:44:36 -0500 Received: from mail-pl1-f206.google.com (mail-pl1-f206.google.com [209.85.214.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C95B82693 for ; Wed, 22 Nov 2023 07:43:24 -0800 (PST) Received: by mail-pl1-f206.google.com with SMTP id d9443c01a7336-1cf6177552cso42842535ad.3 for ; Wed, 22 Nov 2023 07:43:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700667804; x=1701272604; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IWVwyNQEDfvaOtWm2dnHqh31z5AnRQ95a3YCW/ap4Xo=; b=DtO/F8quoLa3OIJPX/g3VLOCAVLT0UXjRfWAPuhMNcWaeZ0Fc4IpI9e5PLWWI9+jYD U96BILu5Fa2mKxAzRlymfFHwr+4WTm0WRXtNqkLjPmCZC9K0r9wvAAByIV9DY6EiYFNh q3PggPqcN71EfYEgg1h7EpZFAjsYFjAvcvC1BJ++rtUW/m160LZpBMMIexQh16LnsHdu QLm3HJig7OjSJSi0Te9xIBdng4vzGi7gW8Q5jnsiIfktqh1+Bhj7DoN9qNiqnErzMocX syuJ0Fz35xTdo1EthJUGoBGM/a3aAS39c0xc866WN9MAdGYX9CZjqa0Zy1FozJR14P/L 6Q8Q== X-Gm-Message-State: AOJu0YwHnvEjmoGzf3+uPeWnyBNQQLQN6gVocKl3js98b5qztpjkMWWG qZ714uZArw6Q7f0HbCtWBrrP4LRlcdsp85P1qw4hYNSfDwy0 MIME-Version: 1.0 X-Received: by 2002:a17:902:9896:b0:1cc:3355:9fa9 with SMTP id s22-20020a170902989600b001cc33559fa9mr558766plp.10.1700667804379; Wed, 22 Nov 2023 07:43:24 -0800 (PST) Date: Wed, 22 Nov 2023 07:43:24 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005c72b5060abf946a@google.com> Subject: [syzbot] [reiserfs?] kernel BUG in entry_points_to_object From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, paul@paul-moore.com, reiserfs-devel@vger.kernel.org, roberto.sassu@huawei.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 07:45:31 -0800 (PST) Hello, syzbot found the following issue on: HEAD commit: 98b1cc82c4af Linux 6.7-rc2 git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=17f637b7680000 kernel config: https://syzkaller.appspot.com/x/.config?x=52c9552def2a0fdd dashboard link: https://syzkaller.appspot.com/bug?extid=927b0cd57b86eedb4193 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=101b9214e80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12fb7214e80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/77af735993e1/disk-98b1cc82.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/806c51c6c6ae/vmlinux-98b1cc82.xz kernel image: https://storage.googleapis.com/syzbot-assets/9af67744e298/bzImage-98b1cc82.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/7d091cb75f24/mount_0.gz The issue was bisected to: commit d82dcd9e21b77d338dc4875f3d4111f0db314a7c Author: Roberto Sassu Date: Fri Mar 31 12:32:18 2023 +0000 reiserfs: Add security prefix to xattr name in reiserfs_security_write() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17989114e80000 final oops: https://syzkaller.appspot.com/x/report.txt?x=14589114e80000 console output: https://syzkaller.appspot.com/x/log.txt?x=10589114e80000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+927b0cd57b86eedb4193@syzkaller.appspotmail.com Fixes: d82dcd9e21b7 ("reiserfs: Add security prefix to xattr name in reiserfs_security_write()") REISERFS warning (device loop0): vs-13060 reiserfs_update_sd_size: stat data of object [1 2 0x0 SD] (nlink == 1) not found (pos 2) REISERFS warning (device loop0): vs-13060 reiserfs_update_sd_size: stat data of object [1 2 0x0 SD] (nlink == 1) not found (pos 2) REISERFS panic (device loop0): vs-7042 entry_points_to_object: entry must be visible ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5057 Comm: syz-executor309 Not tainted 6.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__reiserfs_panic+0x140/0x150 fs/reiserfs/prints.c:390 Code: c1 a0 69 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 60 6a 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 80 53 6f 92 e8 71 21 de 08 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 48 RSP: 0018:ffffc9000391f320 EFLAGS: 00010246 RAX: 0000000000000054 RBX: ffffffff8b7c1b00 RCX: bc3f3e0b1fc0be00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000391f410 R08: ffffffff817136dc R09: 1ffff92000723e04 R10: dffffc0000000000 R11: fffff52000723e05 R12: ffffffff8b7c1b20 R13: ffffc9000391f340 R14: ffffffff8d13e152 R15: ffff88801cee8660 FS: 0000555555e10380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c020b77818 CR3: 0000000078e9b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: entry_points_to_object+0x6e7/0x6f0 reiserfs_rename+0xff3/0x2110 fs/reiserfs/namei.c:1526 vfs_rename+0xaba/0xde0 fs/namei.c:4844 do_renameat2+0xd5a/0x1390 fs/namei.c:4996 __do_sys_rename fs/namei.c:5042 [inline] __se_sys_rename fs/namei.c:5040 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5040 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f695d1e66b9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff86426978 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0032656c69662f2e RCX: 00007f695d1e66b9 RDX: 00007f695d1e66b9 RSI: 00000000200002c0 RDI: 00000000200000c0 RBP: 0030656c69662f31 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 2f31656c69662f2e R13: 00007fff86426b58 R14: 0000000000000001 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0x140/0x150 fs/reiserfs/prints.c:390 Code: c1 a0 69 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 60 6a 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 80 53 6f 92 e8 71 21 de 08 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 48 RSP: 0018:ffffc9000391f320 EFLAGS: 00010246 RAX: 0000000000000054 RBX: ffffffff8b7c1b00 RCX: bc3f3e0b1fc0be00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000391f410 R08: ffffffff817136dc R09: 1ffff92000723e04 R10: dffffc0000000000 R11: fffff52000723e05 R12: ffffffff8b7c1b20 R13: ffffc9000391f340 R14: ffffffff8d13e152 R15: ffff88801cee8660 FS: 0000555555e10380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c020b77818 CR3: 0000000078e9b000 CR4: 00000000003506f0 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup