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: 525d, last: 1d09h
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 (10)
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 168d 596d 3/3 fixed on 2024/07/20 06:27
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 226d 2408d 25/28 fixed on 2024/04/10 03:59
upstream kernel BUG in submit_bh_wbc (2) udf C done 123 105d 210d 27/28 fixed on 2024/08/14 03:44
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
linux-6.1 kernel BUG in submit_bh_wbc (2) origin:lts-only C 43 2d19h 118d 0/3 upstream: reported C repro on 2024/07/26 16:49
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
upstream kernel BUG in submit_bh_wbc (3) nilfs fs C done 18 31d 38d 28/28 fixed on 2024/11/12 23:31
linux-5.15 kernel BUG in submit_bh_wbc C error 8 258d 536d 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 211d 220d 25/28 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: 299 Comm: kmmpd-loop0 Not tainted 6.1.99-syzkaller-00109-g0e8b65e41ffd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 04 d7 e6 ff e9 b0 fe ff ff e8 8a 97 9f ff 0f 0b e8 83 97 9f ff <0f> 0b e8 7c 97 9f ff 0f 0b e8 75 97 9f ff 0f 0b e8 6e 97 9f ff 0f
RSP: 0018:ffffc90000ef7c20 EFLAGS: 00010293
RAX: ffffffff81d60bbd RBX: 0000000000000000 RCX: ffff88811cfb0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000ef7c70 R08: ffffffff81d60790 R09: ffffed10217eb016
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff110217eb015 R14: ffff88810bf580a8 R15: 0000000000003801
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6fbb2a62f8 CR3: 000000010ee42000 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+0x263/0xa10 fs/ext4/mmp.c:246
 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 04 d7 e6 ff e9 b0 fe ff ff e8 8a 97 9f ff 0f 0b e8 83 97 9f ff <0f> 0b e8 7c 97 9f ff 0f 0b e8 75 97 9f ff 0f 0b e8 6e 97 9f ff 0f
RSP: 0018:ffffc90000ef7c20 EFLAGS: 00010293
RAX: ffffffff81d60bbd RBX: 0000000000000000 RCX: ffff88811cfb0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000ef7c70 R08: ffffffff81d60790 R09: ffffed10217eb016
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff110217eb015 R14: ffff88810bf580a8 R15: 0000000000003801
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6fbb2a62f8 CR3: 000000010ee42000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (787):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/08 00:13 android14-6.1 0e8b65e41ffd d7906eff .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/09/25 06:24 android14-6.1 5c7d0d4f4a38 5643e0e9 .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/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/11/20 07:32 android14-6.1 5b095ade1229 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/20 05:30 android14-6.1 4a105e4e1c7a 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/18 23:47 android14-6.1 6cf2e7d96862 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/18 09:38 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/18 09:36 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/18 07:41 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/18 03:10 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/18 00:27 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/17 19:23 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/17 12:39 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/17 09:11 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/17 03:51 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/16 11:59 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/14 07:55 android14-6.1 351af49c1d4c a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/13 23:38 android14-6.1 8ed9a61b544c bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/13 11:30 android14-6.1 38859a233e31 bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/12 03:13 android14-6.1 96ad4e759ff4 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/11 15:52 android14-6.1 96ad4e759ff4 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/11 11:13 android14-6.1 eef3d33656ce 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/11 08:57 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/11 05:33 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/11 03:59 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/11 01:55 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/11 00:42 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/10 22:24 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/10 20:33 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/10 12:48 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/10 10:15 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/10 08:43 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/10 06:36 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/10 04:23 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/09 22:19 android14-6.1 eef3d33656ce 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/08 17:33 android14-6.1 d3daafbfd2bf 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/08 07:16 android14-6.1 d3daafbfd2bf 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/08 00:06 android14-6.1 f3367f466a0a 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/06 16:20 android14-6.1 976b055754d7 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/06 10:29 android14-6.1 976b055754d7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/05 22:12 android14-6.1 976b055754d7 da38b4c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/04 20:11 android14-6.1 fadb08b36671 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/04 16:15 android14-6.1 fadb08b36671 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/04 12:53 android14-6.1 fadb08b36671 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/04 11:52 android14-6.1 fadb08b36671 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/04 11:49 android14-6.1 fadb08b36671 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/04 09:25 android14-6.1 fadb08b36671 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in submit_bh_wbc
2024/11/04 07:56 android14-6.1 fadb08b36671 f00eed24 .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.