syzbot


kernel BUG in insert_state_fast

Status: upstream: reported C repro on 2023/04/08 08:40
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+a82fd6d6c6330d9f4b32@syzkaller.appspotmail.com
First crash: 593d, last: 17d
Bug presence (1)
Date Name Commit Repro Result
2023/05/28 upstream (ToT) 4e893b5aa4ac C [report] kernel BUG in insert_state_fast
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in insert_state_fast btrfs C done done 151 104d 722d 0/28 upstream: reported C repro on 2022/11/29 21:10
Fix bisection attempts (11)
Created Duration User Patch Repo Result
2024/10/19 02:03 3h01m bisect fix linux-6.1.y OK (0) job log log
2024/09/17 11:10 2h00m bisect fix linux-6.1.y OK (0) job log log
2024/08/13 07:30 2h26m bisect fix linux-6.1.y OK (0) job log log
2024/07/01 19:28 2h56m bisect fix linux-6.1.y OK (0) job log log
2024/05/23 14:25 1h16m bisect fix linux-6.1.y OK (0) job log log
2024/04/19 12:59 1h40m bisect fix linux-6.1.y OK (0) job log log
2024/03/17 03:22 1h43m bisect fix linux-6.1.y OK (0) job log log
2024/02/12 00:29 1h29m bisect fix linux-6.1.y OK (0) job log log
2024/01/05 08:01 1h26m bisect fix linux-6.1.y OK (0) job log log
2023/12/06 03:39 1h19m bisect fix linux-6.1.y OK (0) job log log
2023/10/09 01:10 1h35m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
------------[ cut here ]------------
kernel BUG at fs/btrfs/extent-io-tree.c:381!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4311 Comm: syz-executor243 Not tainted 6.1.115-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : set_state_bits fs/btrfs/extent-io-tree.c:381 [inline]
pc : insert_state_fast+0x220/0x224 fs/btrfs/extent-io-tree.c:439
lr : set_state_bits fs/btrfs/extent-io-tree.c:381 [inline]
lr : insert_state_fast+0x220/0x224 fs/btrfs/extent-io-tree.c:439
sp : ffff800021187170
x29: ffff800021187170 x28: ffff0000e13a0a60 x27: 0000000000001000
x26: dfff800000000000 x25: 000000000000ffff x24: 00000000fffffff4
x23: 0000000000001000 x22: ffff0000d77189d0 x21: ffff0000d77189d8
x20: ffff0000e13a0a60 x19: ffff0000d7718e40 x18: ffff8000211864e0
x17: 0000000000000000 x16: ffff80001229a1fc x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a34f7a4
x8 : ffff0000d9c95340 x7 : 0000000000000001 x6 : 0000000000000001
x5 : 00000000ffffffff x4 : 0000000000000a20 x3 : 0000000000000a20
x2 : 0000000000000038 x1 : 00000000fffffff4 x0 : 0000000000000000
Call trace:
 set_state_bits fs/btrfs/extent-io-tree.c:381 [inline]
 insert_state_fast+0x220/0x224 fs/btrfs/extent-io-tree.c:439
 __set_extent_bit+0x10f4/0x1650 fs/btrfs/extent-io-tree.c:1000
 set_record_extent_bits+0x68/0x98 fs/btrfs/extent-io-tree.c:1607
 qgroup_reserve_data+0x214/0x90c fs/btrfs/qgroup.c:3795
 btrfs_qgroup_reserve_data+0x40/0xec fs/btrfs/qgroup.c:3838
 btrfs_check_data_free_space+0x130/0x20c fs/btrfs/delalloc-space.c:152
 btrfs_buffered_write+0x4ac/0xfec fs/btrfs/file.c:1242
 btrfs_do_write_iter+0x3a0/0x1108 fs/btrfs/file.c:1686
 btrfs_file_write_iter+0x2c/0x3c fs/btrfs/file.c:1707
 call_write_iter include/linux/fs.h:2265 [inline]
 aio_write+0x588/0x824 fs/aio.c:1615
 io_submit_one+0x824/0x15b8 fs/aio.c:2034
 __do_sys_io_submit fs/aio.c:2093 [inline]
 __se_sys_io_submit fs/aio.c:2063 [inline]
 __arm64_sys_io_submit+0x248/0x3c8 fs/aio.c:2063
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: aa1903e0 9798aae7 17ffffa0 9786a22c (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/04 01:20 linux-6.1.y 7c15117f9468 f00eed24 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/11/05 18:32 linux-6.1.y 4a61839152cc 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/05/27 22:53 linux-6.1.y a343b0dd87b4 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2024/11/04 00:41 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/11/05 18:12 linux-6.1.y 4a61839152cc 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/08/17 21:06 linux-6.1.y 6c44e13dc284 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/07/07 14:43 linux-6.1.y 61fd484b2cf6 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/06/24 15:04 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/06/22 09:57 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/05/27 22:35 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/05/27 22:35 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/04/25 07:58 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/04/22 18:47 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/04/21 23:42 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/04/14 21:56 linux-6.1.y 0102425ac76b ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
2023/04/08 08:39 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in insert_state_fast
* Struck through repros no longer work on HEAD.