From: syzbot <syzbot+291aef749c5cbb9ca2fd@syzkaller.appspotmail.com>
To: bfoster@redhat.com, kent.overstreet@linux.dev,
linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org,
syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [bcachefs?] WARNING in bch2_trans_put
Date: Sat, 21 Dec 2024 02:19:29 -0800 [thread overview]
Message-ID: <67669631.050a0220.25abdd.012c.GAE@google.com> (raw)
In-Reply-To: <00000000000047b2a506189dfc1a@google.com>
syzbot has found a reproducer for the following issue on:
HEAD commit: e9b8ffafd20a Merge tag 'usb-6.13-rc4' of git://git.kernel...
git tree: upstream
console+strace: https://syzkaller.appspot.com/x/log.txt?x=10b47e0f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=1234f097ee657d8b
dashboard link: https://syzkaller.appspot.com/bug?extid=291aef749c5cbb9ca2fd
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=10246f30580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=176540c4580000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/d0a298a7e2d5/disk-e9b8ffaf.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/361b2225724c/vmlinux-e9b8ffaf.xz
kernel image: https://storage.googleapis.com/syzbot-assets/033556a82b6e/bzImage-e9b8ffaf.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/6fe2d0cb8e91/mount_0.gz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+291aef749c5cbb9ca2fd@syzkaller.appspotmail.com
bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error
------------[ cut here ]------------
btree trans held srcu lock (delaying memory reclaim) for 11 seconds
WARNING: CPU: 1 PID: 5823 at fs/bcachefs/btree_iter.c:3030 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline]
WARNING: CPU: 1 PID: 5823 at fs/bcachefs/btree_iter.c:3030 bch2_trans_put+0xd45/0xf00 fs/bcachefs/btree_iter.c:3274
Modules linked in:
CPU: 1 UID: 0 PID: 5823 Comm: syz-executor422 Not tainted 6.13.0-rc3-syzkaller-00193-ge9b8ffafd20a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline]
RIP: 0010:bch2_trans_put+0xd45/0xf00 fs/bcachefs/btree_iter.c:3274
Code: 1c 24 48 c1 eb 02 48 b9 c3 f5 28 5c 8f c2 f5 28 48 89 d8 48 f7 e1 48 c1 ea 02 48 c7 c7 40 28 51 8c 48 89 d6 e8 5c 4e 42 fd 90 <0f> 0b 90 90 e9 af f8 ff ff e8 1d ab 81 fd 90 0f 0b 90 e9 f2 f8 ff
RSP: 0018:ffffc90003f3f300 EFLAGS: 00010246
RAX: daf39d7b7a91ab00 RBX: 0000000000000113 RCX: ffff88802414bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81601962 R09: 1ffff920007e7dfc
R10: dffffc0000000000 R11: fffff520007e7dfd R12: ffff888029d10070
R13: 1ffff110053a200e R14: ffff888029d10042 R15: 1ffff110053a2008
FS: 0000555580eef380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f95f5c24990 CR3: 0000000076fc2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
bch2_btree_root_read+0x6d6/0x7a0 fs/bcachefs/btree_io.c:1771
read_btree_roots+0x296/0x840 fs/bcachefs/recovery.c:523
bch2_fs_recovery+0x2585/0x39d0 fs/bcachefs/recovery.c:853
bch2_fs_start+0x356/0x5b0 fs/bcachefs/super.c:1037
bch2_fs_get_tree+0xd68/0x1710 fs/bcachefs/fs.c:2170
vfs_get_tree+0x90/0x2b0 fs/super.c:1814
do_new_mount+0x2be/0xb40 fs/namespace.c:3507
do_mount fs/namespace.c:3847 [inline]
__do_sys_mount fs/namespace.c:4057 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f95f5bf2eda
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007ffd6fea95b8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffd6fea95c0 RCX: 00007f95f5bf2eda
RDX: 00000000200058c0 RSI: 0000000020005900 RDI: 00007ffd6fea95c0
RBP: 0000000000000004 R08: 00007ffd6fea9600 R09: 00000000000058fe
R10: 0000000000000001 R11: 0000000000000282 R12: 00007ffd6fea9600
R13: 0000000000000003 R14: 0000000001000000 R15: 00007f95f5c3a03b
</TASK>
---
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.
next prev parent reply other threads:[~2024-12-21 10:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 3:31 [syzbot] [bcachefs?] WARNING in bch2_trans_put syzbot
2024-12-21 10:19 ` syzbot [this message]
2024-12-22 2:31 ` syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=67669631.050a0220.25abdd.012c.GAE@google.com \
--to=syzbot+291aef749c5cbb9ca2fd@syzkaller.appspotmail.com \
--cc=bfoster@redhat.com \
--cc=kent.overstreet@linux.dev \
--cc=linux-bcachefs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.