bisecting fixing commit since cb95712138ec5e480db5160b41172bbc6f6494cc building syzkaller on cef5ae6814696260ff58c538a1b6044af90c5979 testing commit cb95712138ec5e480db5160b41172bbc6f6494cc with gcc (GCC) 8.1.0 kernel signature: 7a4b93d09ef4dddcdf5cff9c7ff4edf0302edfadbd47dfba7be0cd107b48dabe all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bdev_read_page testing current HEAD 4525c8781ec0701ce824e8bd379ae1b129e26568 testing commit 4525c8781ec0701ce824e8bd379ae1b129e26568 with gcc (GCC) 8.1.0 kernel signature: 4ba0818934ebe8eef9b35090ddb59655c6ca439e3a292f83ca5599b6b64a8577 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in bdev_read_page revisions tested: 2, total time: 18m58.811099784s (build: 11m40.749924414s, test: 6m31.22603831s) the crash still happens on HEAD commit msg: scsi: qla2xxx: remove incorrect sparse #ifdef crash: BUG: unable to handle kernel NULL pointer dereference in bdev_read_page BUG: kernel NULL pointer dereference, address: 0000000000000130 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 8406 Comm: systemd-udevd Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bdev_read_page+0xa/0xa0 fs/block_dev.c:719 Code: 48 8b 38 48 81 ef d8 01 00 00 e8 b1 fe ff ff 31 c0 c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 41 55 41 54 55 53 48 83 ec 08 <48> 8b 87 30 01 00 00 4c 8b a8 e0 05 00 00 49 83 7d 18 00 74 75 48 RSP: 0018:ffffc900033b7ad0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000014 RDX: ffffea00047b1dc0 RSI: a00047b1dc000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 000000000000001d R13: 0000000000000000 R14: a00047b1dc000000 R15: ffffc900033b7bc0 FS: 00007f4628c018c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000130 CR3: 000000011eb28000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_mpage_readpage+0x52a/0x870 fs/mpage.c:302 mpage_readahead+0xf3/0x220 fs/mpage.c:391 read_pages+0x8a/0x3f0 mm/readahead.c:130 page_cache_ra_unbounded+0x142/0x270 mm/readahead.c:238 page_cache_sync_readahead include/linux/pagemap.h:839 [inline] generic_file_buffered_read+0x487/0x840 mm/filemap.c:2227 call_read_iter include/linux/fs.h:1881 [inline] new_sync_read+0x110/0x190 fs/read_write.c:415 vfs_read+0x118/0x1b0 fs/read_write.c:496 ksys_read+0x5a/0xd0 fs/read_write.c:634 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f4627d48210 Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 RSP: 002b:00007ffc3d1909b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00005615f5111470 RCX: 00007f4627d48210 RDX: 0000000000000400 RSI: 00005615f5111498 RDI: 000000000000000f RBP: 00005615f51110e0 R08: 00007f4627d32f68 R09: 0000000000000430 R10: 00005615f5111488 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000400 R14: 00005615f5111130 R15: 0000000000000400 Modules linked in: CR2: 0000000000000130 ---[ end trace 662e48e98d4fc11a ]--- RIP: 0010:bdev_read_page+0xa/0xa0 fs/block_dev.c:719 Code: 48 8b 38 48 81 ef d8 01 00 00 e8 b1 fe ff ff 31 c0 c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 41 55 41 54 55 53 48 83 ec 08 <48> 8b 87 30 01 00 00 4c 8b a8 e0 05 00 00 49 83 7d 18 00 74 75 48 RSP: 0018:ffffc900033b7ad0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000014 RDX: ffffea00047b1dc0 RSI: a00047b1dc000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 000000000000001d R13: 0000000000000000 R14: a00047b1dc000000 R15: ffffc900033b7bc0 FS: 00007f4628c018c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590004 CR3: 000000011eb28000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400