BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 6eecb067 P4D 6eecb067 PUD 6ee6f067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9000 Comm: syz-executor.3 Not tainted 5.7.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0010:__read_once_size include/linux/compiler.h:252 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x43/0x60 kernel/kcov.c:202 Code: 24 74 0f 80 e6 01 74 35 8b 90 04 14 00 00 85 d2 74 2b 8b 90 e0 13 00 00 83 fa 02 75 20 48 8b 88 e8 13 00 00 8b 80 e4 13 00 00 <48> 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 66 0f RSP: 0018:ffffc90000957030 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880759e28e0 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff81ff1753 RDI: 0000000000000004 RBP: ffff88801da2d658 R08: ffff888064194100 R09: fffff5200012ae08 R10: 0000000000000003 R11: fffff5200012ae07 R12: 0000000000001046 R13: 0000000000001046 R14: dffffc0000000000 R15: 00000000000002a0 FS: 00007f41ba7a1700(0000) GS:ffff88802ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000649f5000 CR4: 0000000000340ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_es_end fs/ext4/extents_status.c:203 [inline] __es_insert_extent+0xe3/0xf20 fs/ext4/extents_status.c:775 ext4_es_insert_delayed_block+0x1d9/0x540 fs/ext4/extents_status.c:1988 ext4_insert_delayed_block fs/ext4/inode.c:1655 [inline] ext4_da_map_blocks fs/ext4/inode.c:1746 [inline] ext4_da_get_block_prep+0x6ea/0x1120 fs/ext4/inode.c:1810 ext4_block_write_begin+0x59a/0x1430 fs/ext4/inode.c:1053 ext4_da_write_begin+0x56e/0xbc0 fs/ext4/inode.c:2995 generic_perform_write+0x20a/0x4e0 mm/filemap.c:3299 ext4_buffered_write_iter+0x1f7/0x450 fs/ext4/file.c:270 ext4_file_write_iter+0x1ec/0x13f0 fs/ext4/file.c:642 call_write_iter include/linux/fs.h:1917 [inline] do_iter_readv_writev+0x51e/0x790 fs/read_write.c:694 do_iter_write fs/read_write.c:999 [inline] do_iter_write+0x18b/0x600 fs/read_write.c:980 vfs_iter_write+0x70/0xa0 fs/read_write.c:1040 iter_file_splice_write+0x695/0xb10 fs/splice.c:750 do_splice_from+0x86/0x110 fs/splice.c:846 direct_splice_actor+0xa3/0x110 fs/splice.c:1016 splice_direct_to_actor+0x38c/0x980 fs/splice.c:971 do_splice_direct+0x1b4/0x280 fs/splice.c:1059 do_sendfile+0x555/0xc50 fs/read_write.c:1521 __do_sys_sendfile64 fs/read_write.c:1582 [inline] __se_sys_sendfile64 fs/read_write.c:1568 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1568 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c879 Code: 1d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 eb b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f41ba7a0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 000000000074bf00 RCX: 000000000045c879 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004 RBP: 0000000000710ac0 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 00007f41ba7a16d4 R13: 00000000000008f3 R14: 00000000006ece00 R15: 00000000004b296b Modules linked in: CR2: 0000000000000000 ---[ end trace ab6206663f956aa7 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:252 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x43/0x60 kernel/kcov.c:202 Code: 24 74 0f 80 e6 01 74 35 8b 90 04 14 00 00 85 d2 74 2b 8b 90 e0 13 00 00 83 fa 02 75 20 48 8b 88 e8 13 00 00 8b 80 e4 13 00 00 <48> 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 66 0f RSP: 0018:ffffc90000957030 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880759e28e0 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff81ff1753 RDI: 0000000000000004 RBP: ffff88801da2d658 R08: ffff888064194100 R09: fffff5200012ae08 R10: 0000000000000003 R11: fffff5200012ae07 R12: 0000000000001046 R13: 0000000000001046 R14: dffffc0000000000 R15: 00000000000002a0 FS: 00007f41ba7a1700(0000) GS:ffff88802ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000649f5000 CR4: 0000000000340ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400