Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1186940ybl; Sun, 1 Dec 2019 22:38:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyytiPfz8PT9WoYnvixWF8heK/ev5xHNnw1AtXWr2fZ2wRymaNtjJnffUq3T7OyOlS55Orw X-Received: by 2002:a17:906:27d3:: with SMTP id k19mr52043522ejc.290.1575268687565; Sun, 01 Dec 2019 22:38:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575268687; cv=none; d=google.com; s=arc-20160816; b=kPAU6nZgAeQE64cDPsFHsYCCqCFjY9VIVYc6Zri2WDijqGvOhbZg3WjdBvPEKxh9zq 9jmyPisSndI6YZqVATc/Eah2uhN0oW18pg3nHK+Hl6Ri3h4HUENzqBcmcUxXtRUZRpHI cEwEsKd+lw2AYE9VDgrSWdonJTOch4RCoqSg5d27nP86EmmacfQGlkMuI1ttt5sHRSTa Aqq2l50I8jXuFnDV7gl/nvDHe8q7f6IQZVgdEfm2YZabFTJu48tgIoi1aL7N9ULm0nyq e5EVpJ5ipK9C4DF0F0JjfR4q+vElK6YOaQN9/gCE7AB98LfgJIvVwOISxtnxWF6r+ggp 4cQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=8ReAb1Jx3MYvvwEcmPSKSznDWtDi/FnA+jmMVAEqRhg=; b=0wCbDpxMAD4GRxfTmiD9lYcDw3UOkEp/pUVBt22uL/qWjMBezFgX6AoJAwdRvuzVMz hIYqqFFJua1HdPCMsTmnhpj1ePqsvo9UafMHGiZTZC0/wp7ySuCNdLqk2GFsp6uYMmVZ IypXg41LgX2RpEZ9ueUqBamRpqotP7LGwV1mRoQCXboqKpBeIxlYR1IkcMt/vVXwyfIt PBsP/vboC3Axgloz5asaEJR2AxCIfid4llblUEx9yL6E/FtJkKgEMORtiUmh7rdyZYac I14V9gboAc53LawfMqaryNKX7ZZTXpdarPSsWAvL4Lcrjrv5zSA4b96ohSlp5JsuCUAK t+Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si2802750edv.243.2019.12.01.22.37.32; Sun, 01 Dec 2019 22:38:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726179AbfLBGfJ (ORCPT + 99 others); Mon, 2 Dec 2019 01:35:09 -0500 Received: from mail-il1-f198.google.com ([209.85.166.198]:38793 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbfLBGfI (ORCPT ); Mon, 2 Dec 2019 01:35:08 -0500 Received: by mail-il1-f198.google.com with SMTP id o18so26650923ilb.5 for ; Sun, 01 Dec 2019 22:35:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=8ReAb1Jx3MYvvwEcmPSKSznDWtDi/FnA+jmMVAEqRhg=; b=ELlA6RsewAub6S+alXK9yepwiq3HcPZUjwXAllq7wspj+14p6jY/ZTbNvX+/2Xgt6C /8ZLsnjyDh0ZHEr2hcZ7FAwlx/3BhtE+XdqOnTy87rveo+ogAqTIirok4Y2vSYeZOhdk Wu30MJPmoqRyae1H8opq7IR71SYS8EroZhZ9gcQiLEnDpgoa6ydv8KvcdIsguHcOUfO/ YaDCga8iI6Gcid3z+V7gq1K4aJP3QlkhUr+Y7YaZsQtQhYDE2CADNg5RXnLhfpp/BaXw WS+JBn98jflZQHp806lBwaznEVzqHc3UqeU5yuPxZG28UYS2utWUgydUCuZMQ9S5d6VW 1sfA== X-Gm-Message-State: APjAAAXt3nRyzwpz8+0dL9kGZA0dFpbuL9vZL4UoJAI7he4GJkP19qXu 5vxytrb+I/MrbpG1/NYvNVceB00AioHbp/UmCPjIRoRP+rG/ MIME-Version: 1.0 X-Received: by 2002:a6b:5a02:: with SMTP id o2mr9770534iob.86.1575268508110; Sun, 01 Dec 2019 22:35:08 -0800 (PST) Date: Sun, 01 Dec 2019 22:35:08 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000da160a0598b2c704@google.com> Subject: general protection fault in override_creds From: syzbot To: Anna.Schumaker@Netapp.com, casey@schaufler-ca.com, dhowells@redhat.com, jannh@google.com, keescook@chromium.org, kstewart@linuxfoundation.org, linux-kernel@vger.kernel.org, neilb@suse.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: b94ae8ad Merge tag 'seccomp-v5.5-rc1' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10f9ffcee00000 kernel config: https://syzkaller.appspot.com/x/.config?x=ff560c3de405258c dashboard link: https://syzkaller.appspot.com/bug?extid=5320383e16029ba057ff compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12dd682ae00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16290abce00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+5320383e16029ba057ff@syzkaller.appspotmail.com 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: 0 PID: 9217 Comm: io_uring-sq Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:creds_are_invalid kernel/cred.c:792 [inline] RIP: 0010:__validate_creds include/linux/cred.h:187 [inline] RIP: 0010:override_creds+0x9f/0x170 kernel/cred.c:550 Code: ac 25 00 81 fb 64 65 73 43 0f 85 a3 37 00 00 e8 17 ab 25 00 49 8d 7c 24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 96 00 00 00 41 8b 5c 24 10 bf RSP: 0018:ffff88809c45fda0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000043736564 RCX: ffffffff814f3318 RDX: 0000000000000002 RSI: ffffffff814f3329 RDI: 0000000000000010 RBP: ffff88809c45fdb8 R08: ffff8880a3aac240 R09: ffffed1014755849 R10: ffffed1014755848 R11: ffff8880a3aac247 R12: 0000000000000000 R13: ffff888098ab1600 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd51c40664 CR3: 0000000092641000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_sq_thread+0x1c7/0xa20 fs/io_uring.c:3274 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace f2e1a4307fbe2245 ]--- RIP: 0010:creds_are_invalid kernel/cred.c:792 [inline] RIP: 0010:__validate_creds include/linux/cred.h:187 [inline] RIP: 0010:override_creds+0x9f/0x170 kernel/cred.c:550 Code: ac 25 00 81 fb 64 65 73 43 0f 85 a3 37 00 00 e8 17 ab 25 00 49 8d 7c 24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 96 00 00 00 41 8b 5c 24 10 bf RSP: 0018:ffff88809c45fda0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000043736564 RCX: ffffffff814f3318 RDX: 0000000000000002 RSI: ffffffff814f3329 RDI: 0000000000000010 RBP: ffff88809c45fdb8 R08: ffff8880a3aac240 R09: ffffed1014755849 R10: ffffed1014755848 R11: ffff8880a3aac247 R12: 0000000000000000 R13: ffff888098ab1600 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd51c40664 CR3: 0000000092641000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- This bug 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 syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches