syzbot


WARNING in btrfs_space_info_update_bytes_may_use

Status: upstream: reported C repro on 2023/03/18 05:35
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+a45b0ad66e4d43324f99@syzkaller.appspotmail.com
First crash: 627d, last: 3d06h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/05/13 upstream (ToT) 9a48d6046722 C [report] WARNING in btrfs_space_info_update_bytes_may_use
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_space_info_update_bytes_may_use btrfs C done 3522 4h36m 765d 0/28 upstream: reported C repro on 2022/10/31 00:15
linux-5.15 WARNING in btrfs_space_info_update_bytes_may_use origin:upstream C error 33 1d20h 606d 0/3 upstream: reported C repro on 2023/04/07 20:54
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/09/09 16:37 1h52m bisect fix linux-6.1.y error job log
2024/08/06 08:37 1h47m bisect fix linux-6.1.y OK (0) job log log
2024/06/27 11:26 1h21m bisect fix linux-6.1.y OK (0) job log log
2024/05/19 12:04 1h04m bisect fix linux-6.1.y OK (0) job log log
2024/04/13 22:55 2h22m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
R10: 00000000200000c0 R11: 0000000000000246 R12: 00007fff0f3c4150
R13: 0000000000000001 R14: 00007fff0f3c4150 R15: 0000000000000003
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3546 at fs/btrfs/space-info.h:122 btrfs_space_info_update_bytes_may_use+0x2c3/0x6e0
Modules linked in:
CPU: 0 PID: 3546 Comm: syz-executor984 Not tainted 6.1.53-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:btrfs_space_info_update_bytes_may_use+0x2c3/0x6e0 fs/btrfs/space-info.h:122
Code: 25 00 00 74 08 4c 89 ff e8 3a ea 36 fe 49 8b 1f 48 89 df 48 8b 6c 24 18 48 89 ee e8 07 4a e0 fd 48 39 eb 73 14 e8 1d 48 e0 fd <0f> 0b 45 31 f6 43 80 7c 25 00 00 75 ac eb b2 e8 09 48 e0 fd 43 80
RSP: 0018:ffffc90003a4f890 EFLAGS: 00010293
RAX: ffffffff83a9cc13 RBX: 00000000000df000 RCX: ffff888024610000
RDX: 0000000000000000 RSI: 00000000000e0000 RDI: 00000000000df000
RBP: 00000000000e0000 R08: ffffffff83a9cc09 R09: fffffbfff1ce766e
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff1100f4c1f0c R14: fffffffffff20000 R15: ffff88807a60f860
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a2964fe668 CR3: 000000000ce8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:154 [inline]
 block_rsv_release_bytes fs/btrfs/block-rsv.c:152 [inline]
 btrfs_block_rsv_release+0x477/0x550 fs/btrfs/block-rsv.c:296
 btrfs_release_global_block_rsv+0x2f/0x250 fs/btrfs/block-rsv.c:469
 btrfs_free_block_groups+0xa31/0xe20 fs/btrfs/block-group.c:4137
 close_ctree+0x6db/0xc35 fs/btrfs/disk-io.c:4751
 generic_shutdown_super+0x130/0x340 fs/super.c:501
 kill_anon_super+0x37/0x60 fs/super.c:1117
 btrfs_kill_super+0x3d/0x50 fs/btrfs/super.c:2445
 deactivate_locked_super+0xa0/0x110 fs/super.c:332
 cleanup_mnt+0x490/0x520 fs/namespace.c:1186
 task_work_run+0x246/0x300 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0x6fb/0x2300 kernel/exit.c:869
 do_group_exit+0x202/0x2b0 kernel/exit.c:1019
 __do_sys_exit_group kernel/exit.c:1030 [inline]
 __se_sys_exit_group kernel/exit.c:1028 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff9212a0769
Code: Unable to access opcode bytes at 0x7ff9212a073f.
RSP: 002b:00007fff0f3c4098 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff9212a0769
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007ff921324390 R08: ffffffffffffffb8 R09: 0000000000000000
R10: 00000000200000c0 R11: 0000000000000246 R12: 00007ff921324390
R13: 0000000000000000 R14: 00007ff9213271c0 R15: 00007ff92126df30
 </TASK>

Crashes (177):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/15 22:27 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in btrfs_space_info_update_bytes_may_use
2023/05/07 22:58 linux-6.1.y ca48fc16c493 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in btrfs_space_info_update_bytes_may_use
2024/12/01 00:05 linux-6.1.y e4d90d63d385 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/10/28 11:20 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/06/29 18:09 linux-6.1.y a1c449d00ff8 134ddc02 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/03/18 20:24 linux-6.1.y 7eaef76fbc46 7939252e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in btrfs_space_info_update_bytes_may_use
2023/06/18 20:30 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/12 00:10 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_space_info_update_bytes_may_use
2023/12/31 13:35 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_space_info_update_bytes_may_use
2023/12/22 08:43 linux-6.1.y 4aa6747d9352 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_space_info_update_bytes_may_use
2024/11/30 23:28 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/11/16 22:57 linux-6.1.y 59d7b1a7104a cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/11/16 21:30 linux-6.1.y 59d7b1a7104a cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/10/28 08:34 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/11 22:45 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/06 04:03 linux-6.1.y a3eb3a74aa8c f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/05 21:02 linux-6.1.y a3eb3a74aa8c f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/05 09:04 linux-6.1.y a3eb3a74aa8c 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/02 19:49 linux-6.1.y a3eb3a74aa8c 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/02 17:51 linux-6.1.y a3eb3a74aa8c 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/03/01 23:31 linux-6.1.y a3eb3a74aa8c 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/29 11:03 linux-6.1.y 81e1dc2f7001 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/29 09:58 linux-6.1.y 81e1dc2f7001 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/28 23:53 linux-6.1.y 81e1dc2f7001 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/28 17:59 linux-6.1.y 81e1dc2f7001 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/27 10:38 linux-6.1.y 81e1dc2f7001 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/25 03:56 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/21 07:26 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/13 19:32 linux-6.1.y f1bb70486c9c e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/02/08 01:39 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/27 06:11 linux-6.1.y 883d1a956208 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/23 22:25 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/15 04:16 linux-6.1.y 7c58bfa711cb 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/08 15:13 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/08 00:48 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/07 08:46 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/07 07:33 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/05 09:08 linux-6.1.y a507f147e6f0 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/04 19:36 linux-6.1.y a507f147e6f0 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/02 15:35 linux-6.1.y a507f147e6f0 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2024/01/02 11:12 linux-6.1.y a507f147e6f0 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/31 20:48 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/27 12:31 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/26 10:50 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/25 08:55 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/13 15:28 linux-6.1.y e7cddbb41b63 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/13 12:39 linux-6.1.y e7cddbb41b63 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/12 07:22 linux-6.1.y e7cddbb41b63 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/11 08:19 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/10 11:15 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/12/05 16:54 linux-6.1.y c6114c845984 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_space_info_update_bytes_may_use
2023/03/18 05:34 linux-6.1.y 7eaef76fbc46 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_space_info_update_bytes_may_use
* Struck through repros no longer work on HEAD.