syzbot


general protection fault in bdev_read_page (2)

Status: auto-obsoleted due to no activity on 2023/04/16 11:07
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+662448179365dddc1880@syzkaller.appspotmail.com
First crash: 1623d, last: 1165d
Cause bisection: failed (error log, 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
  
Discussions (5)
Title Replies (including bot) Last reply
general protection fault in bdev_read_page 2 (2) 2021/11/19 12:45
[PATCH 5.15] block: Add a helper to validate the block size 4 (4) 2021/11/19 02:53
[PATCH 5.10] block: Add a helper to validate the block size 1 (1) 2021/11/18 23:58
[PATCH 5.14] block: Add a helper to validate the block size 1 (1) 2021/11/18 23:57
general protection fault in bdev_read_page (2) 0 (1) 2020/07/05 19:12
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 16 16d 1571d 0/2 upstream: reported C repro on 2020/08/22 05:04
android-5-10 general protection fault in bdev_read_page 1 1119d 1119d 0/2 auto-closed as invalid on 2022/02/15 00:11
upstream general protection fault in bdev_read_page 2149 2661d 2597d 0/28 closed as invalid on 2017/10/31 12:51
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/04/16 10:40 26m retest repro linux-next OK log
2023/04/16 09:40 21m retest repro linux-next OK log
2022/10/15 12:30 18m retest repro linux-next error
2022/10/15 10:30 17m retest repro linux-next error
2022/10/03 15:30 17m retest repro upstream OK log
2022/10/03 14:30 20m retest repro upstream OK log
2022/10/02 05:30 16m retest repro upstream OK log
2022/10/02 04:30 18m retest repro upstream OK log
2022/09/29 00:30 16m retest repro upstream OK log
2022/09/28 22:30 19m retest repro upstream OK log
Fix bisection attempts (14)
Created Duration User Patch Repo Result
2021/11/01 21:27 10m bisect fix upstream OK (2) job log
2021/10/02 21:07 19m bisect fix upstream OK (0) job log log
2021/09/02 20:47 19m bisect fix upstream OK (0) job log log
2021/08/02 12:12 19m bisect fix upstream OK (0) job log log
2021/07/02 04:35 19m bisect fix upstream OK (0) job log log
2021/06/01 21:11 21m bisect fix upstream OK (0) job log log
2021/05/02 20:46 19m bisect fix upstream OK (0) job log log
2021/04/02 20:16 19m bisect fix upstream OK (0) job log log
2021/03/03 16:34 19m bisect fix upstream OK (0) job log log
2021/01/25 07:44 15m bisect fix upstream OK (0) job log log
2020/12/26 05:55 15m bisect fix upstream OK (0) job log log
2020/11/26 05:39 15m bisect fix upstream OK (0) job log log
2020/10/27 05:19 19m bisect fix upstream OK (0) job log log
2020/08/02 09:47 23m bisect fix upstream OK (0) job log log

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