All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+bd64347b8238595d7db5@syzkaller.appspotmail.com>
To: clm@fb.com, dsterba@suse.com, josef@toxicpanda.com,
	linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org,
	syzkaller-bugs@googlegroups.com
Subject: [syzbot] WARNING in remove_from_free_space_tree
Date: Tue, 13 Dec 2022 01:04:38 -0800	[thread overview]
Message-ID: <000000000000e3439d05efb1e8ee@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    ce19275f0103 Merge tag 'for-linus-2022120801' of git://git..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17d6ccc7880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=4edf421741552bc3
dashboard link: https://syzkaller.appspot.com/bug?extid=bd64347b8238595d7db5
compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/363f26ecd8b6/disk-ce19275f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6d5a52210863/vmlinux-ce19275f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/bfd5e0fcc504/bzImage-ce19275f.xz

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

------------[ cut here ]------------
WARNING: CPU: 1 PID: 22739 at fs/btrfs/free-space-tree.c:859 remove_from_free_space_tree.cold+0xab/0xff fs/btrfs/free-space-tree.c:859
Modules linked in:
CPU: 1 PID: 22739 Comm: syz-executor.0 Not tainted 6.1.0-rc8-syzkaller-00045-gce19275f0103 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:remove_from_free_space_tree.cold+0xab/0xff fs/btrfs/free-space-tree.c:859
Code: e8 f9 ea fd ff 31 ff 41 89 c5 89 c6 e8 92 ed cb f7 45 84 ed 74 18 e8 18 f1 cb f7 44 89 e6 48 c7 c7 e0 56 96 8a e8 98 e8 f2 ff <0f> 0b eb a5 e8 00 f1 cb f7 66 90 41 bd 01 00 00 00 eb 96 e8 f1 f0
RSP: 0018:ffffc900033cf2a0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 1ffff92000679e5c RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff8165785c RDI: fffff52000679e46
RBP: ffff88803bdcf150 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 00000000ffffffe4
R13: 00000000ffffff01 R14: ffff8880778708f0 R15: ffff88803bdcf1a0
FS:  00007ff0359fe700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d525afeb80 CR3: 000000001d40e000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 alloc_reserved_extent+0x4d/0x3c0 fs/btrfs/extent-tree.c:4637
 alloc_reserved_tree_block fs/btrfs/extent-tree.c:4788 [inline]
 run_delayed_tree_ref fs/btrfs/extent-tree.c:1670 [inline]
 run_one_delayed_ref fs/btrfs/extent-tree.c:1699 [inline]
 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1943 [inline]
 __btrfs_run_delayed_refs+0x1d09/0x3760 fs/btrfs/extent-tree.c:2008
 btrfs_run_delayed_refs+0x19a/0x490 fs/btrfs/extent-tree.c:2139
 btrfs_commit_transaction+0x1ea7/0x36e0 fs/btrfs/transaction.c:2123
 insert_balance_item.isra.0+0x11f3/0x1460 fs/btrfs/volumes.c:3467
 btrfs_balance+0xf5f/0x3be0 fs/btrfs/volumes.c:4351
 btrfs_ioctl_balance fs/btrfs/ioctl.c:4484 [inline]
 btrfs_ioctl+0x115d/0x5c40 fs/btrfs/ioctl.c:5515
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff03e28c0d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007ff0359fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff03e3ac050 RCX: 00007ff03e28c0d9
RDX: 0000000020000480 RSI: 00000000c4009420 RDI: 0000000000000009
RBP: 00007ff03e2e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdc8047f0f R14: 00007ff0359fe300 R15: 0000000000022000
 </TASK>


---
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.

                 reply	other threads:[~2022-12-13  9:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=000000000000e3439d05efb1e8ee@google.com \
    --to=syzbot+bd64347b8238595d7db5@syzkaller.appspotmail.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=josef@toxicpanda.com \
    --cc=linux-btrfs@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.