syzbot


WARNING in enqueue_task_dl

Status: upstream: reported C repro on 2019/07/20 08:10
Reported-by: syzbot+5ac8bac25f95e8b221e7@syzkaller.appspotmail.com
First crash: 1793d, last: 1478d
Fix bisection the fix commit could be any of (bisect log):
  aea8526edf59 Linux 4.14.133
  4139fb08c05f Linux 4.14.187
  
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 4.19 000/131] 4.19.131-rc1 review 148 (148) 2020/07/05 13:30
[PATCH 5.7 000/265] 5.7.7-rc1 review 280 (280) 2020/07/01 15:34
[PATCH 5.4 000/178] 5.4.50-rc1 review 182 (182) 2020/06/30 17:22
[PATCH] sched/deadline: Initialize dl_boosted 5 (5) 2020/06/23 08:48
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 WARNING in enqueue_task_dl syz 2 1994d 1894d 0/1 public: reported syz repro on 2019/04/10 16:04
upstream WARNING in enqueue_task_dl kernel C done 13 1460d 2037d 15/27 fixed on 2020/08/01 00:48
linux-4.19 WARNING in enqueue_task_dl syz done 1 1464d 1793d 1/1 fixed on 2020/07/13 20:03
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/01/01 21:31 9m retest repro linux-4.14.y report log
2022/09/01 07:27 10m retest repro linux-4.14.y report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2020/06/29 12:01 30m (2) bisect fix linux-4.14.y job log (2)
2020/05/30 09:51 23m bisect fix linux-4.14.y job log (0) log
2020/04/30 09:24 26m bisect fix linux-4.14.y job log (0) log
2020/03/31 09:00 23m bisect fix linux-4.14.y job log (0) log
2020/03/01 08:36 24m bisect fix linux-4.14.y job log (0) log
2020/01/31 08:03 25m bisect fix linux-4.14.y job log (0) log
2020/01/01 07:39 23m bisect fix linux-4.14.y job log (0) log
2019/12/02 07:16 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
audit: type=1400 audit(1563606392.882:36): avc:  denied  { map } for  pid=6969 comm="syz-executor366" path="/root/syz-executor366756543" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
IPVS: ftp: loaded support on port[0] = 21
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6973 at kernel/sched/deadline.c:593 setup_new_dl_entity /kernel/sched/deadline.c:594 [inline]
WARNING: CPU: 0 PID: 6973 at kernel/sched/deadline.c:593 enqueue_dl_entity /kernel/sched/deadline.c:1370 [inline]
WARNING: CPU: 0 PID: 6973 at kernel/sched/deadline.c:593 enqueue_task_dl+0x1c17/0x2ba0 /kernel/sched/deadline.c:1441
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6973 Comm: syz-executor366 Not tainted 4.14.133 #28
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack /lib/dump_stack.c:17 [inline]
 dump_stack+0x138/0x19c /lib/dump_stack.c:53
 panic+0x1f2/0x426 /kernel/panic.c:182
 __warn.cold+0x2f/0x36 /kernel/panic.c:546
 report_bug+0x216/0x254 /lib/bug.c:186
 fixup_bug /arch/x86/kernel/traps.c:177 [inline]
 fixup_bug /arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x1bb/0x310 /arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 /arch/x86/kernel/traps.c:314
 invalid_op+0x1b/0x40 /arch/x86/entry/entry_64.S:960
RIP: 0010:setup_new_dl_entity /kernel/sched/deadline.c:593 [inline]
RIP: 0010:enqueue_dl_entity /kernel/sched/deadline.c:1370 [inline]
RIP: 0010:enqueue_task_dl+0x1c17/0x2ba0 /kernel/sched/deadline.c:1441
RSP: 0018:ffff888098a3fcd8 EFLAGS: 00010002
RAX: 0000000000000000 RBX: ffffffff87ab2780 RCX: 1ffff1101041413a
RDX: 0000000ad48fb497 RSI: ffff8880aee2c518 RDI: ffff8880820a09d0
RBP: ffff888098a3fd48 R08: ffff8880820a09cc R09: ffff8880820a09c0
R10: ffff8880820a073c R11: 0000000000000001 R12: ffff8880820a0700
R13: ffff8880aee2c500 R14: ffff8880820a0978 R15: ffff8880aee2c500
 enqueue_task /kernel/sched/core.c:762 [inline]
 __sched_setscheduler+0xd17/0x2510 /kernel/sched/core.c:4227
 sched_setattr /kernel/sched/core.c:4285 [inline]
 SYSC_sched_setattr /kernel/sched/core.c:4456 [inline]
 SyS_sched_setattr+0x1f8/0x300 /kernel/sched/core.c:4435
 do_syscall_64+0x1e8/0x640 /arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x446749
RSP: 002b:00007ff022092db8 EFLAGS: 00000246 ORIG_RAX: 000000000000013a
RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000446749
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 00000000006dbc30 R08: 00007ff022093700 R09: 0000000000000000
R10: 00007ff022093700 R11: 0000000000000246 R12: 00000000006dbc3c
R13: 00007ffdbf86bf7f R14: 00007ff0220939c0 R15: 0000000000000000

======================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/20 07:10 linux-4.14.y aea8526edf59 1656845f .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.