syzbot


kernel BUG in submit_bh_wbc (3)

Status: upstream: reported on 2024/10/14 06:02
Subsystems: nilfs fs
[Documentation on labels]
Reported-by: syzbot+985ada84bf055a575c07@syzkaller.appspotmail.com
First crash: 21d, last: 3h00m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [fs?] kernel BUG in submit_bh_wbc (3) 1 (2) 2024/10/14 09:53
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 131d 559d 3/3 fixed on 2024/07/20 06:27
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 189d 2370d 25/28 fixed on 2024/04/10 03:59
upstream kernel BUG in submit_bh_wbc (2) udf C done 123 67d 173d 27/28 fixed on 2024/08/14 03:44
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 603d 1997d 0/1 upstream: reported C repro on 2019/04/27 19:47
linux-6.1 kernel BUG in submit_bh_wbc (2) 36 12h56m 80d 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 610d 1424d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 1187 19d 1728d 0/2 upstream: reported C repro on 2020/01/21 13:12
linux-5.15 kernel BUG in submit_bh_wbc C error 8 220d 498d 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 174d 183d 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 607 3h45m 488d 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: 1 UID: 0 PID: 5312 Comm: syz.0.1 Not tainted 6.12.0-rc3-syzkaller-00013-geca631b8fe80 #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 5d da cb 02 e9 95 fe ff ff e8 63 9b 74 ff 90 0f 0b e8 5b 9b 74 ff 90 0f 0b e8 53 9b 74 ff 90 0f 0b e8 4b 9b 74 ff 90 <0f> 0b e8 43 9b 74 ff 90 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90004256a78 EFLAGS: 00010287

RAX: ffffffff82204bb5 RBX: 0000000000000154 RCX: 0000000000040000
RDX: ffffc9000907a000 RSI: 0000000000000758 RDI: 0000000000000759
RBP: 0000000000000100 R08: ffffffff82204779 R09: 1ffff1100ba18722
R10: dffffc0000000000 R11: ffffed100ba18723 R12: 0000000000000000
R13: ffff88805d0c3910 R14: 0000000000000000 R15: 1ffff1100ba18722
FS:  00007fc3aa0e86c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31efcff8 CR3: 000000002834e000 CR4: 00000000003526f0
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:2367
 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3825
 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_slow+0x28c/0x3f0 fs/namei.c:1732
 lookup_slow fs/namei.c:1749 [inline]
 lookup_one_unlocked+0x1a4/0x290 fs/namei.c:2912
 ovl_lookup_positive_unlocked fs/overlayfs/namei.c:210 [inline]
 ovl_lookup_single+0x200/0xbd0 fs/overlayfs/namei.c:240
 ovl_lookup_layer+0x417/0x510 fs/overlayfs/namei.c:333
 ovl_lookup+0x5d8/0x2a60 fs/overlayfs/namei.c:1068
 __lookup_slow+0x28c/0x3f0 fs/namei.c:1732
 lookup_slow+0x53/0x70 fs/namei.c:1749
 walk_component+0x2e1/0x410 fs/namei.c:2053
 lookup_last fs/namei.c:2556 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2580
 filename_lookup+0x256/0x610 fs/namei.c:2609
 do_linkat+0x13f/0x6f0 fs/namei.c:4789
 __do_sys_link fs/namei.c:4843 [inline]
 __se_sys_link fs/namei.c:4841 [inline]
 __x64_sys_link+0x82/0x90 fs/namei.c:4841
 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:0x7fc3a937dff9
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:00007fc3aa0e8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000056
RAX: ffffffffffffffda RBX: 00007fc3a9536058 RCX: 00007fc3a937dff9
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000020000200
RBP: 00007fc3a93f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc3a9536058 R15: 00007fff23f5bfb8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:submit_bh_wbc+0x556/0x560 fs/buffer.c:2785
Code: 89 fa e8 5d da cb 02 e9 95 fe ff ff e8 63 9b 74 ff 90 0f 0b e8 5b 9b 74 ff 90 0f 0b e8 53 9b 74 ff 90 0f 0b e8 4b 9b 74 ff 90 <0f> 0b e8 43 9b 74 ff 90 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90004256a78 EFLAGS: 00010287
RAX: ffffffff82204bb5 RBX: 0000000000000154 RCX: 0000000000040000
RDX: ffffc9000907a000 RSI: 0000000000000758 RDI: 0000000000000759
RBP: 0000000000000100 R08: ffffffff82204779 R09: 1ffff1100ba18722
R10: dffffc0000000000 R11: ffffed100ba18723 R12: 0000000000000000
R13: ffff88805d0c3910 R14: 0000000000000000 R15: 1ffff1100ba18722
FS:  00007fc3aa0e86c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c9eebbe058 CR3: 000000002834e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/15 10:04 upstream eca631b8fe80 7eb57b4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/15 04:16 upstream eca631b8fe80 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/14 21:38 upstream eca631b8fe80 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/14 06:18 upstream 6485cf5ea253 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/14 06:09 upstream 6485cf5ea253 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/14 06:02 upstream 6485cf5ea253 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/08 02:48 upstream 87d6aab2389e d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/07 04:33 upstream 8cf0b93919e1 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/06 06:01 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/05 10:12 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
2024/10/02 16:49 upstream e32cde8d2bd7 02f9582a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in submit_bh_wbc
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.