syzbot


kernel BUG in ocfs2_set_new_buffer_uptodate

Status: upstream: reported C repro on 2025/09/14 20:32
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e09012f6624c70d54f27@syzkaller.appspotmail.com
First crash: 4d17h, last: 10h45m
Bug presence (1)
Date Name Commit Repro Result
2025/09/15 upstream (ToT) f83ec76bf285 C [report] kernel BUG in ocfs2_set_new_buffer_uptodate
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_set_new_buffer_uptodate ocfs2 -1 C inconclusive 55 285d 396d 28/29 fixed on 2024/12/16 09:50
linux-5.15 kernel BUG in ocfs2_set_new_buffer_uptodate (2) origin:upstream -1 C error 5 4d12h 131d 0/3 upstream: reported C repro on 2025/05/11 13:56
upstream kernel BUG in ocfs2_set_new_buffer_uptodate (2) ocfs2 -1 C inconclusive 1615 4h54m 267d 0/29 upstream: reported C repro on 2024/12/25 16:47
linux-6.1 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream -1 C error 4 222d 256d 0/3 upstream: reported C repro on 2025/01/06 04:02
linux-5.15 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream missing-backport -1 C error 7 256d 346d 0/3 auto-obsoleted due to no activity on 2025/04/15 21:51

Sample crash report:
         option from the mount to silence this warning.
=======================================================
ocfs2: Mounting device (7,0) on (node local, slot 0) with writeback data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/uptodate.c:509!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5951 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:ocfs2_set_new_buffer_uptodate+0x147/0x160 fs/ocfs2/uptodate.c:509
Code: 03 42 80 3c 20 00 74 0e 48 89 cf 49 89 ce e8 b0 79 7c fe 4c 89 f1 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d ff 21 e8 79 2e 25 fe <0f> 0b e8 72 2e 25 fe 0f 0b e8 6b 2e 25 fe 0f 0b e8 64 2e 25 fe 0f
RSP: 0018:ffffc900034869e8 EFLAGS: 00010293
RAX: ffffffff836061c7 RBX: ffff8880608b8830 RCX: ffff88802a56da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8e4a94ef R09: 1ffffffff1c9529d
R10: dffffc0000000000 R11: fffffbfff1c9529e R12: 1ffff92000690d70
R13: dffffc0000000000 R14: ffff888077e83910 R15: ffff888077e83910
FS:  000055557300e500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe716b909c0 CR3: 00000000192c2000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 ocfs2_extend_dir+0x115a/0x4760 fs/ocfs2/dir.c:3303
 ocfs2_prepare_dx_dir_for_insert fs/ocfs2/dir.c:4236 [inline]
 ocfs2_prepare_dir_for_insert+0x3d44/0x5480 fs/ocfs2/dir.c:4298
 ocfs2_mknod+0x818/0x20f0 fs/ocfs2/namei.c:294
 ocfs2_mkdir+0x196/0x410 fs/ocfs2/namei.c:657
 vfs_mkdir+0x296/0x440 fs/namei.c:4113
 do_mkdirat+0x1d4/0x440 fs/namei.c:4136
 __do_sys_mkdirat fs/namei.c:4151 [inline]
 __se_sys_mkdirat fs/namei.c:4149 [inline]
 __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4f5c98eba9
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:00007ffc999450c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f4f5cbd5fa0 RCX: 00007f4f5c98eba9
RDX: 0000000000000000 RSI: 0000200000000180 RDI: 0000000000000005
RBP: 00007f4f5ca11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4f5cbd5fa0 R14: 00007f4f5cbd5fa0 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_set_new_buffer_uptodate+0x147/0x160 fs/ocfs2/uptodate.c:509
Code: 03 42 80 3c 20 00 74 0e 48 89 cf 49 89 ce e8 b0 79 7c fe 4c 89 f1 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d ff 21 e8 79 2e 25 fe <0f> 0b e8 72 2e 25 fe 0f 0b e8 6b 2e 25 fe 0f 0b e8 64 2e 25 fe 0f
RSP: 0018:ffffc900034869e8 EFLAGS: 00010293
RAX: ffffffff836061c7 RBX: ffff8880608b8830 RCX: ffff88802a56da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8e4a94ef R09: 1ffffffff1c9529d
R10: dffffc0000000000 R11: fffffbfff1c9529e R12: 1ffff92000690d70
R13: dffffc0000000000 R14: ffff888077e83910 R15: ffff888077e83910
FS:  000055557300e500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe717184000 CR3: 00000000192c2000 CR4: 00000000003506f0

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/14 21:37 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/09/19 03:43 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/09/18 23:14 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/09/18 23:13 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/09/14 20:32 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
* Struck through repros no longer work on HEAD.