syzbot


general protection fault in bdev_read_page (2)
Status: upstream: reported C repro on 2020/07/05 19:12
Reported-by: syzbot+662448179365dddc1880@syzkaller.appspotmail.com
First crash: 694d, last: 236d

Cause bisection: failed (bisect log)

Fix bisection: the fix commit could be any of (bisect log):
  cb95712138ec Merge tag 'powerpc-5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
  8cb1ae19bfae Merge tag 'x86-fpu-2021-11-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in bdev_read_page C 14 172d 642d 0/2 upstream: reported C repro on 2020/08/22 05:04
android-5-10 general protection fault in bdev_read_page 1 191d 191d 0/2 auto-closed as invalid on 2022/02/15 00:11
upstream general protection fault in bdev_read_page 2149 1732d 1668d 0/22 closed as invalid on 2017/10/31 12:51

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000001e: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000f0-0x00000000000000f7]
CPU: 0 PID: 6846 Comm: systemd-udevd Not tainted 5.9.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bdev_read_page+0x37/0x290 fs/block_dev.c:690
Code: 4c 8d b3 f0 00 00 00 48 83 ec 10 48 89 54 24 08 48 89 34 24 e8 ea f3 a3 ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 e8 01 00 00 48 8b ab f0 00 00 00 48 ba 00 00 00
RSP: 0018:ffffc90001647560 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81d11a3a
RDX: 000000000000001e RSI: ffffffff81d04b26 RDI: 0000000000000000
RBP: fff897467d600000 R08: 0000000000000001 R09: ffffea00025fc247
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 00000000000000f0 R15: ffffc90001647780
FS:  00007f3f9798a8c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe22125ff8 CR3: 00000000935a9000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_mpage_readpage+0x10ca/0x1ef0 fs/mpage.c:302
 mpage_readahead+0x3a3/0x880 fs/mpage.c:391
 read_pages+0x1df/0x8d0 mm/readahead.c:130
 page_cache_readahead_unbounded+0x572/0x850 mm/readahead.c:244
 __do_page_cache_readahead mm/readahead.c:273 [inline]
 force_page_cache_readahead+0x2e9/0x460 mm/readahead.c:303
 page_cache_sync_readahead mm/readahead.c:580 [inline]
 page_cache_sync_readahead+0x113/0x130 mm/readahead.c:567
 generic_file_buffered_read+0x159d/0x3150 mm/filemap.c:2101
 generic_file_read_iter+0x396/0x4e0 mm/filemap.c:2405
 blkdev_read_iter+0x11b/0x180 fs/block_dev.c:1927
 call_read_iter include/linux/fs.h:1876 [inline]
 new_sync_read+0x41a/0x6e0 fs/read_write.c:415
 vfs_read+0x383/0x5a0 fs/read_write.c:481
 ksys_read+0x12d/0x250 fs/read_write.c:607
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f3f96ad1210
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:00007ffe22129028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000564c86b91b00 RCX: 00007f3f96ad1210
RDX: 0000000000000400 RSI: 0000564c86b91b28 RDI: 000000000000000f
RBP: 0000564c86b929c0 R08: 00007f3f96abbf68 R09: 0000000000000430
R10: 000000000000006d R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000400 R14: 0000564c86b92a10 R15: 0000000000000400
Modules linked in:
---[ end trace db0a317aa22b64dd ]---
RIP: 0010:bdev_read_page+0x37/0x290 fs/block_dev.c:690
Code: 4c 8d b3 f0 00 00 00 48 83 ec 10 48 89 54 24 08 48 89 34 24 e8 ea f3 a3 ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 e8 01 00 00 48 8b ab f0 00 00 00 48 ba 00 00 00
RSP: 0018:ffffc90001647560 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81d11a3a
RDX: 000000000000001e RSI: ffffffff81d04b26 RDI: 0000000000000000
RBP: fff897467d600000 R08: 0000000000000001 R09: ffffea00025fc247
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 00000000000000f0 R15: ffffc90001647780
FS:  00007f3f9798a8c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d64c8e000 CR3: 00000000935a9000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (16):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2020/08/24 06:48 upstream cb95712138ec cef5ae68 .config log report syz C
ci-upstream-kasan-gce-root 2020/08/22 12:54 upstream f873db9acd3c 6436ce4b .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/08/22 06:21 upstream cd02217a5d81 6436ce4b .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/08/22 06:07 upstream cd02217a5d81 6436ce4b .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/07/01 20:21 upstream 7c30b859a947 39acb39d .config log report syz C
ci-upstream-kasan-gce-root 2020/07/01 19:57 upstream 7c30b859a947 39acb39d .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/07/01 19:57 upstream 7c30b859a947 39acb39d .config log report syz C
ci-upstream-kasan-gce 2020/07/01 19:26 upstream 7c30b859a947 39acb39d .config log report syz C
ci-upstream-kasan-gce-386 2020/08/24 10:55 upstream cb95712138ec cef5ae68 .config log report syz C
ci-upstream-kasan-gce-386 2020/07/01 19:59 upstream 7c30b859a947 39acb39d .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/08/23 18:09 linux-next 494d311a82bb cef5ae68 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/07/01 19:57 linux-next aab2003999e7 39acb39d .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/08/14 03:35 upstream 990f227371a4 54ce1ed6 .config log report
ci-upstream-kasan-gce-root 2020/08/11 04:47 upstream fc80c51fd4b2 7adc7b65 .config log report
ci-upstream-kasan-gce 2020/07/01 19:06 upstream 7c30b859a947 39acb39d .config log report
ci-upstream-kasan-gce-386 2020/09/27 05:19 upstream eeddbe6841cd 2d5ea0cb .config log report info