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. loop0: detected capacity change from 32768 to 32704 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:922! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5329 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_reserve_suballoc_bits+0x40c6/0x4850 fs/ocfs2/suballoc.c:922 Code: 00 00 e9 2b f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c cc da ff ff 48 89 df e8 e5 86 42 fe e9 bf da ff ff e8 0b d6 d0 fd 90 <0f> 0b 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 62 dc ff ff 4c 89 f7 RSP: 0018:ffffc9000eb5d820 EFLAGS: 00010283 RAX: ffffffff83f74a55 RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 0000000000028f6a RDI: 0000000000028f6b RBP: ffffc9000eb5dcf0 R08: ffffffff907a877f R09: 1ffffffff20f50ef R10: dffffc0000000000 R11: fffffbfff20f50f0 R12: ffff888044365c60 R13: ffff888043c94e00 R14: dffffc0000000000 R15: fffff52001d6bb30 FS: 00007f1e68a506c0(0000) GS:ffff88808c2bb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e68a0cfe8 CR3: 0000000011f22000 CR4: 0000000000352ef0 Call Trace: ocfs2_reserve_cluster_bitmap_bits+0xc4/0x1d0 fs/ocfs2/suballoc.c:1250 ocfs2_local_alloc_reserve_for_window fs/ocfs2/localalloc.c:1106 [inline] ocfs2_local_alloc_slide_window fs/ocfs2/localalloc.c:1242 [inline] ocfs2_reserve_local_alloc_bits+0x8d0/0x2680 fs/ocfs2/localalloc.c:669 ocfs2_reserve_clusters_with_limit+0x1b9/0xc20 fs/ocfs2/suballoc.c:1284 ocfs2_reserve_clusters fs/ocfs2/suballoc.c:1345 [inline] ocfs2_lock_allocators+0x2d1/0x5f0 fs/ocfs2/suballoc.c:3120 ocfs2_write_begin_nolock+0x1b7b/0x41f0 fs/ocfs2/aops.c:1720 __ocfs2_page_mkwrite fs/ocfs2/mmap.c:92 [inline] ocfs2_page_mkwrite+0x640/0xb60 fs/ocfs2/mmap.c:143 do_page_mkwrite+0x147/0x310 mm/memory.c:3816 wp_page_shared mm/memory.c:4217 [inline] do_wp_page+0x1a9c/0x4b80 mm/memory.c:4440 handle_pte_fault mm/memory.c:6582 [inline] __handle_mm_fault mm/memory.c:6707 [inline] handle_mm_fault+0x15d7/0x3750 mm/memory.c:6876 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x1675/0x2750 mm/gup.c:1428 __get_user_pages_locked mm/gup.c:1692 [inline] __gup_longterm_locked+0x115b/0x15c0 mm/gup.c:2471 gup_fast_fallback+0x1d92/0x20e0 mm/gup.c:3209 iov_iter_extract_user_pages lib/iov_iter.c:1776 [inline] iov_iter_extract_pages+0x3a1/0x690 lib/iov_iter.c:1845 iov_iter_extract_bvecs+0x272/0xb40 lib/iov_iter.c:1957 bio_iov_iter_get_pages+0x5ae/0xee0 block/bio.c:1309 blkdev_iov_iter_get_pages block/fops.c:49 [inline] __blkdev_direct_IO+0x661/0xf60 block/fops.c:219 blkdev_direct_IO+0x121e/0x17c0 block/fops.c:440 blkdev_read_iter+0x223/0x420 block/fops.c:821 aio_read+0x33a/0x4d0 fs/aio.c:1656 __io_submit_one fs/aio.c:-1 [inline] io_submit_one+0x774/0x13d0 fs/aio.c:2106 __do_sys_io_submit fs/aio.c:2165 [inline] __se_sys_io_submit+0x195/0x340 fs/aio.c:2135 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:0x7f1e67b9e159 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:00007f1e68a4ffe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f1e67e26090 RCX: 00007f1e67b9e159 RDX: 00002000000000c0 RSI: 00000000000000ca RDI: 00007f1e68a2f000 RBP: 00007f1e67c3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1e67e26128 R14: 00007f1e67e26090 R15: 00007fff6fd17148 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_reserve_suballoc_bits+0x40c6/0x4850 fs/ocfs2/suballoc.c:922 Code: 00 00 e9 2b f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c cc da ff ff 48 89 df e8 e5 86 42 fe e9 bf da ff ff e8 0b d6 d0 fd 90 <0f> 0b 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 62 dc ff ff 4c 89 f7 RSP: 0018:ffffc9000eb5d820 EFLAGS: 00010283 RAX: ffffffff83f74a55 RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 0000000000028f6a RDI: 0000000000028f6b RBP: ffffc9000eb5dcf0 R08: ffffffff907a877f R09: 1ffffffff20f50ef R10: dffffc0000000000 R11: fffffbfff20f50f0 R12: ffff888044365c60 R13: ffff888043c94e00 R14: dffffc0000000000 R15: fffff52001d6bb30 FS: 00007f1e68a506c0(0000) GS:ffff88808c2bb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8b75d0ed00 CR3: 0000000011f22000 CR4: 0000000000352ef0