general protection fault in wait_consider_task (2)

6 views
Skip to first unread message

syzbot

unread,
Sep 4, 2020, 6:53:16 PM9/4/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c37da90e Linux 4.19.143
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=109bdbc9900000
kernel config: https://syzkaller.appspot.com/x/.config?x=d162ec57805c4e4d
dashboard link: https://syzkaller.appspot.com/bug?extid=e537c64e6d6d196f70b3
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=140696ed900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1029a7c9900000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e537c6...@syzkaller.appspotmail.com

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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages