syzbot


general protection fault in set_next_entity (2)

Status: auto-closed as invalid on 2020/09/29 22:12
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+9d3b81ecf1811055f6f2@syzkaller.appspotmail.com
First crash: 1365d, last: 1365d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in set_next_entity kernel 1 1622d 1618d 0/26 auto-closed as invalid on 2020/01/17 01:30

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 PID: 7256 Comm: syz-executor.4 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rb_erase_cached include/linux/rbtree.h:147 [inline]
RIP: 0010:__dequeue_entity kernel/sched/fair.c:609 [inline]
RIP: 0010:set_next_entity+0x1fc/0x4f0 kernel/sched/fair.c:4386
Code: 48 8b 44 24 08 42 80 3c 20 00 74 08 4c 89 ff e8 ea 6b 60 00 49 c7 07 00 00 00 00 4d 8d 7d 10 49 8d 6e 38 48 89 eb 48 c1 eb 03 <42> 80 3c 23 00 74 08 48 89 ef e8 45 6b 60 00 4c 39 7d 00 75 21 4c
RSP: 0018:ffffc90008057c78 EFLAGS: 00010002
RAX: 1ffff11000021000 RBX: 0000000000000007 RCX: dffffc0000000000
RDX: ffffc90008057d78 RSI: ffff888000108180 RDI: 0000000000000000
RBP: 0000000000000038 R08: 1ffff11009e02487 R09: ffff88804f01243c
R10: 1ffff9200100af9c R11: 0000000000000036 R12: dffffc0000000000
R13: ffff888000108180 R14: 0000000000000000 R15: ffff888000108190
FS:  0000000000f09940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe26d3d9b8 CR3: 000000004f7e3000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 pick_next_task_fair+0x413/0x970 kernel/sched/fair.c:7039
 pick_next_task kernel/sched/core.c:4031 [inline]
 __schedule+0x365/0xc40 kernel/sched/core.c:4146
 schedule+0x188/0x220 kernel/sched/core.c:4253
 freezable_schedule include/linux/freezer.h:172 [inline]
 do_nanosleep+0x1ae/0x680 kernel/time/hrtimer.c:1879
 hrtimer_nanosleep kernel/time/hrtimer.c:1932 [inline]
 __do_sys_nanosleep kernel/time/hrtimer.c:1966 [inline]
 __se_sys_nanosleep+0x3d5/0x5c0 kernel/time/hrtimer.c:1953
 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45b030
Code: Bad RIP value.
RSP: 002b:00007ffe26d3d998 EFLAGS: 00000246 ORIG_RAX: 0000000000000023
RAX: ffffffffffffffda RBX: 0000000000167a38 RCX: 000000000045b030
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffe26d3d9a0
RBP: 0000000000001537 R08: 0000000000000001 R09: 0000000000f09940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffe26d3d9f0 R14: 00000000001679e9 R15: 00007ffe26d3da00
Modules linked in:
---[ end trace ef58575efa689b3f ]---
RIP: 0010:rb_erase_cached include/linux/rbtree.h:147 [inline]
RIP: 0010:__dequeue_entity kernel/sched/fair.c:609 [inline]
RIP: 0010:set_next_entity+0x1fc/0x4f0 kernel/sched/fair.c:4386
Code: 48 8b 44 24 08 42 80 3c 20 00 74 08 4c 89 ff e8 ea 6b 60 00 49 c7 07 00 00 00 00 4d 8d 7d 10 49 8d 6e 38 48 89 eb 48 c1 eb 03 <42> 80 3c 23 00 74 08 48 89 ef e8 45 6b 60 00 4c 39 7d 00 75 21 4c
RSP: 0018:ffffc90008057c78 EFLAGS: 00010002
RAX: 1ffff11000021000 RBX: 0000000000000007 RCX: dffffc0000000000
RDX: ffffc90008057d78 RSI: ffff888000108180 RDI: 0000000000000000
RBP: 0000000000000038 R08: 1ffff11009e02487 R09: ffff88804f01243c
R10: 1ffff9200100af9c R11: 0000000000000036 R12: dffffc0000000000
R13: ffff888000108180 R14: 0000000000000000 R15: ffff888000108190
FS:  0000000000f09940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe26d3d9b8 CR3: 000000004f7e3000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/01 22:12 upstream 7c30b859a947 39acb39d .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.