syzbot


kernel BUG in ocfs2_set_new_buffer_uptodate

Status: upstream: reported C repro on 2024/10/07 16:30
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+f33899659d05f47a67c3@syzkaller.appspotmail.com
First crash: 74d, last: 21d
Bug presence (3)
Date Name Commit Repro Result
2024/11/27 linux-5.15.y (ToT) 0a51d2d4527b C [report] kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/13 upstream (ToT) 36c254515dc6 C [report] kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/27 upstream (ToT) aaf20f870da0 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_set_new_buffer_uptodate ocfs2 C inconclusive 55 13d 124d 28/28 fixed on 2024/12/16 09:50
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/10/24 16:26 1h06m retest repro linux-5.15.y report log
2024/10/24 16:26 12m retest repro linux-5.15.y report log
2024/10/24 16:26 12m retest repro linux-5.15.y report log

Sample crash report:
(syz-executor354,4015,0):ocfs2_verify_group_and_input:420 ERROR: add a group which is in the current volume.
(syz-executor354,4015,0):ocfs2_group_add:503 ERROR: status = -22
------------[ cut here ]------------
kernel BUG at fs/ocfs2/uptodate.c:509!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4015 Comm: syz-executor354 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_set_new_buffer_uptodate+0x150/0x198 fs/ocfs2/uptodate.c:509
lr : ocfs2_set_new_buffer_uptodate+0x150/0x198 fs/ocfs2/uptodate.c:509
sp : ffff80001fd37820
x29: ffff80001fd37820 x28: 1ffff00003fa6f72 x27: dfff800000000000
x26: ffff700003fa6f24 x25: ffff0000dbf98878 x24: ffff0000dbf98830
x23: ffff0000dac48000 x22: ffff80001fd37960 x21: 0000000000000001
x20: ffff0000e18f4828 x19: ffff0000dbf98830 x18: 1fffe00036831b8e
x17: 1fffe00036831b8e x16: ffff800011ac23e0 x15: ffff800014b5ef40
x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000cb2d3680
x8 : ffff800009ee29ec x7 : ffff800009e042c4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000083059e0
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 ocfs2_set_new_buffer_uptodate+0x150/0x198 fs/ocfs2/uptodate.c:509
 ocfs2_group_add+0x2f4/0x1100 fs/ocfs2/resize.c:499
 ocfs2_ioctl+0x81c/0xdf4 fs/ocfs2/ioctl.c:887
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: a8c47bfd d50323bf d65f03c0 97978d34 (d4210000) 
---[ end trace e352d08930842f9b ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/07 18:26 linux-5.15.y 3a5928702e71 d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/07 17:48 linux-5.15.y 3a5928702e71 d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/07 17:11 linux-5.15.y 3a5928702e71 d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/29 18:15 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/22 03:40 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/07 16:29 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
* Struck through repros no longer work on HEAD.