loop0: detected capacity change from 0 to 32768 (syz.0.0,5318,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. (syz.0.0,5318,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. 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 32767 (syz.0.0,5318,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0x0, computed 0xb88e92ae. Applying ECC. (syz.0.0,5318,0):ocfs2_block_check_validate:416 ERROR: Fixed CRC32 failed: stored: 0x0, computed 0xb88e92ae (syz.0.0,5318,0):ocfs2_validate_inode_block:1441 ERROR: Checksum failed for dinode 17 (syz.0.0,5318,0):ocfs2_find_entry_id:420 ERROR: status = -5 VFS_BUG_ON_INODE(!S_ISDIR(inode->i_mode)) encountered for inode ffff888048080878 fs ocfs2 mode 100000 opflags 0x2 flags 0x20 state 0x0 count 2 ------------[ cut here ]------------ kernel BUG at fs/namei.c:630! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5318 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:lookup_inode_permission_may_exec fs/namei.c:630 [inline] RIP: 0010:may_lookup fs/namei.c:1908 [inline] RIP: 0010:link_path_walk+0x18cb/0x18d0 fs/namei.c:2545 Code: e8 ca 2c e3 fe 90 0f 0b e8 42 6f 7f ff 44 89 fd e9 6a fd ff ff e8 35 6f 7f ff 48 89 ef 48 c7 c6 60 e9 bd 8b e8 a6 2c e3 fe 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 RSP: 0018:ffffc9000cb776a0 EFLAGS: 00010282 RAX: 000000000000008e RBX: ffffc9000cb778d8 RCX: 84bf9f08d51fba00 RDX: ffffc90020802000 RSI: 00000000000008e7 RDI: 00000000000008e8 RBP: ffff888048080878 R08: ffffc9000cb773c7 R09: 1ffff9200196ee78 R10: dffffc0000000000 R11: fffff5200196ee79 R12: 0000000000008000 R13: ffffc9000cb778a0 R14: 0000000000008000 R15: ffff888012e85520 FS: 00007f7c1a06c6c0(0000) GS:ffff88808cce8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa86f00d000 CR3: 0000000040422000 CR4: 0000000000352ef0 Call Trace: path_lookupat+0xe4/0x8c0 fs/namei.c:2753 filename_lookup+0x256/0x5d0 fs/namei.c:2783 kern_path+0x35/0x50 fs/namei.c:2996 lookup_bdev+0xc8/0x290 block/bdev.c:1222 resume_store+0x16f/0x4f0 kernel/power/hibernate.c:1306 kernfs_fop_write_iter+0x3af/0x540 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x61d/0xb90 fs/read_write.c:686 ksys_write+0x150/0x270 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7c1919aeb9 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:00007f7c1a06c028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7c19415fa0 RCX: 00007f7c1919aeb9 RDX: 0000000000000012 RSI: 0000200000000040 RDI: 0000000000000005 RBP: 00007f7c19208c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7c19416038 R14: 00007f7c19415fa0 R15: 00007ffda0b755c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lookup_inode_permission_may_exec fs/namei.c:630 [inline] RIP: 0010:may_lookup fs/namei.c:1908 [inline] RIP: 0010:link_path_walk+0x18cb/0x18d0 fs/namei.c:2545 Code: e8 ca 2c e3 fe 90 0f 0b e8 42 6f 7f ff 44 89 fd e9 6a fd ff ff e8 35 6f 7f ff 48 89 ef 48 c7 c6 60 e9 bd 8b e8 a6 2c e3 fe 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 RSP: 0018:ffffc9000cb776a0 EFLAGS: 00010282 RAX: 000000000000008e RBX: ffffc9000cb778d8 RCX: 84bf9f08d51fba00 RDX: ffffc90020802000 RSI: 00000000000008e7 RDI: 00000000000008e8 RBP: ffff888048080878 R08: ffffc9000cb773c7 R09: 1ffff9200196ee78 R10: dffffc0000000000 R11: fffff5200196ee79 R12: 0000000000008000 R13: ffffc9000cb778a0 R14: 0000000000008000 R15: ffff888012e85520 FS: 00007f7c1a06c6c0(0000) GS:ffff88808cce8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa86f032000 CR3: 0000000040422000 CR4: 0000000000352ef0