syzbot


kernel BUG in ocfs2_truncate_file (2)

Status: upstream: reported on 2026/04/27 09:02
Subsystems: ocfs2
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+83b3e2bb16ee8eaf0e68@syzkaller.appspotmail.com
First crash: 54d, last: 2d13h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
fc49e542-906a-4c80-89b5-eabc05f452a7 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ kernel BUG in ocfs2_truncate_file (2) 2026/05/30 20:44 2026/05/30 20:44 2026/05/30 21:51 6b4a844333e83556da95d61d7f207e7ef5cd4bc6

			
		
71a2afde-75db-4c89-bdb2-c1ebb1cf3fa9 assessment-security 💥 kernel BUG in ocfs2_truncate_file (2) 2026/05/14 11:45 2026/05/14 11:45 2026/05/14 11:46 6ccb967e465e832a7bfd7a116ad00d52a0923a5d
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/40b4ba35a77e412e12...
truncated to first 200 bytes; open job for full error
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] kernel BUG in ocfs2_truncate_file (2) 0 (1) 2026/04/27 09:02
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_truncate_file ocfs2 -1 C 179 187d 632d 29/29 fixed on 2026/01/07 12:29
linux-6.6 kernel BUG in ocfs2_truncate_file -1 3 22d 22d 0/2 upstream: reported on 2026/05/25 17:28
linux-6.1 kernel BUG in ocfs2_truncate_file -1 2 219d 316d 0/3 auto-obsoleted due to no activity on 2026/02/17 03:34

Sample crash report:
loop0: detected capacity change from 32768 to 0
(syz.0.0,5332,0):ocfs2_truncate_file:461 ERROR: bug expression: le64_to_cpu(fe->i_size) != i_size_read(inode)
(syz.0.0,5332,0):ocfs2_truncate_file:461 ERROR: Inode 17058, inode i_size = 7012352 != di i_size = 6946816, i_flags = 0x2001
------------[ cut here ]------------
kernel BUG at fs/ocfs2/file.c:461!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5332 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_truncate_file+0x135e/0x1530 fs/ocfs2/file.c:455
Code: cc 12 8c 49 89 d8 4d 89 f1 50 41 54 e8 eb cb 17 00 48 83 c4 10 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 48 c6 44 01 18 f8 90 <0f> 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 28 f8 ff ff 48 89 df e8
RSP: 0018:ffffc90003a9f780 EFLAGS: 00010282
RAX: dffffc0000000000 RBX: 00000000000042a2 RCX: 1ffff92000753f00
RDX: ffffc90021003000 RSI: 0000000000001351 RDI: 0000000000001352
RBP: ffffc90003a9f9b0 R08: ffffc90003a9f387 R09: 1ffff92000753e70
R10: dffffc0000000000 R11: fffff52000753e71 R12: 00000000006a0000
R13: ffff8880560e442c R14: 00000000006b0000 R15: ffffc90003a9f8c0
FS:  00007f76409d46c0(0000) GS:ffff88808c8ae000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f76409b2fe8 CR3: 0000000013392000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 ocfs2_setattr+0x1641/0x1d10 fs/ocfs2/file.c:1219
 notify_change+0xbba/0xea0 fs/attr.c:556
 do_truncate+0x1c2/0x250 fs/open.c:68
 do_ftruncate+0x4d4/0x590 fs/open.c:194
 ksys_ftruncate fs/open.c:206 [inline]
 __do_sys_ftruncate fs/open.c:211 [inline]
 __se_sys_ftruncate fs/open.c:209 [inline]
 __x64_sys_ftruncate+0x8f/0xe0 fs/open.c:209
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f764459ce59
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:00007f76409d3fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007f7644816090 RCX: 00007f764459ce59
RDX: 0000000000000000 RSI: 0000000000010001 RDI: 0000000000000005
RBP: 00007f7644632d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7644816128 R14: 00007f7644816090 R15: 00007fff9eaedf38
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_truncate_file+0x135e/0x1530 fs/ocfs2/file.c:455
Code: cc 12 8c 49 89 d8 4d 89 f1 50 41 54 e8 eb cb 17 00 48 83 c4 10 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 48 c6 44 01 18 f8 90 <0f> 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 28 f8 ff ff 48 89 df e8
RSP: 0018:ffffc90003a9f780 EFLAGS: 00010282
RAX: dffffc0000000000 RBX: 00000000000042a2 RCX: 1ffff92000753f00
RDX: ffffc90021003000 RSI: 0000000000001351 RDI: 0000000000001352
RBP: ffffc90003a9f9b0 R08: ffffc90003a9f387 R09: 1ffff92000753e70
R10: dffffc0000000000 R11: fffff52000753e71 R12: 00000000006a0000
R13: ffff8880560e442c R14: 00000000006b0000 R15: ffffc90003a9f8c0
FS:  00007f76409d46c0(0000) GS:ffff88808c8ae000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f76409b2fe8 CR3: 0000000013392000 CR4: 0000000000352ef0

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/14 10:09 upstream 2b07ea76fd28 4f06757f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/11 13:11 upstream 9716c086c8e8 d93a6ab6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/10 15:13 upstream acb7500801e9 f79bac11 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/09 09:35 upstream 2d3090a8aeb5 656e94c6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/08 18:19 upstream 2d3090a8aeb5 656e94c6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/06 09:14 upstream 06121e12c27a cc095639 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/05 12:07 upstream ddd664bbff63 48b6c3fa .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/04 03:47 upstream ba3e43a9e601 197909be .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/04 03:22 upstream ba3e43a9e601 197909be .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/03 19:19 upstream ba3e43a9e601 234057e5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/03 19:08 upstream ba3e43a9e601 234057e5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/03 07:53 upstream ba3e43a9e601 3c0d2131 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/03 06:28 upstream ba3e43a9e601 3c0d2131 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/03 05:20 upstream ba3e43a9e601 3c0d2131 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/03 01:18 upstream ba3e43a9e601 3c0d2131 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/02 17:46 upstream 6f3ed7fec72f 62fe1528 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/02 16:25 upstream 6f3ed7fec72f 62fe1528 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/02 16:25 upstream 6f3ed7fec72f 62fe1528 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/02 16:23 upstream 6f3ed7fec72f 62fe1528 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/02 08:02 upstream 6f3ed7fec72f 1095583b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/02 07:57 upstream 6f3ed7fec72f 1095583b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/02 03:31 upstream e43ffb69e043 1095583b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/01 16:42 upstream e43ffb69e043 8d8eeb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/06/01 00:01 upstream 8d9c51eac648 6b4a8443 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/05/11 22:08 upstream 5d6919055dec d168f260 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/05/10 04:43 upstream 1bfaee9d3351 29233ece .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/05/06 11:33 upstream 74fe02ce122a 23ad3581 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/05/06 11:31 upstream 74fe02ce122a 23ad3581 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/05/06 11:30 upstream 74fe02ce122a 23ad3581 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/04/30 05:02 upstream 57b8e2d666a3 005438fc .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/04/23 18:18 upstream 2e6803928193 629ff21a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/04/23 18:15 upstream 2e6803928193 629ff21a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/04/23 08:53 upstream 2a4c0c11c019 b10da5ec .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
2026/04/23 08:52 upstream 2a4c0c11c019 b10da5ec .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_truncate_file
* Struck through repros no longer work on HEAD.