general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 28914 Comm: syz-executor.1 Not tainted 6.3.0-rc6-next-20230414-syzkaller-12018-gd3f2cd248191 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:PageTail include/linux/page-flags.h:284 [inline] RIP: 0010:folio_flags.constprop.0+0x22/0x150 include/linux/page-flags.h:311 Code: ff ff 66 0f 1f 44 00 00 41 54 49 89 fc 55 53 e8 14 80 44 ff 49 8d 7c 24 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 f8 00 00 00 49 8b 5c 24 08 31 ff 83 e3 01 48 89 RSP: 0018:ffffc90015d17038 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: 0000000000000051 RCX: ffffc90004062000 RDX: 0000000000000000 RSI: ffffffff823ef67c RDI: 0000000000000006 RBP: ffff88809206b4b0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: fffffffffffffffe R13: 1ffff92002ba2e0c R14: 0000000000000000 R15: ffff88809206b4e0 FS: 00007faa94f57700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f2a000 CR3: 000000003f03b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_test_uptodate include/linux/page-flags.h:699 [inline] ext4_read_merkle_tree_page+0xf7/0x4a0 fs/ext4/verity.c:369 verify_data_block+0x4cf/0x1dc0 fs/verity/verify.c:200 verify_data_blocks+0x207/0x260 fs/verity/verify.c:284 fsverity_verify_blocks+0xc8/0x140 fs/verity/verify.c:315 fsverity_verify_page include/linux/fsverity.h:259 [inline] ext4_mpage_readpages+0xc94/0x19a0 fs/ext4/readpage.c:337 ext4_readahead+0x106/0x140 fs/ext4/inode.c:3179 read_pages+0x1a2/0xd40 mm/readahead.c:161 page_cache_ra_unbounded+0x477/0x5e0 mm/readahead.c:270 do_page_cache_ra mm/readahead.c:300 [inline] page_cache_ra_order+0x6ec/0xa00 mm/readahead.c:560 ondemand_readahead+0x6b3/0x1080 mm/readahead.c:682 page_cache_sync_ra+0x1c9/0x200 mm/readahead.c:709 page_cache_sync_readahead include/linux/pagemap.h:1211 [inline] filemap_get_pages+0x28d/0x1620 mm/filemap.c:2595 filemap_read+0x32c/0xc30 mm/filemap.c:2690 generic_file_read_iter+0x3ad/0x5b0 mm/filemap.c:2836 ext4_file_read_iter+0x1d9/0x690 fs/ext4/file.c:147 call_read_iter include/linux/fs.h:1848 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x6b1/0x960 fs/read_write.c:470 ksys_read+0x12b/0x250 fs/read_write.c:613 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:0x7faa9428c169 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:00007faa94f57168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007faa943ac120 RCX: 00007faa9428c169 RDX: 00000ffffffff000 RSI: 0000000020000300 RDI: 0000000000000004 RBP: 00007faa942e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8dfc762f R14: 00007faa94f57300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:PageTail include/linux/page-flags.h:284 [inline] RIP: 0010:folio_flags.constprop.0+0x22/0x150 include/linux/page-flags.h:311 Code: ff ff 66 0f 1f 44 00 00 41 54 49 89 fc 55 53 e8 14 80 44 ff 49 8d 7c 24 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 f8 00 00 00 49 8b 5c 24 08 31 ff 83 e3 01 48 89 RSP: 0018:ffffc90015d17038 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: 0000000000000051 RCX: ffffc90004062000 RDX: 0000000000000000 RSI: ffffffff823ef67c RDI: 0000000000000006 RBP: ffff88809206b4b0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: fffffffffffffffe R13: 1ffff92002ba2e0c R14: 0000000000000000 R15: ffff88809206b4e0 FS: 00007faa94f57700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faa94f36718 CR3: 000000003f03b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 6: 41 54 push %r12 8: 49 89 fc mov %rdi,%r12 b: 55 push %rbp c: 53 push %rbx d: e8 14 80 44 ff callq 0xff448026 12: 49 8d 7c 24 08 lea 0x8(%r12),%rdi 17: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1e: fc ff df 21: 48 89 fa mov %rdi,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 f8 00 00 00 jne 0x12a 32: 49 8b 5c 24 08 mov 0x8(%r12),%rbx 37: 31 ff xor %edi,%edi 39: 83 e3 01 and $0x1,%ebx 3c: 48 rex.W 3d: 89 .byte 0x89