syz.0.0 (5324) used greatest s[ 68.812872][ T4683] Bluetooth: hci0: command tx timeout 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. ======================================================= JBD2: Ignoring recovery information on journal ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. ------------[ cut here ]------------ kernel BUG at fs/ocfs2/refcounttree.c:2890! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.12.0-rc5-syzkaller-00047-g4236f913808c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_clear_cow_buffer+0x79/0x80 fs/ocfs2/refcounttree.c:2890 Code: 02 75 21 e8 89 a2 02 fe 4c 89 f7 be 08 00 00 00 e8 ac 63 6c fe 3e 41 80 26 ef 31 c0 5b 41 5e c3 cc cc cc cc e8 68 a2 02 fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d166f60 EFLAGS: 00010283 RAX: ffffffff839237b8 RBX: 0000000000000002 RCX: 0000000000040000 RDX: ffffc9000daf9000 RSI: 000000000000093a RDI: 000000000000093b RBP: 0000000000001000 R08: ffffffff8392378c R09: 1ffff11009d541d0 R10: dffffc0000000000 R11: ffffed1009d541d1 R12: ffff88804eaa0e80 R13: ffff88804eaa0d98 R14: ffff88804eaa0e80 R15: 0000000000000000 FS: 00007f55986d46c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce994d301e CR3: 000000003eb58000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: walk_page_buffers+0x104/0x1d0 fs/ocfs2/aops.c:434 ocfs2_duplicate_clusters_by_page+0xb0a/0x1450 fs/ocfs2/refcounttree.c:2970 ocfs2_replace_clusters fs/ocfs2/refcounttree.c:3123 [inline] ocfs2_make_clusters_writable fs/ocfs2/refcounttree.c:3255 [inline] ocfs2_replace_cow+0xd82/0x25d0 fs/ocfs2/refcounttree.c:3349 ocfs2_refcount_cow_hunk fs/ocfs2/refcounttree.c:3427 [inline] ocfs2_refcount_cow+0x9c9/0x11c0 fs/ocfs2/refcounttree.c:3470 ocfs2_prepare_inode_for_write fs/ocfs2/file.c:2340 [inline] ocfs2_file_write_iter+0xf34/0x1f50 fs/ocfs2/file.c:2449 do_iter_readv_writev+0x600/0x880 vfs_writev+0x376/0xba0 fs/read_write.c:1064 do_pwritev fs/read_write.c:1165 [inline] __do_sys_pwritev2 fs/read_write.c:1224 [inline] __se_sys_pwritev2+0x1ca/0x2d0 fs/read_write.c:1215 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f559797e719 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:00007f55986d4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f5597b35f80 RCX: 00007f559797e719 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 000000000000000e RBP: 00007f55979f132e R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000007800 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5597b35f80 R15: 00007ffd4b69aff8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_clear_cow_buffer+0x79/0x80 fs/ocfs2/refcounttree.c:2890 Code: 02 75 21 e8 89 a2 02 fe 4c 89 f7 be 08 00 00 00 e8 ac 63 6c fe 3e 41 80 26 ef 31 c0 5b 41 5e c3 cc cc cc cc e8 68 a2 02 fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d166f60 EFLAGS: 00010283 RAX: ffffffff839237b8 RBX: 0000000000000002 RCX: 0000000000040000 RDX: ffffc9000daf9000 RSI: 000000000000093a RDI: 000000000000093b RBP: 0000000000001000 R08: ffffffff8392378c R09: 1ffff11009d541d0 R10: dffffc0000000000 R11: ffffed1009d541d1 R12: ffff88804eaa0e80 R13: ffff88804eaa0d98 R14: ffff88804eaa0e80 R15: 0000000000000000 FS: 00007f55986d46c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce994d301e CR3: 000000003eb58000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400