syzbot


kernel BUG in submit_bh_wbc

Status: upstream: reported C repro on 2023/06/15 00:20
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+807c663f72dcf074e3e2@syzkaller.appspotmail.com
First crash: 179d, last: 4d08h
Cause bisection: introduced by (bisect log) :
commit 8d5459c11f548131ce48b2fbf45cccc5c382558f
Author: Jan Kara <jack@suse.cz>
Date: Fri May 20 11:14:02 2022 +0000

  ext4: improve write performance with disabled delalloc

Crash: kernel BUG in submit_bh_wbc (log)
Repro: C syz .config
  
Bug presence (4)
Date Name Commit Repro Result
2023/11/08 android14-6.1 (ToT) beea09533dd2 C [report] kernel BUG in submit_bh_wbc
2023/09/24 lts (merge base) b1644a0031cf C [report] kernel BUG in submit_bh_wbc
2023/09/24 upstream (ToT) 3aba70aed91f C [report] kernel BUG in submit_bh_wbc
2023/11/08 upstream (ToT) 90450a06162e C Didn't crash
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in submit_bh_wbc origin:upstream C 9 20d 250d 0/3 upstream: reported C repro on 2023/04/04 23:04
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 416 24m 2061d 0/25 upstream: reported C repro on 2018/04/19 16:02
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 293d 1688d 0/1 upstream: reported C repro on 2019/04/27 19:47
linux-4.19 kernel BUG at fs/buffer.c:LINE! (2) udf ext4 C error 31 300d 1114d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 129 3d16h 1419d 0/2 upstream: reported C repro on 2020/01/21 13:12
linux-5.15 kernel BUG in submit_bh_wbc origin:upstream C 6 20d 189d 0/3 upstream: reported C repro on 2023/06/04 13:30
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/12/06 17:18 13m retest repro android14-6.1 report log
2023/12/06 17:18 5m retest repro android14-6.1 report log
2023/10/12 11:12 15m retest repro android14-6.1 report log
2023/10/12 11:12 5m retest repro android14-6.1 report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/07/28 15:24 1h02m bisect fix android14-6.1 job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/buffer.c:2717!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 294 Comm: syz-executor213 Not tainted 6.1.25-syzkaller-00053-g8a67c0609445 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:submit_bh_wbc+0x4e2/0x4f0 fs/buffer.c:2717
Code: 54 32 e7 ff e9 b0 fe ff ff e8 ea d1 a0 ff 0f 0b e8 e3 d1 a0 ff 0f 0b e8 dc d1 a0 ff 0f 0b e8 d5 d1 a0 ff 0f 0b e8 ce d1 a0 ff <0f> 0b e8 c7 d1 a0 ff 0f 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56
RSP: 0018:ffffc90000de6f60 EFLAGS: 00010293
RAX: ffffffff81d40f12 RBX: 0000000000000800 RCX: ffff888108c8bcc0
RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000000000000000
RBP: ffffc90000de6fb0 R08: ffffffff81d40b90 R09: ffffed10224fd894
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000854
R13: 1ffff110224fd893 R14: ffff8881127ec498 R15: 0000000000000000
FS:  00005555567ae380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004571f0 CR3: 0000000120ea9000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 submit_bh fs/buffer.c:2755 [inline]
 block_read_full_folio+0x8dd/0xa10 fs/buffer.c:2373
 ext4_mpage_readpages+0x16c5/0x1ec0 fs/ext4/readpage.c:400
 ext4_read_folio+0x10a/0x240 fs/ext4/inode.c:3238
 filemap_read_folio+0xfc/0x2a0 mm/filemap.c:2419
 filemap_update_page mm/filemap.c:2504 [inline]
 filemap_get_pages mm/filemap.c:2618 [inline]
 filemap_read+0x159d/0x24b0 mm/filemap.c:2688
 generic_file_read_iter+0xad/0x4e0 mm/filemap.c:2834
 ext4_file_read_iter+0x330/0x470
 call_read_iter include/linux/fs.h:2209 [inline]
 generic_file_splice_read+0x23c/0x630 fs/splice.c:309
 do_splice_to fs/splice.c:793 [inline]
 splice_direct_to_actor+0x3fc/0xbb0 fs/splice.c:865
 do_splice_direct+0x27f/0x3c0 fs/splice.c:974
 do_sendfile+0x616/0xfe0 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __x64_sys_sendfile64+0x1ce/0x230 fs/read_write.c:1309
 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:0x7fd9d2160a39
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:00007ffff523bd08 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fd9d21a904b RCX: 00007fd9d2160a39
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 00007fd9d21d3610 R08: 00007ffff523bed8 R09: 00007ffff523bed8
R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffff523bec8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:submit_bh_wbc+0x4e2/0x4f0 fs/buffer.c:2717
Code: 54 32 e7 ff e9 b0 fe ff ff e8 ea d1 a0 ff 0f 0b e8 e3 d1 a0 ff 0f 0b e8 dc d1 a0 ff 0f 0b e8 d5 d1 a0 ff 0f 0b e8 ce d1 a0 ff <0f> 0b e8 c7 d1 a0 ff 0f 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56
RSP: 0018:ffffc90000de6f60 EFLAGS: 00010293
RAX: ffffffff81d40f12 RBX: 0000000000000800 RCX: ffff888108c8bcc0
RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000000000000000
RBP: ffffc90000de6fb0 R08: ffffffff81d40b90 R09: ffffed10224fd894
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000854
R13: 1ffff110224fd893 R14: ffff8881127ec498 R15: 0000000000000000
FS:  00005555567ae380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004571f0 CR3: 0000000120ea9000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/24 12:09 android14-6.1 8a67c0609445 af8d2e46 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/09/24 09:56 android14-6.1 060ebb378d1c 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/06/15 00:46 android14-6.1 60662882b7bd 76decb82 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/06/15 00:18 android14-6.1 60662882b7bd 76decb82 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/11/22 17:17 android14-6.1 5c8e593916ad 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/11/02 06:02 android14-6.1 4bbeaddf9a63 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/09/28 11:06 android14-6.1 c240f4ed0054 c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/09/24 09:42 android14-6.1 060ebb378d1c 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/06/15 17:27 android14-6.1 73185e2d4e5e 90d4044e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/06/15 00:02 android14-6.1 60662882b7bd 76decb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
* Struck through repros no longer work on HEAD.