syzbot


kernel BUG in ocfs2_write_cluster_by_desc

Status: upstream: reported C repro on 2024/09/16 18:35
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+18a87160c7d64ba2e2f6@syzkaller.appspotmail.com
First crash: 389d, last: 30m
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in ocfs2_write_cluster (log)
Repro: C syz .config
  
Discussions (4)
Title Replies (including bot) Last reply
[syzbot] Monthly ocfs2 report (Oct 2025) 0 (1) 2025/10/03 06:37
[syzbot] [ocfs2?] kernel BUG in ocfs2_write_cluster_by_desc 1 (6) 2024/09/23 08:31
[PATCH 2/2] osfs2: Fix kernel BUG in ocfs2_write_cluster 3 (3) 2024/09/21 17:30
[PATCH 1/2] ocfs2: Fix deadlock in ocfs2_read_virt_blocks 3 (3) 2024/09/21 14:22
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 C 18 11d 103d 0/3 upstream: reported C repro on 2025/06/29 23:33
linux-6.1 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 C error 53 30m 203d 0/3 upstream: reported C repro on 2025/03/21 13:38
linux-6.6 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 C 5 11d 81d 0/2 upstream: reported C repro on 2025/07/21 22:19
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/09/30 19:12 15m retest repro upstream report log
2024/09/30 19:12 15m retest repro upstream report log
2024/09/30 19:12 15m retest repro upstream report log
2024/09/23 08:16 14m heming.zhao@suse.com patch upstream report log
2024/09/18 15:53 19m pvmohammedanees2003@gmail.com patch upstream OK log
2024/09/18 15:22 14m pvmohammedanees2003@gmail.com patch upstream report log
2024/09/17 16:26 13m pvmohammedanees2003@gmail.com patch upstream report 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/aops.c:1159!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 6001 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1159 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1cc1/0x1cf0 fs/ocfs2/aops.c:1219
Code: 03 48 8d bc 24 10 02 00 00 48 c7 c6 f5 13 bf 8c ba 6a 04 00 00 48 c7 c1 c0 24 0a 8b e8 38 52 1b 00 90 0f 0b e8 a0 1f 2e fe 90 <0f> 0b e8 98 1f 2e fe 90 0f 0b e8 90 1f 2e fe 90 0f 0b e8 88 1f 2e
RSP: 0018:ffffc90003b3ee60 EFLAGS: 00010293
RAX: ffffffff838ea780 RBX: ffff88803d3d4014 RCX: ffff888032951dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b3f190 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1d6cd47 R12: ffff888036018000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88803d3d4014
FS:  0000555573006500(0000) GS:ffff888127125000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf183894c CR3: 000000003a634000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 ocfs2_write_begin_nolock+0x31a3/0x4340 fs/ocfs2/aops.c:1796
 ocfs2_write_begin+0x1bb/0x310 fs/ocfs2/aops.c:1884
 generic_perform_write+0x29a/0x8c0 mm/filemap.c:4175
 ocfs2_file_write_iter+0x157d/0x1d20 fs/ocfs2/file.c:2469
 new_sync_write fs/read_write.c:593 [inline]
 vfs_write+0x5d5/0xb40 fs/read_write.c:686
 ksys_write+0x14b/0x260 fs/read_write.c:738
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc58240eec9
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:00007ffd3159b7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc582665fa0 RCX: 00007fc58240eec9
RDX: 0000000000032600 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fc582491f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc582665fa0 R14: 00007fc582665fa0 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1159 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1cc1/0x1cf0 fs/ocfs2/aops.c:1219
Code: 03 48 8d bc 24 10 02 00 00 48 c7 c6 f5 13 bf 8c ba 6a 04 00 00 48 c7 c1 c0 24 0a 8b e8 38 52 1b 00 90 0f 0b e8 a0 1f 2e fe 90 <0f> 0b e8 98 1f 2e fe 90 0f 0b e8 90 1f 2e fe 90 0f 0b e8 88 1f 2e
RSP: 0018:ffffc90003b3ee60 EFLAGS: 00010293
RAX: ffffffff838ea780 RBX: ffff88803d3d4014 RCX: ffff888032951dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b3f190 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1d6cd47 R12: ffff888036018000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88803d3d4014
FS:  0000555573006500(0000) GS:ffff888127125000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf183894c CR3: 000000003a634000 CR4: 00000000003526f0

Crashes (3682):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/30 05:37 upstream 1896ce8eb6c6 86341da6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/08/19 15:12 upstream be48bcf004f9 254a27c1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/08/17 17:44 upstream 99bade344cfa 1804e95e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-kasan-gce-root kernel BUG in ocfs2_write_cluster_by_desc
2025/07/24 20:15 upstream 25fae0b93d1d 65d60d73 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/07/13 08:15 upstream 3f31a806a62e 3cda49cf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/07/13 07:10 upstream 3f31a806a62e 3cda49cf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/06/25 21:18 upstream 92ca6c498a5e 26d77996 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/06/13 08:41 upstream 27605c8c0f69 98683f8f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2024/12/27 02:49 upstream d6ef8b40d075 d3ccff63 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/08/11 00:27 upstream 2b38afce25c4 32a0e5ed .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (clean fs)] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/06/25 17:36 upstream 7595b66ae9de 26d77996 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2024/09/16 19:10 upstream adfc3ded5c33 49cf0773 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2024/09/16 18:28 upstream adfc3ded5c33 49cf0773 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2024/09/16 17:46 upstream adfc3ded5c33 49cf0773 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/08/02 17:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 82af5ea7c611 7368264b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 23:50 upstream 8bd9238e511d ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 23:54 upstream ec714e371f22 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 18:38 upstream ec714e371f22 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 01:26 upstream 971199ad2a0f 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_write_cluster_by_desc
2025/10/11 01:27 upstream 917167ed1211 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 22:15 upstream 917167ed1211 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 17:51 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 16:46 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 15:45 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 14:31 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 12:43 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 11:38 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 08:37 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 07:06 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 05:39 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 01:48 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 19:42 upstream ec714e371f22 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 18:01 upstream ec714e371f22 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 16:48 upstream ec714e371f22 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 12:12 upstream ec714e371f22 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 07:55 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 04:37 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 03:17 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 02:06 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 00:53 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 23:20 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 22:20 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 18:25 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 15:49 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 14:17 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 12:53 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 11:52 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 10:12 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 07:32 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 04:10 upstream c746c3b51698 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 00:16 upstream c746c3b51698 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/07 17:58 linux-next 4a7153147192 8ef35d49 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 21:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 10:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 04:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/10 03:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 15:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 14:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 09:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/09 06:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/10/08 05:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_cluster_by_desc
* Struck through repros no longer work on HEAD.