general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 PID: 6750 Comm: rs:main Q:Reg Not tainted 5.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__ext4_journal_get_write_access+0x6b/0x2b0 fs/ext4/ext4_jbd2.c:227 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 25 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 30 48 8d 7b 10 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 f8 01 00 00 4c 8b 73 10 4d 85 f6 0f 84 f4 00 00 RSP: 0018:ffffc90006186f78 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88809980a828 RDX: 0000000000000002 RSI: ffffffff8a067e40 RDI: 0000000000000010 RBP: ffff88809980a828 R08: 0000000000000001 R09: ffff88809ebce9a0 R10: fffffbfff16b2399 R11: 0000000000000000 R12: 0000000000000001 R13: 1ffff92000c30e03 R14: ffff8880980fa000 R15: 0000000000000c9d FS: 00007f035fb48700(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051e000 CR3: 00000000a2e16000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_mark_diskspace_used+0x299/0x1130 fs/ext4/mballoc.c:3229 ext4_mb_new_blocks+0xbea/0x4720 fs/ext4/mballoc.c:4938 ext4_ext_map_blocks+0x2320/0x61b0 fs/ext4/extents.c:4238 ext4_map_blocks+0x7b8/0x1650 fs/ext4/inode.c:625 mpage_map_one_extent fs/ext4/inode.c:2376 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2429 [inline] ext4_writepages+0x1c4c/0x3960 fs/ext4/inode.c:2781 do_writepages+0xec/0x290 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x2a1/0x380 mm/filemap.c:422 file_write_and_wait_range+0x169/0x200 mm/filemap.c:761 ext4_sync_file+0x459/0x1090 fs/ext4/fsync.c:151 vfs_fsync_range+0x13a/0x220 fs/sync.c:200 generic_write_sync include/linux/fs.h:2747 [inline] ext4_buffered_write_iter+0x34a/0x4a0 fs/ext4/file.c:276 ext4_file_write_iter+0x1f0/0x13f0 fs/ext4/file.c:660 call_write_iter include/linux/fs.h:1882 [inline] new_sync_write+0x422/0x650 fs/read_write.c:503 vfs_write+0x5ad/0x730 fs/read_write.c:578 ksys_write+0x12d/0x250 fs/read_write.c:631 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f036258c1cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f035fb47590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0350029e90 RCX: 00007f036258c1cd RDX: 0000000000000102 RSI: 00007f0350029e90 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f0350029c10 R13: 00007f035fb475b0 R14: 000055bb48cad440 R15: 0000000000000102 Modules linked in: ---[ end trace 2b0d9d8962442d57 ]--- RIP: 0010:__ext4_journal_get_write_access+0x6b/0x2b0 fs/ext4/ext4_jbd2.c:227