syzbot


WARNING in btrfs_create_uuid_tree

Status: upstream: reported on 2024/10/26 03:31
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+26d3fefc62ec33837e93@syzkaller.appspotmail.com
First crash: 30d, last: 30d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in btrfs_create_uuid_tree 0 (1) 2024/10/26 03:31

Sample crash report:
loop0: detected capacity change from 0 to 32768
BTRFS: device fsid a6a605fc-d5f1-4e66-8595-3726e2b761d6 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5105)
BTRFS info (device loop0 state S): first mount of filesystem a6a605fc-d5f1-4e66-8595-3726e2b761d6
BTRFS info (device loop0 state S): using blake2b (blake2b-256-generic) checksum algorithm
BTRFS info (device loop0 state S): using free-space-tree
workqueue: max_active 32767 requested for btrfs-worker is out of range, clamping between 1 and 512
workqueue: max_active 32767 requested for btrfs-delalloc is out of range, clamping between 1 and 512
workqueue: max_active 32767 requested for btrfs-endio is out of range, clamping between 1 and 512
workqueue: max_active 32767 requested for btrfs-endio-meta is out of range, clamping between 1 and 512
workqueue: max_active 32767 requested for btrfs-rmw is out of range, clamping between 1 and 512
workqueue: max_active 32767 requested for btrfs-endio-write is out of range, clamping between 1 and 512
workqueue: max_active 32767 requested for btrfs-compressed-write is out of range, clamping between 1 and 512
BTRFS info (device loop0 state MCS): resize thread pool 32767 -> 3
BTRFS info (device loop0 state MCS): creating UUID tree
------------[ cut here ]------------
BTRFS: Transaction aborted (error -17)
WARNING: CPU: 0 PID: 5105 at fs/btrfs/uuid-tree.c:550 btrfs_create_uuid_tree+0x21b/0x230 fs/btrfs/uuid-tree.c:550
Modules linked in:
CPU: 0 UID: 0 PID: 5105 Comm: syz.0.0 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:btrfs_create_uuid_tree+0x21b/0x230 fs/btrfs/uuid-tree.c:550
Code: 5b 4e 8c e8 d7 87 eb 07 48 89 ef e8 3f b1 f6 07 e9 fa fe ff ff e8 55 53 bc fd 90 48 c7 c7 a0 5a 4e 8c 89 de e8 d6 4c 7d fd 90 <0f> 0b 90 90 eb 97 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90
RSP: 0018:ffffc9000af47800 EFLAGS: 00010246
RAX: aa1d53389ee6ee00 RBX: ffffffffffffffef RCX: ffff8880002ba440
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88801fc55060 R08: ffffffff8155d402 R09: 1ffff11003f8519a
R10: dffffc0000000000 R11: ffffed1003f8519b R12: dffffc0000000000
R13: ffff88804c5e8001 R14: ffff88801fc55000 R15: 0000000000000000
FS:  00007fc0dfa126c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a0b3b24338 CR3: 0000000040ab4000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_start_pre_rw_mount+0x116c/0x1300 fs/btrfs/disk-io.c:3085
 btrfs_remount_rw fs/btrfs/super.c:1309 [inline]
 btrfs_reconfigure+0xae6/0x2d40 fs/btrfs/super.c:1534
 btrfs_reconfigure_for_mount fs/btrfs/super.c:2020 [inline]
 btrfs_get_tree_subvol fs/btrfs/super.c:2079 [inline]
 btrfs_get_tree+0x918/0x1920 fs/btrfs/super.c:2115
 vfs_get_tree+0x90/0x2b0 fs/super.c:1800
 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:0x7fc0deb7dff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc0dfa12038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fc0ded36058 RCX: 00007fc0deb7dff9
RDX: 0000000020000280 RSI: 0000000020000180 RDI: 0000000020000100
RBP: 00007fc0debf0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc0ded36058 R15: 00007ffe42d6cb28
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/22 03:27 upstream c2ee9f594da8 a93682b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_create_uuid_tree
* Struck through repros no longer work on HEAD.