syzbot


BUG: unable to handle kernel paging request in __schedule

Status: upstream: reported C repro on 2020/09/21 19:56
Reported-by: syzbot+e9c98bdf24a3cce55110@syzkaller.appspotmail.com
First crash: 808d, last: 651d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in __schedule 2 1830d 1825d 3/24 fixed on 2018/01/03 02:35
linux-4.19 KASAN: use-after-free Read in __schedule 1 647d 647d 0/1 auto-closed as invalid on 2021/06/29 13:25
linux-4.19 KASAN: use-after-free Read in __schedule (2) 1 324d 324d 0/1 auto-closed as invalid on 2022/05/18 22:28
upstream KMSAN: uninit-value in __schedule (2) 1 104d 104d 0/24 auto-obsoleted due to no activity on 2022/11/24 18:35

Sample crash report:
BUG: unable to handle page fault for address: ffffffffa0128165
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 4c0f067 P4D 4c0f067 PUD 4c10063 PMD 1d4fa2067 PTE 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 344 Comm: syz-executor785 Not tainted 5.4.70-syzkaller-00063-gd0e6eb879517 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:0xffffffffa0128165
Code: Bad RIP value.
RSP: 0018:ffff8881cdd17ab8 EFLAGS: 00010046
RAX: 1ffff9200000da06 RBX: ffff8881cdd17b00 RCX: ffff8881ce36ec80
RDX: 0000000000000000 RSI: ffffc9000006d038 RDI: ffff8881cdd17b00
RBP: ffff8881cdd17b90 R08: ffffffff81485849 R09: fffffbfff09b258d
R10: fffffbfff09b258d R11: 0000000000000000 R12: ffff8881cdd17b00
R13: dffffc0000000000 R14: ffffc9000006d000 R15: 1ffff11039ba2f5c
FS:  0000000001ea3880(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffa012813b CR3: 00000001c584a006 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 trace_sched_switch include/trace/events/sched.h:138 [inline]
 __schedule+0x599/0xe30 kernel/sched/core.c:4286
 schedule+0x126/0x1d0 kernel/sched/core.c:4357
 freezable_schedule include/linux/freezer.h:172 [inline]
 do_nanosleep+0x1ba/0x6b0 kernel/time/hrtimer.c:1874
 hrtimer_nanosleep kernel/time/hrtimer.c:1927 [inline]
 __do_sys_nanosleep kernel/time/hrtimer.c:1961 [inline]
 __se_sys_nanosleep+0x3b1/0x550 kernel/time/hrtimer.c:1948
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x43fde0
Code: c0 5b 5d c3 66 0f 1f 44 00 00 8b 04 24 48 83 c4 18 5b 5d c3 66 0f 1f 44 00 00 83 3d b1 3d 29 00 00 75 14 b8 23 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 f4 20 fc ff c3 48 83 ec 08 e8 ba 41 00 00
RSP: 002b:00007ffc20c5bf48 EFLAGS: 00000246 ORIG_RAX: 0000000000000023
RAX: ffffffffffffffda RBX: 0000000000000167 RCX: 000000000043fde0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffc20c5bf50
RBP: 00000000000076a3 R08: 0000000000000158 R09: 0000000001ea3880
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402360
R13: 00000000004023f0 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffffffffa0128165
---[ end trace 621eb116eb3ce378 ]---
RIP: 0010:0xffffffffa0128165
Code: Bad RIP value.
RSP: 0018:ffff8881cdd17ab8 EFLAGS: 00010046
RAX: 1ffff9200000da06 RBX: ffff8881cdd17b00 RCX: ffff8881ce36ec80
RDX: 0000000000000000 RSI: ffffc9000006d038 RDI: ffff8881cdd17b00
RBP: ffff8881cdd17b90 R08: ffffffff81485849 R09: fffffbfff09b258d
R10: fffffbfff09b258d R11: 0000000000000000 R12: ffff8881cdd17b00
R13: dffffc0000000000 R14: ffffc9000006d000 R15: 1ffff11039ba2f5c
FS:  0000000001ea3880(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffa012813b CR3: 00000001c584a006 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (12):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2020/10/12 05:37 android12-5.4 d0e6eb879517 4a77ae0b .config log report syz C
ci2-android-5-4-kasan 2021/02/25 07:28 android12-5.4 fed35c81ad9a fcc6d71b .config log report info BUG: unable to handle kernel paging request in __schedule
ci2-android-5-4-kasan 2021/02/24 01:26 android12-5.4 dcde7eeee6a2 fcc6d71b .config log report info BUG: unable to handle kernel paging request in __schedule
ci2-android-5-4-kasan 2021/02/21 02:41 android12-5.4 35f4b1b90596 3e5ed8b4 .config log report info BUG: unable to handle kernel paging request in __schedule
ci2-android-5-4-kasan 2021/02/05 22:08 android12-5.4 147896b43e61 23a562df .config log report info BUG: unable to handle kernel paging request in __schedule
ci2-android-5-4-kasan 2021/02/01 03:32 android12-5.4 1e5f5a14faba fc9fd31e .config log report info BUG: unable to handle kernel paging request in __schedule
ci2-android-5-4-kasan 2021/01/14 01:56 android12-5.4 e5e14bf558c4 269d24e8 .config log report info
ci2-android-5-4-kasan 2020/12/24 21:53 android12-5.4 8657d5d6282f c2c1d1dd .config log report info
ci2-android-5-4-kasan 2020/12/19 20:50 android12-5.4 cd5f5cb9fe67 04201c06 .config log report info
ci2-android-5-4-kasan 2020/12/07 05:04 android12-5.4 de3f9bc2eec3 c521566d .config log report info
ci2-android-5-4-kasan 2020/10/12 05:27 android12-5.4 d0e6eb879517 4a77ae0b .config log report info
ci2-android-5-4-kasan 2020/09/21 19:56 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 c81d99c8 .config log report info
* Struck through repros no longer work on HEAD.