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: 179d, last: 88d
Fix bisection: failed (error log, bisect log)
  
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 (3)
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 117d 229d 28/28 fixed on 2024/12/16 09:50
upstream kernel BUG in ocfs2_set_new_buffer_uptodate (2) ocfs2 C inconclusive 17 19d 100d 0/28 upstream: reported C repro on 2024/12/25 16:47
linux-6.1 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream C error 4 55d 88d 0/3 upstream: reported C repro on 2025/01/06 04:02
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/02/05 16:46 17m retest repro linux-5.15.y OK log
2025/01/04 10:42 17m retest repro linux-5.15.y OK log
2025/01/04 10:42 17m retest repro linux-5.15.y OK log
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:
ocfs2: Mounting device (7,2) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/uptodate.c:509!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4937 Comm: syz.2.179 Not tainted 5.15.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff800020697820
x29: ffff800020697820 x28: dfff800000000000 x27: ffff7000040d2f24
x26: 1ffff000040d2f72 x25: 0000000000000000 x24: ffff0000de3db2f0
x23: ffff0000c1f18000 x22: ffff800020697960 x21: 0000000000000001
x20: ffff0000f282a658 x19: ffff0000de3db2f0 x18: ffff800020697320
x17: 0000000000000002 x16: ffff800011b4eaf8 x15: 000000000002c5ed
x14: 1ffff0000296e06c x13: dfff800000000000 x12: 0000000000080000
x11: 0000000000002932 x10: ffff8000230ca000 x9 : 0000000000002933
x8 : ffff800009f6ac60 x7 : ffff800009e8c190 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008305a08
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 ocfs2_set_new_buffer_uptodate+0x150/0x198 fs/ocfs2/uptodate.c:509
 ocfs2_group_add+0x2f8/0x116c 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 979565e5 (d4210000) 
---[ end trace c262719472998201 ]---

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/05 21:51 linux-5.15.y 91786f140358 f3558dbf .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/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 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/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.