syzbot


kernel BUG in submit_bh_wbc (3)

Status: moderation: reported on 2024/09/28 10:28
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+6366e65b825df28ba75f@syzkaller.appspotmail.com
First crash: 4d05h, last: 2d00h
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 114d 542d 3/3 fixed on 2024/07/20 06:27
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 172d 2353d 25/28 fixed on 2024/04/10 03:59
upstream kernel BUG in submit_bh_wbc (2) udf C done 123 51d 156d 27/28 fixed on 2024/08/14 03:44
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 586d 1980d 0/1 upstream: reported C repro on 2019/04/27 19:47
linux-6.1 kernel BUG in submit_bh_wbc (2) 29 4d09h 63d 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 593d 1407d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 1187 2d19h 1712d 0/2 upstream: reported C repro on 2020/01/21 13:12
linux-5.15 kernel BUG in submit_bh_wbc C error 8 204d 482d 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 157d 166d 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 419 2h31m 471d 0/2 upstream: reported C repro on 2023/06/15 00:20

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/buffer.c:2785!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5444 Comm: syz.3.27 Not tainted 6.11.0-syzkaller-10669-g11a299a7933e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:submit_bh_wbc+0x556/0x560 fs/buffer.c:2785
Code: 89 fa e8 bd 7b cb 02 e9 95 fe ff ff e8 b3 95 74 ff 90 0f 0b e8 ab 95 74 ff 90 0f 0b e8 a3 95 74 ff 90 0f 0b e8 9b 95 74 ff 90 <0f> 0b e8 93 95 74 ff 90 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900047ff418 EFLAGS: 00010283
RAX: ffffffff82201f55 RBX: 0000000000000154 RCX: 0000000000040000
RDX: ffffc900096f9000 RSI: 00000000000006e9 RDI: 00000000000006ea
RBP: 0000000000000100 R08: ffffffff82201b19 R09: 1ffff1100b939400
R10: dffffc0000000000 R11: ffffed100b939401 R12: 0000000000000000
R13: ffff88805c9ca000 R14: 0000000000000000 R15: 1ffff1100b939400
FS:  00007f041d7b96c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f041103f000 CR3: 000000007e93e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 submit_bh fs/buffer.c:2824 [inline]
 block_read_full_folio+0x93b/0xcd0 fs/buffer.c:2451
 do_mpage_readpage+0x1a73/0x1c80 fs/mpage.c:317
 mpage_read_folio+0x108/0x1e0 fs/mpage.c:392
 filemap_read_folio+0x14b/0x630 mm/filemap.c:2363
 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3821
 read_mapping_folio include/linux/pagemap.h:1011 [inline]
 nilfs_get_folio+0x4b/0x240 fs/nilfs2/dir.c:190
 nilfs_find_entry+0x138/0x650 fs/nilfs2/dir.c:313
 nilfs_inode_by_name+0xa8/0x210 fs/nilfs2/dir.c:393
 nilfs_lookup+0x76/0x110 fs/nilfs2/namei.c:62
 lookup_one_qstr_excl+0x11f/0x260 fs/namei.c:1633
 do_renameat2+0x670/0x13f0 fs/namei.c:5111
 __do_sys_rename fs/namei.c:5217 [inline]
 __se_sys_rename fs/namei.c:5215 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5215
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f041c97df39
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f041d7b9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f041cb35f80 RCX: 00007f041c97df39
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000020000100
RBP: 00007f041c9f0216 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f041cb35f80 R15: 00007ffd15d67b88
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:submit_bh_wbc+0x556/0x560 fs/buffer.c:2785
Code: 89 fa e8 bd 7b cb 02 e9 95 fe ff ff e8 b3 95 74 ff 90 0f 0b e8 ab 95 74 ff 90 0f 0b e8 a3 95 74 ff 90 0f 0b e8 9b 95 74 ff 90 <0f> 0b e8 93 95 74 ff 90 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900047ff418 EFLAGS: 00010283
RAX: ffffffff82201f55 RBX: 0000000000000154 RCX: 0000000000040000
RDX: ffffc900096f9000 RSI: 00000000000006e9 RDI: 00000000000006ea
RBP: 0000000000000100 R08: ffffffff82201b19 R09: 1ffff1100b939400
R10: dffffc0000000000 R11: ffffed100b939401 R12: 0000000000000000
R13: ffff88805c9ca000 R14: 0000000000000000 R15: 1ffff1100b939400
FS:  00007f041d7b96c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f9ef3f7f38 CR3: 000000007e93e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/26 14:58 upstream 11a299a7933e 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/09/24 10:21 upstream abf2050f51fd 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
* Struck through repros no longer work on HEAD.