[v5.15] WARNING in btrfs_sync_log

0 views
Skip to first unread message

syzbot

unread,
Apr 12, 2023, 12:16:41 AM4/12/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d86dfc4d95cd Linux 5.15.106
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15b5f9c3c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=639d55ab480652c5
dashboard link: https://syzkaller.appspot.com/bug?extid=f0a14aec1c53dc43dce8
compiler: Debian clang version 15.0.7, 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/b2a94107dd69/disk-d86dfc4d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/398f8d288cb9/vmlinux-d86dfc4d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/9b790c7e7c8c/Image-d86dfc4d.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f0a14a...@syzkaller.appspotmail.com

el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11671 at fs/btrfs/tree-log.c:3210 btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210
Modules linked in:
CPU: 0 PID: 11671 Comm: syz-executor.3 Not tainted 5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210
lr : btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210
sp : ffff8000268e7300
x29: ffff8000268e7760 x28: ffff0000dc668f20 x27: 1fffe0001b8cd1e4
x26: 00000000fffffff4 x25: 0000000000000001 x24: ffff0000d9d9a000
x23: dfff800000000000 x22: 00000000fffffff4 x21: 0000000000000009
x20: ffff0000d9d9a338 x19: 00000000fffffff4 x18: 0000000000000001
x17: ff80800008333ebc x16: ffff800011940934 x15: ffff800008333ebc
x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000040000
x11: 00000000000194b1 x10: ffff80001e36f000 x9 : 8f9bb44df2268100
x8 : 8f9bb44df2268100 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff8000268e6a78 x4 : ffff8000149af940 x3 : ffff80000854a334
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026
Call trace:
btrfs_sync_log+0x15f0/0x2294 fs/btrfs/tree-log.c:3210
btrfs_sync_file+0x924/0xe60 fs/btrfs/file.c:2349
vfs_fsync_range+0x168/0x188 fs/sync.c:188
generic_write_sync include/linux/fs.h:2913 [inline]
btrfs_file_write_iter+0x758/0xad8 fs/btrfs/file.c:2093
call_write_iter include/linux/fs.h:2103 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x87c/0xb3c fs/read_write.c:594
ksys_write+0x15c/0x26c fs/read_write.c:647
__do_sys_write fs/read_write.c:659 [inline]
__se_sys_write fs/read_write.c:656 [inline]
__arm64_sys_write+0x7c/0x90 fs/read_write.c:656
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 84050
hardirqs last enabled at (84049): [<ffff800008329afc>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (84050): [<ffff80001193bfc8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last enabled at (84020): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (84020): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (83689): [<ffff8000081b56e0>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (83689): [<ffff8000081b56e0>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (83689): [<ffff8000081b56e0>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace 057397b5b09dadfb ]---
BTRFS: error (device loop3) in btrfs_sync_log:3210: errno=-12 Out of memory
BTRFS info (device loop3): forced readonly


---
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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Aug 21, 2023, 7:02:46 PM8/21/23
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages