syzbot


kernel BUG in ocfs2_set_new_buffer_uptodate

Status: upstream: reported C repro on 2025/09/14 20:32
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+e09012f6624c70d54f27@syzkaller.appspotmail.com
First crash: 139d, last: 21d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: kernel BUG in ocfs2_set_new_buffer_uptodate (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2025/12/21 linux-6.6.y (ToT) 5fa4793a2d2d C [report] kernel BUG in ocfs2_set_new_buffer_uptodate
2025/09/15 upstream (ToT) f83ec76bf285 C [report] kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/21 upstream (ToT) 78f2a78e8db8 C Didn't crash
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 420d 531d 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 6 26d 265d 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 done 3028 48d 402d 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 missing-backport -1 C error 7 31d 391d 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 391d 481d 0/3 auto-obsoleted due to no activity on 2025/04/15 21:51
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2026/01/06 19:43 1h14m fix candidate upstream OK (0) job log
2025/11/26 03:09 1h52m bisect fix linux-6.6.y OK (0) job log log
2025/10/26 15:22 2h16m bisect fix linux-6.6.y OK (0) job log log

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: 5924 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/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 50 38 7c fe 4c 89 f1 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d ff 21 e8 49 ca 24 fe <0f> 0b e8 42 ca 24 fe 0f 0b e8 3b ca 24 fe 0f 0b e8 34 ca 24 fe 0f
RSP: 0018:ffffc900033665c8 EFLAGS: 00010293
RAX: ffffffff8360c677 RBX: ffff88805fa28830 RCX: ffff888028e28000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8e4a212f R09: 1ffffffff1c94425
R10: dffffc0000000000 R11: fffffbfff1c94426 R12: 1ffff9200066ccec
R13: dffffc0000000000 R14: ffff88801fd5d658 R15: ffff88801fd5d658
FS:  000055558a7ef500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdfa0960000 CR3: 0000000076766000 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_create+0x196/0x410 fs/ocfs2/namei.c:674
 lookup_open fs/namei.c:3496 [inline]
 open_last_lookups fs/namei.c:3564 [inline]
 path_openat+0x1277/0x3190 fs/namei.c:3794
 do_filp_open+0x1c5/0x3d0 fs/namei.c:3824
 do_sys_openat2+0x12c/0x1c0 fs/open.c:1421
 do_sys_open fs/open.c:1436 [inline]
 __do_sys_openat fs/open.c:1452 [inline]
 __se_sys_openat fs/open.c:1447 [inline]
 __x64_sys_openat+0x139/0x160 fs/open.c:1447
 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:0x7f212058f749
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:00007ffeb2923d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f21207e5fa0 RCX: 00007f212058f749
RDX: 0000000000143042 RSI: 0000200000000d80 RDI: ffffffffffffff9c
RBP: 00007f2120613f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f21207e5fa0 R14: 00007f21207e5fa0 R15: 0000000000000004
 </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 50 38 7c fe 4c 89 f1 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d ff 21 e8 49 ca 24 fe <0f> 0b e8 42 ca 24 fe 0f 0b e8 3b ca 24 fe 0f 0b e8 34 ca 24 fe 0f
RSP: 0018:ffffc900033665c8 EFLAGS: 00010293
RAX: ffffffff8360c677 RBX: ffff88805fa28830 RCX: ffff888028e28000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8e4a212f R09: 1ffffffff1c94425
R10: dffffc0000000000 R11: fffffbfff1c94426 R12: 1ffff9200066ccec
R13: dffffc0000000000 R14: ffff88801fd5d658 R15: ffff88801fd5d658
FS:  000055558a7ef500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdfa0960000 CR3: 0000000076766000 CR4: 00000000003506e0

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/25 12:51 linux-6.6.y 5fa4793a2d2d d6526ea3 .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/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
2026/01/11 07:20 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2026/01/10 13:51 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2026/01/08 23:13 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2026/01/07 00:40 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2026/01/06 07:31 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/30 12:15 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/30 11:07 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/30 10:56 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/29 10:05 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/27 11:01 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/27 07:02 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/27 01:54 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/26 23:04 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/26 18:55 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/25 19:07 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/25 12:20 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/25 12:07 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/23 08:24 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/22 22:29 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/22 21:08 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/22 04:36 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/19 10:14 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/19 08:50 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/16 16:24 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/16 03:51 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/14 04:41 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/12/10 01:04 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_set_new_buffer_uptodate
2025/11/29 07:06 linux-6.6.y 1e89a1be4fe9 d6526ea3 .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/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.