syzbot


kernel BUG in __block_commit_write (2)

Status: premoderation: reported syz repro on 2024/01/17 04:07
Reported-by: syzbot+50d9ebd2aa5f58f77103@syzkaller.appspotmail.com
First crash: 309d, last: 246d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 kernel BUG in __block_commit_write syz error error 1 435d 435d 0/2 auto-obsoleted due to no activity on 2023/12/12 18:06
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 226d 2408d 25/28 fixed on 2024/04/10 03:59
android-6-1 kernel BUG in __block_commit_write (2) origin:upstream C error error 1 74d 307d 0/2 upstream: reported C repro on 2024/01/19 10:04
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 640d 2034d 0/1 upstream: reported C repro on 2019/04/27 19:47
android-5-10 kernel BUG in __block_commit_write 1 435d 435d 0/2 auto-obsoleted due to no activity on 2023/12/12 11:41
linux-4.19 kernel BUG at fs/buffer.c:LINE! (2) udf ext4 C error 31 647d 1461d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 1187 28d 1766d 0/2 upstream: reported C repro on 2020/01/21 13:12
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/09/28 04:57 7m retest repro android13-5.10-lts report log
2024/07/19 06:14 12m retest repro android13-5.10-lts report log
2024/01/31 13:23 8m retest repro android13-5.10-lts report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/05/10 05:09 2m bisect fix android13-5.10-lts error job log
2024/03/20 13:43 1h05m bisect fix android13-5.10-lts OK (0) job log log
2024/02/18 23:04 1h00m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/buffer.c:2104!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 896 Comm: syz-executor.3 Not tainted 5.10.207-syzkaller-00087-gec631d62a083 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__block_commit_write+0x236/0x240 fs/buffer.c:2104
Code: ff 48 8b 5d c0 48 89 df be 08 00 00 00 e8 c2 f9 e7 ff f0 80 0b 04 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ba 89 aa ff <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54
RSP: 0018:ffffc90002537718 EFLAGS: 00010293
RAX: ffffffff81c01c86 RBX: 0000000000000000 RCX: ffff8881144de2c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002537760 R08: ffffffff81c01ab6 R09: fffff940008fb661
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea00047db300
R13: 000000000000000c R14: 4000000000000017 R15: 0000000000000000
FS:  00007f4f49f1d6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020014000 CR3: 0000000113c58000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 block_write_end+0x47/0x90 fs/buffer.c:2193
 ext4_write_end+0x253/0xe90 fs/ext4/inode.c:1320
 ext4_da_write_end+0xbe/0xbb0 fs/ext4/inode.c:3150
 generic_perform_write+0x3d9/0x570 mm/filemap.c:3520
 ext4_buffered_write_iter+0x482/0x610 fs/ext4/file.c:271
 ext4_file_write_iter+0x193/0x1c80 fs/ext4/file.c:685
 call_write_iter include/linux/fs.h:2019 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0xb55/0xe70 fs/read_write.c:605
 ksys_write+0x199/0x2c0 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:667
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f4f4a39ada9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4f49f1d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f4f4a4c9f80 RCX: 00007f4f4a39ada9
RDX: 000000000000000c RSI: 0000000020000300 RDI: 0000000000000004
RBP: 00007f4f4a3e747a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f4f4a4c9f80 R15: 00007ffd9aa06188
Modules linked in:
---[ end trace 3e9cb16500d39c08 ]---
RIP: 0010:__block_commit_write+0x236/0x240 fs/buffer.c:2104
Code: ff 48 8b 5d c0 48 89 df be 08 00 00 00 e8 c2 f9 e7 ff f0 80 0b 04 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ba 89 aa ff <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54
RSP: 0018:ffffc90002537718 EFLAGS: 00010293
RAX: ffffffff81c01c86 RBX: 0000000000000000 RCX: ffff8881144de2c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002537760 R08: ffffffff81c01ab6 R09: fffff940008fb661
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea00047db300
R13: 000000000000000c R14: 4000000000000017 R15: 0000000000000000
FS:  00007f4f49f1d6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f16dc5868ce CR3: 0000000113c58000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/17 04:27 android13-5.10-lts ec631d62a083 2a7bcc7f .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in __block_commit_write
2024/01/17 04:07 android13-5.10-lts ec631d62a083 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in __block_commit_write
* Struck through repros no longer work on HEAD.