syzbot


kernel BUG in ocfs2_write_block

Status: upstream: reported C repro on 2024/09/19 00:02
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+c818e5c4559444f88aa0@syzkaller.appspotmail.com
First crash: 341d, last: 9d14h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in ocfs2_write_block (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] kernel BUG in ocfs2_write_block 0 (1) 2024/09/19 00:02
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in ocfs2_write_block origin:upstream -1 C error 6 8d13h 297d 0/3 upstream: reported C repro on 2024/10/28 08:07
linux-5.15 kernel BUG in ocfs2_write_block origin:upstream -1 C error 7 20d 265d 0/3 upstream: reported C repro on 2024/11/29 21:33
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/08/12 15:16 59m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/08/12 15:16 1h11m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/06/30 12:06 14m retest repro upstream report log
2025/06/03 17:22 14m retest repro upstream report log
2025/06/03 17:22 14m retest repro upstream report log
2025/05/07 16:45 2h40m retest repro upstream report log
2025/03/30 09:32 15m retest repro upstream error
2025/03/30 09:32 13m retest repro upstream error
2025/03/30 08:25 15m retest repro upstream error
2025/03/16 07:18 1h02m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/04/18 10:10 1h17m bisect fix upstream OK (0) job log log

Sample crash report:
loop0: detected capacity change from 0 to 32768
=======================================================
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
------------[ cut here ]------------
kernel BUG at fs/ocfs2/buffer_head_io.c:45!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 5837 Comm: syz-executor186 Not tainted 6.16.0-rc6-syzkaller-00253-g4871b7cb27f4 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:ocfs2_write_block+0x5d2/0x640 fs/ocfs2/buffer_head_io.c:45
Code: 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ff e8 05 21 8b fe 49 8b 3f 4c 89 ee 48 8b 14 24 e8 16 7f 0f 00 eb 1f e8 6f 3a 2b fe 90 <0f> 0b e8 67 3a 2b fe 90 0f 0b e8 5f 3a 2b fe e9 ce fa ff ff e8 55
RSP: 0018:ffffc90003f6ef60 EFLAGS: 00010293
RAX: ffffffff8394ed61 RBX: 1ffff1100ea32a77 RCX: ffff88801e359e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90003f6f030 R08: ffffffff8fa0acf7 R09: 1ffffffff1f4159e
R10: dffffc0000000000 R11: fffffbfff1f4159f R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8880751953a0 R15: 0000000000000001
FS:  000055555c618380(0000) GS:ffff888125c59000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005575837cc540 CR3: 0000000071dd8000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 ocfs2_update_disk_slot+0x6c6/0x9c0 fs/ocfs2/slot_map.c:197
 ocfs2_find_slot+0x6bb/0xc30 fs/ocfs2/slot_map.c:482
 ocfs2_mount_volume fs/ocfs2/super.c:1749 [inline]
 ocfs2_fill_super+0x3ef4/0x63d0 fs/ocfs2/super.c:1083
 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1681
 vfs_get_tree+0x8f/0x2b0 fs/super.c:1804
 do_new_mount+0x24a/0xa40 fs/namespace.c:3902
 do_mount fs/namespace.c:4239 [inline]
 __do_sys_mount fs/namespace.c:4450 [inline]
 __se_sys_mount+0x317/0x410 fs/namespace.c:4427
 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:0x7f83a56f89fa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdf06a5308 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffdf06a5320 RCX: 00007f83a56f89fa
RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007ffdf06a5320
RBP: 0000200000000040 R08: 00007ffdf06a5360 R09: 0000000000004450
R10: 00000000010008d0 R11: 0000000000000202 R12: 0000200000004440
R13: 00007ffdf06a5360 R14: 0000000000000003 R15: 00000000010008d0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_write_block+0x5d2/0x640 fs/ocfs2/buffer_head_io.c:45
Code: 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ff e8 05 21 8b fe 49 8b 3f 4c 89 ee 48 8b 14 24 e8 16 7f 0f 00 eb 1f e8 6f 3a 2b fe 90 <0f> 0b e8 67 3a 2b fe 90 0f 0b e8 5f 3a 2b fe e9 ce fa ff ff e8 55
RSP: 0018:ffffc90003f6ef60 EFLAGS: 00010293
RAX: ffffffff8394ed61 RBX: 1ffff1100ea32a77 RCX: ffff88801e359e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90003f6f030 R08: ffffffff8fa0acf7 R09: 1ffffffff1f4159e
R10: dffffc0000000000 R11: fffffbfff1f4159f R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8880751953a0 R15: 0000000000000001
FS:  000055555c618380(0000) GS:ffff888125d59000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557583809f40 CR3: 0000000071dd8000 CR4: 00000000003526f0

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/19 20:27 upstream 4871b7cb27f4 7117feec .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_block
2025/06/16 10:56 upstream e04c78d86a96 5f4b362d .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_block
2024/12/04 02:38 upstream ceb8bf2ceaa7 b50eb251 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_write_block
2024/11/12 01:26 upstream 2d5404caa8c7 75bb1b32 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_write_block
2024/09/15 14:47 upstream d42f7708e27c 08d8a733 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_write_block
2025/05/20 17:02 upstream a5806cd506af b47f9e02 .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_block
2025/02/13 15:58 upstream 4dc1d1bec898 7320a65f .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root kernel BUG in ocfs2_write_block
2024/09/17 13:10 upstream a430d95c5efa c673ca06 .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_block
2025/07/29 10:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 82af5ea7c611 c4a95487 .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_block
2024/09/15 00:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 ff60e2ca .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2024/10/29 19:28 upstream e42b1a9a2557 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_block
2024/10/10 15:11 upstream d3d1556696c1 d44647df .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_block
2024/09/28 21:58 upstream ad46e8f95e93 ba29ff75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_write_block
2025/07/11 19:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ec4801305969 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2025/07/08 03:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7482bb149b9f 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2025/03/02 06:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e056da87c780 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2025/01/23 02:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 25e17fd3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2024/12/25 14:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2024/11/19 21:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7b1d1d4cfac0 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2024/11/19 21:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7b1d1d4cfac0 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2024/09/28 23:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
2024/09/14 23:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 ff60e2ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_write_block
* Struck through repros no longer work on HEAD.