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: 456d, last: 13m
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 (9)
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 done 19 98d 527d 3/3 fixed on 2024/07/20 06:27
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 157d 2338d 25/27 fixed on 2024/04/10 03:59
upstream kernel BUG in submit_bh_wbc (2) udf C done 123 35d 140d 27/27 fixed on 2024/08/14 03:44
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 570d 1965d 0/1 upstream: reported C repro on 2019/04/27 19:47
linux-6.1 kernel BUG in submit_bh_wbc (2) 17 21h24m 48d 0/3 upstream: reported on 2024/07/26 16:49
linux-4.19 kernel BUG at fs/buffer.c:LINE! (2) udf ext4 C error 31 578d 1391d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 1187 29d 1696d 0/2 upstream: reported C repro on 2020/01/21 13:12
linux-5.15 kernel BUG in submit_bh_wbc C error 8 188d 466d 0/3 auto-obsoleted due to no activity on 2024/06/16 14:58
upstream kernel BUG in submit_bh_wbc nilfs C done 10 141d 151d 25/27 fixed on 2024/04/24 18:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/07/28 10:17 5m retest repro android14-6.1 report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/03/11 21:14 3h12m bisect fix android14-6.1 OK (1) job log
2023/07/28 15:24 1h02m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/buffer.c:2714!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 300 Comm: kmmpd-loop0 Not tainted 6.1.90-syzkaller-00023-gedca080b95df #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 44 d8 e6 ff e9 b0 fe ff ff e8 5a b3 9f ff 0f 0b e8 53 b3 9f ff <0f> 0b e8 4c b3 9f ff 0f 0b e8 45 b3 9f ff 0f 0b e8 3e b3 9f ff 0f
RSP: 0018:ffffc90000e47c20 EFLAGS: 00010293
RAX: ffffffff81d5f23d RBX: 0000000000000000 RCX: ffff8881008aa880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e47c70 R08: ffffffff81d5ee10 R09: ffffed1023a6e26a
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff11023a6e269 R14: ffff88811d371348 R15: 0000000000003801
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555556fd650 CR3: 0000000109a05000 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:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </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 44 d8 e6 ff e9 b0 fe ff ff e8 5a b3 9f ff 0f 0b e8 53 b3 9f ff <0f> 0b e8 4c b3 9f ff 0f 0b e8 45 b3 9f ff 0f 0b e8 3e b3 9f ff 0f
RSP: 0018:ffffc90000e47c20 EFLAGS: 00010293
RAX: ffffffff81d5f23d RBX: 0000000000000000 RCX: ffff8881008aa880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000e47c70 R08: ffffffff81d5ee10 R09: ffffed1023a6e26a
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff11023a6e269 R14: ffff88811d371348 R15: 0000000000003801
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555556fd650 CR3: 000000010eace000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (232):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/20 20:36 android14-6.1 edca080b95df 9f0ab3fb .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in submit_bh_wbc
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/09/13 04:53 android14-6.1 6e5b92a6a151 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/13 00:45 android14-6.1 6e5b92a6a151 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/12 11:41 android14-6.1 b18f8bbc044f 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/12 07:37 android14-6.1 75c9b1955b7e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/11 21:54 android14-6.1 75c9b1955b7e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/11 17:13 android14-6.1 75c9b1955b7e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/11 10:06 android14-6.1 d02968a02321 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/11 06:27 android14-6.1 d02968a02321 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/11 02:19 android14-6.1 d02968a02321 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/11 01:39 android14-6.1 d02968a02321 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/11 00:12 android14-6.1 04212acc42d4 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/10 18:25 android14-6.1 04212acc42d4 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/10 14:38 android14-6.1 04212acc42d4 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/10 03:46 android14-6.1 04212acc42d4 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/10 01:50 android14-6.1 04212acc42d4 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/09 23:47 android14-6.1 04212acc42d4 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/09 16:21 android14-6.1 27310ed6b677 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/09 15:13 android14-6.1 27310ed6b677 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/09 05:49 android14-6.1 27310ed6b677 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/08 16:06 android14-6.1 27310ed6b677 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/07 10:39 android14-6.1 27310ed6b677 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/07 08:51 android14-6.1 27310ed6b677 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/06 21:16 android14-6.1 822682e75de0 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/05 22:45 android14-6.1 c7596f093d79 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/04 20:31 android14-6.1 eabf8327ed1c dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/04 08:32 android14-6.1 09ab23566111 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/03 16:14 android14-6.1 7c5c6b6397bb 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/03 11:09 android14-6.1 a1895da8bd3b 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/03 09:55 android14-6.1 a1895da8bd3b 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/03 07:44 android14-6.1 a1895da8bd3b 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/02 20:01 android14-6.1 a1895da8bd3b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/02 12:04 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/02 08:59 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/02 06:06 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/01 23:25 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/01 23:22 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/01 21:20 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/01 14:54 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/09/01 10:21 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/08/31 10:05 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/08/30 21:17 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/08/30 06:37 android14-6.1 3bb5a64ae9b0 ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/08/29 20:37 android14-6.1 3bb5a64ae9b0 9bd464fc .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.