syzbot


kernel BUG in submit_bh_wbc (2)

Status: fixed on 2024/08/14 03:44
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+5f682cd029581f9edfd1@syzkaller.appspotmail.com
Fix commit: a90d4471146d udf: Avoid using corrupted block bitmap buffer
First crash: 168d, last: 62d
Cause bisection: introduced by (bisect log) :
commit 1e0d4adf17e7ef03281d7b16555e7c1508c8ed2d
Author: Vladislav Efanov <VEfanov@ispras.ru>
Date: Thu Feb 2 14:04:56 2023 +0000

  udf: Check consistency of Space Bitmap Descriptor

Crash: kernel BUG in submit_bh_wbc (log)
Repro: C syz .config
  
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 2/3] udf: Avoid using corrupted block bitmap buffer 1 (1) 2024/06/17 15:41
[syzbot] Monthly udf report (Jun 2024) 0 (1) 2024/06/15 17:49
[syzbot] Monthly udf report (May 2024) 0 (1) 2024/05/14 20:49
[syzbot] [udf?] kernel BUG in submit_bh_wbc (2) 0 (1) 2024/04/25 09:05
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 125d 554d 3/3 fixed on 2024/07/20 06:27
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 184d 2365d 25/28 fixed on 2024/04/10 03:59
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 598d 1992d 0/1 upstream: reported C repro on 2019/04/27 19:47
linux-6.1 kernel BUG in submit_bh_wbc (2) 35 1d11h 75d 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 605d 1419d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 1187 14d 1723d 0/2 upstream: reported C repro on 2020/01/21 13:12
upstream kernel BUG in submit_bh_wbc (3) fs 7 2d07h 12d 0/28 moderation: reported on 2024/09/28 10:28
linux-5.15 kernel BUG in submit_bh_wbc C error 8 215d 493d 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 169d 178d 25/28 fixed on 2024/04/24 18:26
android-6-1 kernel BUG in submit_bh_wbc missing-backport origin:lts C done done 575 6h18m 483d 0/2 upstream: reported C repro on 2023/06/15 00:20

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/buffer.c:2768!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 PID: 5077 Comm: syz-executor119 Not tainted 6.9.0-syzkaller-01768-ga5131c3fdf26 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:submit_bh_wbc+0x546/0x560 fs/buffer.c:2768
Code: 74 7b ff be 00 10 00 00 48 c7 c7 00 c3 47 8e 4c 89 fa e8 dd 87 c5 02 e9 95 fe ff ff e8 e3 73 7b ff 90 0f 0b e8 db 73 7b ff 90 <0f> 0b e8 d3 73 7b ff 90 0f 0b e8 cb 73 7b ff 90 0f 0b e8 c3 73 7b
RSP: 0018:ffffc90003e37878 EFLAGS: 00010293
RAX: ffffffff821acf05 RBX: 0000000000000000 RCX: ffff88807fd35a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff821aca63 R09: 1ffff1100fe3783a
R10: dffffc0000000000 R11: ffffed100fe3783b R12: 0000000000000000
R13: ffff88807f1bc1d0 R14: 0000000000000000 R15: 1ffff1100fe3783a
FS:  000055558f228380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055717debdb78 CR3: 000000004fdce000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 submit_bh fs/buffer.c:2809 [inline]
 __bh_read fs/buffer.c:3074 [inline]
 bh_read_nowait include/linux/buffer_head.h:417 [inline]
 __block_write_begin_int+0x12d0/0x1a70 fs/buffer.c:2134
 __block_write_begin fs/buffer.c:2154 [inline]
 block_write_begin+0x9b/0x1e0 fs/buffer.c:2213
 udf_write_begin+0x10d/0x1a0 fs/udf/inode.c:261
 generic_perform_write+0x322/0x640 mm/filemap.c:3974
 udf_file_write_iter+0x2fd/0x660 fs/udf/file.c:111
 call_write_iter include/linux/fs.h:2120 [inline]
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0xa2d/0xc50 fs/read_write.c:590
 ksys_write+0x1a0/0x2c0 fs/read_write.c:643
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb713220839
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:00007ffc803fb7a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffc803fb978 RCX: 00007fb713220839
RDX: 0000000000000001 RSI: 0000000020000700 RDI: 0000000000000004
RBP: 00007fb713293610 R08: 00007ffc803fb978 R09: 00007ffc803fb978
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc803fb968 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:submit_bh_wbc+0x546/0x560 fs/buffer.c:2768
Code: 74 7b ff be 00 10 00 00 48 c7 c7 00 c3 47 8e 4c 89 fa e8 dd 87 c5 02 e9 95 fe ff ff e8 e3 73 7b ff 90 0f 0b e8 db 73 7b ff 90 <0f> 0b e8 d3 73 7b ff 90 0f 0b e8 cb 73 7b ff 90 0f 0b e8 c3 73 7b
RSP: 0018:ffffc90003e37878 EFLAGS: 00010293
RAX: ffffffff821acf05 RBX: 0000000000000000 RCX: ffff88807fd35a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff821aca63 R09: 1ffff1100fe3783a
R10: dffffc0000000000 R11: ffffed100fe3783b R12: 0000000000000000
R13: ffff88807f1bc1d0 R14: 0000000000000000 R15: 1ffff1100fe3783a
FS:  000055558f228380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055717debdb78 CR3: 000000004fdce000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (123):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/14 16:03 upstream a5131c3fdf26 fdb4c10c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/04/24 19:43 upstream e88c4cfcb7b8 8bdc0f22 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/04/28 10:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6a71d2909427 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in submit_bh_wbc
2024/08/02 12:05 upstream c0ecd6388360 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/22 22:11 upstream 933069701c1b df655b64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/16 23:05 upstream d67978318827 b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/15 23:03 upstream 5e0497553643 e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/15 11:35 upstream 0c3836482481 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/14 18:13 upstream 4d145e3f830b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/14 07:38 upstream 4d145e3f830b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/11 02:42 upstream a19ea421490d 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/11 01:10 upstream a19ea421490d 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/10 23:24 upstream a19ea421490d 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/10 19:06 upstream a19ea421490d 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/10 13:26 upstream 34afb82a3c67 bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/08 20:18 upstream 256abd8e550c cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/08 18:29 upstream 256abd8e550c cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/08 10:37 upstream 256abd8e550c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/05 21:48 upstream d270dd21bee0 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/05 07:29 upstream 661e504db04c 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/04 05:41 upstream 8a9c6c40432e f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/03 23:37 upstream 8a9c6c40432e f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/02 22:35 upstream 1dfe225e9af5 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/02 09:24 upstream 73e931504f8e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/02 00:18 upstream 22a40d14b572 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/07/01 21:42 upstream 22a40d14b572 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/26 09:42 upstream 55027e689933 dec8bc94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/25 22:50 upstream 55027e689933 dec8bc94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/25 17:24 upstream 55027e689933 04bd2a30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/25 07:51 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/25 01:51 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/24 20:17 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/19 19:29 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/19 15:44 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/18 21:07 upstream 2ccbdf43d5e7 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/15 00:21 upstream 2ccbdf43d5e7 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in submit_bh_wbc
2024/06/14 23:21 upstream 2ccbdf43d5e7 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in submit_bh_wbc
2024/06/13 11:43 upstream 2ccbdf43d5e7 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/06/13 09:35 upstream 2ccbdf43d5e7 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/05/26 21:34 upstream 6fbf71854e2d a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in submit_bh_wbc
2024/06/19 14:29 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in submit_bh_wbc
2024/06/19 05:58 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in submit_bh_wbc
2024/06/16 01:19 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in submit_bh_wbc
2024/06/14 16:47 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in submit_bh_wbc
2024/06/17 14:58 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in submit_bh_wbc
2024/06/14 16:38 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in submit_bh_wbc
2024/05/19 10:10 linux-next c75962170e49 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in submit_bh_wbc
2024/08/08 14:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in submit_bh_wbc
2024/08/06 00:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in submit_bh_wbc
2024/07/26 08:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in submit_bh_wbc
2024/07/12 09:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in submit_bh_wbc
2024/06/22 15:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in submit_bh_wbc
2024/06/14 20:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in submit_bh_wbc
* Struck through repros no longer work on HEAD.