syzbot


WARNING in iomap_iter

Status: upstream: reported C repro on 2024/04/01 07:45
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+016d861797fd718491a8@syzkaller.appspotmail.com
First crash: 75d, last: 8d05h
Bug presence (2)
Date Name Commit Repro Result
2024/05/07 linux-6.1.y (ToT) 909ba1f1b414 C [report] WARNING in iomap_iter
2024/05/06 upstream (ToT) dccb07f2914c C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in iomap_iter iomap C inconclusive 141 523d 949d 22/27 fixed on 2023/06/12 19:24
upstream WARNING in iomap_iter (2) iomap C 4 48d 44d 26/27 fixed on 2024/06/05 13:52
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/06/07 10:15 1h26m bisect fix linux-6.1.y job log (0) log

Sample crash report:
loop0: detected capacity change from 0 to 16
erofs: (device loop0): mounted with root inode @ nid 36.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3539 at fs/iomap/iter.c:35 iomap_iter+0x978/0xfc0 fs/iomap/iter.c:78
Modules linked in:
CPU: 1 PID: 3539 Comm: syz-executor328 Not tainted 6.1.83-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:iomap_iter_done fs/iomap/iter.c:35 [inline]
RIP: 0010:iomap_iter+0x978/0xfc0 fs/iomap/iter.c:78
Code: ff e8 1c 01 7b ff 0f 0b e9 d5 f9 ff ff e8 10 01 7b ff 0f 0b e9 58 fd ff ff e8 04 01 7b ff 0f 0b e9 8a fd ff ff e8 f8 00 7b ff <0f> 0b e9 ee fd ff ff e8 ec 00 7b ff 0f 0b e9 3d fe ff ff e8 e0 00
RSP: 0018:ffffc900039cf830 EFLAGS: 00010293
RAX: ffffffff820f83f8 RBX: 000000000a001000 RCX: ffff8880272f0000
RDX: 0000000000000000 RSI: 06cc00000a000000 RDI: 000000000a001000
RBP: 06cc00000a000000 R08: ffffffff820f81df R09: fffff940003ce607
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000739f2c
R13: 1ffff92000739f32 R14: 1ffff92000739f2d R15: dffffc0000000000
FS:  0000555556165380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdbe325000 CR3: 000000007b26b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 iomap_fiemap+0x1c9/0x960 fs/iomap/fiemap.c:80
 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+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5dd5644639
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007ffdbe324188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffdbe324358 RCX: 00007f5dd5644639
RDX: 0000000020000200 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 00007f5dd56b7610 R08: 0000000000000000 R09: 00007ffdbe324358
R10: 00000000000001f0 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdbe324348 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/01 08:11 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in iomap_iter
2024/04/02 22:33 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in iomap_iter
2024/04/01 07:45 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in iomap_iter
2024/04/03 16:21 linux-6.1.y 347385861c50 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 07:13 linux-6.1.y e5cd595e23c1 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 07:13 linux-6.1.y e5cd595e23c1 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 04:12 linux-6.1.y e5cd595e23c1 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 03:16 linux-6.1.y e5cd595e23c1 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 03:16 linux-6.1.y e5cd595e23c1 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 03:16 linux-6.1.y e5cd595e23c1 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 01:53 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/03 01:50 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/02 22:29 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/02 22:26 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/02 22:24 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/02 22:22 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/02 22:18 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
2024/04/02 22:18 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in iomap_iter
* Struck through repros no longer work on HEAD.