kernel BUG in ocfs2_set_new_buffer_uptodate (3)

Status: upstream: reported on 2026/09/19 21:50
Subsystems: ocfs2
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+03aaa576f1daa1c1f2f0@syzkaller.appspotmail.com
First crash: 5d01h, last: 5d01h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
62fab917 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ kernel BUG in ocfs2_set_new_buffer_uptodate (3) 2026/09/17 00:56 2026/09/17 00:56 2026/09/17 01:35 95928915
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] ocfs2: validate chunk and block counts of the local quota file 1 (1) 2026/09/20 14:07
[syzbot] [ocfs2?] kernel BUG in ocfs2_set_new_buffer_uptodate (3) 0 (1) 2026/09/19 21:50
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_set_new_buffer_uptodate ocfs2 -1 syz, C inconclusive 55 651d 763d 28/29 fixed on 2024/12/16 09:50
linux-6.6 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream missing-backport -1 syz, C inconclusive 34 252d 371d 0/2 upstream: reported C repro on 2025/09/14 20:32
linux-5.15 kernel BUG in ocfs2_set_new_buffer_uptodate (2) origin:upstream -1 syz, C error 6 159d 497d 0/3 upstream: reported C repro on 2025/05/11 13:56
upstream kernel BUG in ocfs2_set_new_buffer_uptodate (2) ocfs2 -1 syz, C inconclusive done 3031 230d 634d 0/29 auto-obsoleted due to no activity on 2026/07/07 20:11
linux-6.1 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream missing-backport -1 syz, C error 7 263d 622d 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 syz, C error 7 623d 713d 0/3 auto-obsoleted due to no activity on 2025/04/15 21:51

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/uptodate.c:509!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:ocfs2_set_new_buffer_uptodate+0x149/0x170 fs/ocfs2/uptodate.c:509
Code: 80 3c 20 00 74 08 4c 89 f7 e8 13 fc 3a fe 4d 8b 1e 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d 2e e9 15 7a 01 1c e8 b8 55 c9 fd 90 <0f> 0b e8 b0 55 c9 fd 90 0f 0b e8 a8 55 c9 fd 90 0f 0b e8 a0 55 c9
RSP: 0000:ffffc9000e027108 EFLAGS: 00010293
RAX: ffffffff83fe8bd8 RBX: ffff888043c9b218 RCX: ffff888000dc4b00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff907a627f R09: 1ffffffff20f4c4f
R10: dffffc0000000000 R11: fffffbfff20f4c50 R12: dffffc0000000000
R13: ffff888043ce70e0 R14: ffff888043ce70e0 R15: ffff88801d025080
FS:  00007f335d9af6c0(0000) GS:ffff88808c2c6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f335ccd8250 CR3: 0000000013815000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 ocfs2_extend_local_quota_file fs/ocfs2/quota_local.c:1146 [inline]
 ocfs2_create_local_dquot+0x80e/0x1aa0 fs/ocfs2/quota_local.c:1232
 ocfs2_acquire_dquot+0x82c/0xb70 fs/ocfs2/quota_global.c:897
 dqget+0x725/0xbd0 fs/quota/dquot.c:1002
 __dquot_initialize+0x3c8/0xd40 fs/quota/dquot.c:1462
 ocfs2_get_init_inode+0x147/0x1c0 fs/ocfs2/namei.c:206
 ocfs2_mknod+0x8bb/0x22b0 fs/ocfs2/namei.c:315
 ocfs2_mkdir+0x180/0x430 fs/ocfs2/namei.c:667
 vfs_mkdir+0x40c/0x620 fs/namei.c:5410
 filename_mkdirat+0x285/0x510 fs/namei.c:5443
 __do_sys_mkdir fs/namei.c:5470 [inline]
 __se_sys_mkdir+0x34/0x150 fs/namei.c:5467
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f335cb9e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f335d9aefe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f335ce26090 RCX: 00007f335cb9e159
RDX: 0000000000000000 RSI: 00000000000001ef RDI: 0000200000000040
RBP: 00007f335cc3503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f335ce26128 R14: 00007f335ce26090 R15: 00007fff6f6a4708
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_set_new_buffer_uptodate+0x149/0x170 fs/ocfs2/uptodate.c:509
Code: 80 3c 20 00 74 08 4c 89 f7 e8 13 fc 3a fe 4d 8b 1e 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d 2e e9 15 7a 01 1c e8 b8 55 c9 fd 90 <0f> 0b e8 b0 55 c9 fd 90 0f 0b e8 a8 55 c9 fd 90 0f 0b e8 a0 55 c9
RSP: 0000:ffffc9000e027108 EFLAGS: 00010293
RAX: ffffffff83fe8bd8 RBX: ffff888043c9b218 RCX: ffff888000dc4b00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff907a627f R09: 1ffffffff20f4c4f
R10: dffffc0000000000 R11: fffffbfff20f4c50 R12: dffffc0000000000
R13: ffff888043ce70e0 R14: ffff888043ce70e0 R15: ffff88801d025080
FS:  00007f335d9af6c0(0000) GS:ffff88808c2c6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f335cdeb660 CR3: 0000000013815000 CR4: 0000000000352ef0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/15 21:43 upstream f6e7b42bf05b f41e228a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
* Struck through repros no longer work on HEAD.