syzbot


general protection fault in wait_consider_task (2)

Status: upstream: reported C repro on 2020/09/04 22:53
Reported-by: syzbot+e537c64e6d6d196f70b3@syzkaller.appspotmail.com
First crash: 1516d, last: 809d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in wait_consider_task kernel 3 1492d 1653d 0/28 auto-closed as invalid on 2021/01/27 15:56
linux-4.14 general protection fault in wait_consider_task 2 1638d 1664d 0/1 auto-closed as invalid on 2020/09/02 23:50
linux-4.19 general protection fault in wait_consider_task C done 5 1859d 1864d 1/1 fixed on 2019/12/10 03:52
linux-4.14 general protection fault in wait_consider_task (2) 1 1423d 1423d 0/1 auto-closed as invalid on 2021/04/06 02:34
linux-4.19 BUG: unable to handle kernel paging request in wait_consider_task (2) 2 1207d 1246d 0/1 auto-closed as invalid on 2021/11/08 02:07
linux-4.19 BUG: unable to handle kernel paging request in wait_consider_task (3) 1 1036d 1036d 0/1 auto-closed as invalid on 2022/04/28 14:50
linux-4.14 BUG: unable to handle kernel paging request in wait_consider_task (2) 1 1276d 1276d 0/1 auto-closed as invalid on 2021/08/30 22:57
upstream BUG: unable to handle kernel paging request in wait_consider_task (3) kernel 4 1061d 1187d 0/28 auto-closed as invalid on 2022/03/03 21:46
upstream KASAN: slab-use-after-free Read in wait_consider_task kernel 1 530d 526d 0/28 auto-obsoleted due to no activity on 2023/08/17 09:58
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2020/12/04 20:15 20m bisect fix linux-4.19.y error job log
2020/11/04 05:46 35m bisect fix linux-4.19.y OK (0) job log log
2020/10/05 05:19 26m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
audit: type=1400 audit(1599259769.729:8): avc:  denied  { execmem } for  pid=6469 comm="syz-executor141" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6469 Comm: syz-executor141 Not tainted 4.19.143-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:wait_consider_task+0x95/0x3910 kernel/exit.c:1356
Code: 48 8b 04 25 28 00 00 00 48 89 84 24 f0 00 00 00 31 c0 e8 9e 39 2b 00 49 8d 8e 6c 04 00 00 48 89 c8 48 89 4c 24 10 48 c1 e8 03 <0f> b6 14 28 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 4b
RSP: 0018:ffff888083037b00 EFLAGS: 00010207
RAX: 000ee00000ee00db RBX: 0000000000000000 RCX: 00770000077006dc
RDX: 0000000000000000 RSI: ffffffff813e7832 RDI: ffff888083037d00
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888083037d00
R13: ffff8880a441e3c0 R14: 0077000007700270 R15: ffff8880a441e8b0
FS:  0000000001144880(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2caaa26d18 CR3: 000000009ae7c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_wait_thread kernel/exit.c:1465 [inline]
 do_wait+0x429/0x9c0 kernel/exit.c:1536
 kernel_wait4+0x14c/0x260 kernel/exit.c:1678
 __do_sys_wait4 kernel/exit.c:1690 [inline]
 __se_sys_wait4+0x149/0x160 kernel/exit.c:1686
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x405a1a
Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 05 3e c1 2d 00 85 c0 75 36 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 d0 ff ff ff f7
RSP: 002b:00007ffe728c8828 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 00000000000026ae RCX: 0000000000405a1a
RDX: 0000000040000001 RSI: 00007ffe728c8840 RDI: ffffffffffffffff
RBP: 00000000000415c8 R08: 0000000000001945 R09: 0000000001144880
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004076e0
R13: 0000000000407770 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 52eb9c203ae94bbc ]---
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:wait_consider_task+0x95/0x3910 kernel/exit.c:1356
Code: 48 8b 04 25 28 00 00 00 48 89 84 24 f0 00 00 00 31 c0 e8 9e 39 2b 00 49 8d 8e 6c 04 00 00 48 89 c8 48 89 4c 24 10 48 c1 e8 03 <0f> b6 14 28 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 4b
RSP: 0018:ffff888083037b00 EFLAGS: 00010207
RAX: 000ee00000ee00db RBX: 0000000000000000 RCX: 00770000077006dc
RDX: 0000000000000000 RSI: ffffffff813e7832 RDI: ffff888083037d00
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888083037d00
R13: ffff8880a441e3c0 R14: 0077000007700270 R15: ffff8880a441e8b0
FS:  0000000001144880(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2caaa26d18 CR3: 000000009ae7c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/04 22:52 linux-4.19.y c37da90efff5 abf9ba4f .config console log report syz C ci2-linux-4-19
2022/08/13 10:29 linux-4.19.y 3f8a27f9e27b 8dfcaa3d .config console log report info ci2-linux-4-19 general protection fault in wait_consider_task
* Struck through repros no longer work on HEAD.