syzbot


WARNING in fiemap_process_hole

Status: upstream: reported on 2025/03/06 02:53
Reported-by: syzbot+e9252738714e6a84d387@syzkaller.appspotmail.com
First crash: 43d, last: 34d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in fiemap_process_hole btrfs 1 503d 493d 0/28 auto-obsoleted due to no activity on 2024/03/11 07:42

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4542 at fs/btrfs/extent_io.c:3539 fiemap_process_hole+0xebb/0x1290 fs/btrfs/extent_io.c:3821
Modules linked in:
CPU: 1 PID: 4542 Comm: syz.2.32 Not tainted 6.1.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:emit_fiemap_extent fs/btrfs/extent_io.c:3539 [inline]
RIP: 0010:fiemap_process_hole+0xebb/0x1290 fs/btrfs/extent_io.c:3821
Code: 89 44 24 10 4c 89 74 24 18 4a 8d 1c 30 48 89 df 4c 8b b4 24 90 00 00 00 4c 89 f6 e8 1f 7c ee fd 4c 39 f3 76 16 e8 35 7a ee fd <0f> 0b e9 19 01 00 00 e8 29 7a ee fd e9 ed 01 00 00 48 89 df 4c 89
RSP: 0018:ffffc90004e2f520 EFLAGS: 00010287
RAX: ffffffff839c2f8b RBX: 0000000000101000 RCX: 0000000000080000
RDX: ffffc9000d6c1000 RSI: 0000000000011058 RDI: 0000000000011059
RBP: ffffc90004e2f688 R08: ffffffff839c2f81 R09: fffffbfff2257274
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920009c5f1f
R13: 00000000000fe000 R14: 0000000000003000 R15: 1ffff920009c5f1e
FS:  00007fe29b4866c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00004000000002a0 CR3: 000000001ff55000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 extent_fiemap+0xeb2/0x2310 fs/btrfs/extent_io.c:4030
 btrfs_fiemap+0x174/0x1e0 fs/btrfs/inode.c:8290
 ioctl_fiemap fs/ioctl.c:219 [inline]
 do_vfs_ioctl+0x18e9/0x2a90 fs/ioctl.c:810
 __do_sys_ioctl fs/ioctl.c:868 [inline]
 __se_sys_ioctl+0x81/0x160 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe29a58d169
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:00007fe29b486038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe29a7a5fa0 RCX: 00007fe29a58d169
RDX: 0000400000000280 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007fe29a60e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe29a7a5fa0 R15: 00007ffc5c859e28
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/14 19:22 linux-6.1.y 344a09659766 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fiemap_process_hole
2025/03/14 07:10 linux-6.1.y 344a09659766 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fiemap_process_hole
2025/03/06 03:03 linux-6.1.y 3a8358583626 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fiemap_process_hole
2025/03/06 02:52 linux-6.1.y 3a8358583626 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fiemap_process_hole
* Struck through repros no longer work on HEAD.