syzbot


kernel BUG in submit_bh_wbc

Status: upstream: reported C repro on 2023/06/15 00:20
Bug presence: origin:lts
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+807c663f72dcf074e3e2@syzkaller.appspotmail.com
First crash: 322d, last: 2d10h
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
  
Fix bisection: fixed by (bisect log) :
commit 32b9fb9a67ec70bbe3afe931b0ea44203150a49a
Author: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Date: Mon Sep 18 10:45:50 2023 +0000

  ext4: mark buffer new if it is unwritten to avoid stale data exposure

  
Bug presence (2)
Date Name Commit Repro Result
2024/03/17 lts (merge base) 883d1a956208 C [report] kernel BUG in submit_bh_wbc
2024/03/31 upstream (ToT) 18737353cca0 C Didn't crash
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in submit_bh_wbc origin:lts-only C 18 3d19h 393d 0/3 upstream: reported C repro on 2023/04/04 23:04
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 23d 2204d 26/26 fixed on 2024/04/10 03:59
upstream kernel BUG in submit_bh_wbc (2) udf C done 20 1d04h 7d01h 0/26 upstream: reported C repro on 2024/04/25 09:05
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 437d 1831d 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 444d 1258d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 254 2h39m 1562d 0/2 upstream: reported C repro on 2020/01/21 13:12
linux-5.15 kernel BUG in submit_bh_wbc origin:upstream C error 8 54d 332d 0/3 upstream: reported C repro on 2023/06/04 13:30
upstream kernel BUG in submit_bh_wbc nilfs C done 10 8d00h 17d 26/26 fixed on 2024/04/24 18:26
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/03/11 21:14 3h12m bisect fix android14-6.1 job log (1)
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:2714!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 325 Comm: kmmpd-loop4 Not tainted 6.1.68-syzkaller-00059-gef39f76e4d24 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:submit_bh_wbc+0x4cd/0x4f0 fs/buffer.c:2714
Code: c3 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c bd fe ff ff 48 89 df e8 a4 29 e7 ff e9 b0 fe ff ff e8 1a 56 a0 ff 0f 0b e8 13 56 a0 ff <0f> 0b e8 0c 56 a0 ff 0f 0b e8 05 56 a0 ff 0f 0b e8 fe 55 a0 ff 0f
RSP: 0018:ffffc90000fd7c20 EFLAGS: 00010293
RAX: ffffffff81d51afd RBX: 0000000000000000 RCX: ffff888120781440
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000fd7c70 R08: ffffffff81d516d0 R09: ffffed1024025751
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff11024025750 R14: ffff88812012ba80 R15: 0000000000003801
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555610b690 CR3: 00000001100c7000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 submit_bh+0x1d/0x30 fs/buffer.c:2755
 write_mmp_block_thawed+0x3a0/0x570 fs/ext4/mmp.c:51
 write_mmp_block+0x12b/0x2a0 fs/ext4/mmp.c:67
 kmmpd+0x40c/0xa10 fs/ext4/mmp.c:178
 kthread+0x26d/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:submit_bh_wbc+0x4cd/0x4f0 fs/buffer.c:2714
Code: c3 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c bd fe ff ff 48 89 df e8 a4 29 e7 ff e9 b0 fe ff ff e8 1a 56 a0 ff 0f 0b e8 13 56 a0 ff <0f> 0b e8 0c 56 a0 ff 0f 0b e8 05 56 a0 ff 0f 0b e8 fe 55 a0 ff 0f
RSP: 0018:ffffc90000fd7c20 EFLAGS: 00010293
RAX: ffffffff81d51afd RBX: 0000000000000000 RCX: ffff888120781440
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000fd7c70 R08: ffffffff81d516d0 R09: ffffed1024025751
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff11024025750 R14: ffff88812012ba80 R15: 0000000000003801
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f41e0afa01d CR3: 0000000118e1a000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (66):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/17 12:15 android14-6.1 ef39f76e4d24 d615901c .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/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
2024/04/29 23:37 android14-6.1 4744b3a4ed72 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/28 14:33 android14-6.1 fa87a072a7fc 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/22 18:54 android14-6.1 503add184388 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/20 10:09 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/18 21:06 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/17 17:19 android14-6.1 141ebdcb283b acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/17 14:05 android14-6.1 089d1b8f6daf 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/15 14:31 android14-6.1 99aea323a3fd b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/14 07:57 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/11 01:09 android14-6.1 be55946e207c 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/10 20:03 android14-6.1 be55946e207c 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/09 20:25 android14-6.1 5dc2bc296647 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/09 13:37 android14-6.1 338203a81721 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/09 04:24 android14-6.1 338203a81721 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 23:45 android14-6.1 56ba301cac0b 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 19:22 android14-6.1 56ba301cac0b 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 13:52 android14-6.1 60534eef4739 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 10:19 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 09:25 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 09:25 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 06:45 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 06:07 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/08 00:32 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/07 20:57 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/07 19:29 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/07 12:53 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/07 07:34 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/07 07:23 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/06 20:55 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/06 20:08 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/06 16:57 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/06 14:48 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/06 12:28 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/06 12:26 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/04/01 18:33 android14-6.1 931187cc187d 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/30 18:26 android14-6.1 5b8114ec3c92 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/26 23:07 android14-6.1 eef3b6e52937 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/20 18:36 android14-6.1 3f5807c586a6 5b7d42ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/20 16:08 android14-6.1 3f5807c586a6 5b7d42ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/20 02:54 android14-6.1 fa6c89a93f61 a485f239 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/19 12:06 android14-6.1 e623dd5ac2ac e104824c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/19 07:53 android14-6.1 e623dd5ac2ac baa80228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/18 18:47 android14-6.1 4292d259032a baa80228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/17 11:17 android14-6.1 ef39f76e4d24 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/03/17 02:40 android14-6.1 ef39f76e4d24 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/02/06 14:29 android14-6.1 ba97ad7b91bb 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2023/12/26 19:44 android14-6.1 401a2769d990 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] 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.