------------[ cut here ]------------ WARNING: CPU: 0 PID: 22630 at fs/read_write.c:414 __kernel_read+0x697/0x830 fs/read_write.c:414 Modules linked in: CPU: 0 PID: 22630 Comm: syz-executor.1 Not tainted 6.3.0-rc5-next-20230406-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:__kernel_read+0x697/0x830 fs/read_write.c:414 Code: 05 00 00 4c 89 e2 48 c7 c6 00 ba 5b 8a 48 c7 c7 40 ba 5b 8a e8 6a a5 82 ff 49 c7 c6 ea ff ff ff e9 8e fe ff ff e8 49 9b 9e ff <0f> 0b 49 c7 c6 ea ff ff ff e9 7b fe ff ff e8 36 9b 9e ff 4c 89 ea RSP: 0018:ffffc90005887610 EFLAGS: 00010216 RAX: 000000000000194e RBX: ffff88807a7aca7c RCX: ffffc90004201000 RDX: 0000000000040000 RSI: ffffffff81e4bc87 RDI: 0000000000000005 RBP: 1ffff92000b10ec3 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000094001 R12: ffff88807a7aca00 R13: ffffc90005887818 R14: 000000004958801c R15: 0000000000000001 FS: 00007f4c4cfde700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f98b7fa8000 CR3: 000000009cc8a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: build_merkle_tree+0x422/0xc50 fs/verity/enable.c:121 enable_verity+0x66a/0x9d0 fs/verity/enable.c:260 fsverity_ioctl_enable+0x3b6/0x500 fs/verity/enable.c:378 __ext4_ioctl+0x23d2/0x4b00 fs/ext4/ioctl.c:1574 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4c4c28c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4c4cfde168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4c4c3abf80 RCX: 00007f4c4c28c169 RDX: 00000000200001c0 RSI: 0000000040806685 RDI: 0000000000000003 RBP: 00007f4c4c2e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff817fa4bf R14: 00007f4c4cfde300 R15: 0000000000022000