Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1407528ybg; Wed, 29 Jul 2020 13:26:24 -0700 (PDT) X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr119042ejg.410.1596054354386; Wed, 29 Jul 2020 13:25:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLvdLPMB7r+jOBPRXBqhFSbD8U36L5CTbSwU289l9hfEMPJv9faRCkii/fENm8/LuiIHxz X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr118988ejg.410.1596054353629; Wed, 29 Jul 2020 13:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596054353; cv=none; d=google.com; s=arc-20160816; b=galnFrZqMMmZBYdSnGh+DapbM/Vdc3h0Q0UAdwSwKWX0kvy+pX469EC0I+zQVpvdIY Rj/Kko5AbIdlcGm6sEyaYCQmu3t3wJhxBUGfhLm55twh7xXeZArH0Z2JQFN3OSCEgipt L6gF5iQfRpuIIQtBWnkYcXKfMFnf0LobkxcFnat8NVR2OqjUoVu8UkHPlk8MpfvVZTDL c0Ef9hxt7rW2Rrvx4EkuOD/7KHt7NM0se0tzOjXr9DwaG8lESCexi5uytBoUGTnJp2nu Iyr5GUlNxOgFB+sZvPOTXE6xuBqvHQ1Q3dQDUY9/Ehvs6wvUbKwlmEKyM8+4uE2yi+k7 R3cw== 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=SFOYc9QJsN32c68HMrVfj1JqMrsQS93FcU4Q9C3mXf8=; b=Jmv06KHmqhj0IOboa+301Hk/LehqzwL5Sml1MUgsmenCeqGXggSdHozPYxCiPp/cRA R6Sjn7fec+SJbVAjYyu7hAJdNNRTSrE9xxf5FekaJKANkB5UD2xBlpM8/EGT2JWEHsgG lV6J7y3Iq31nFmkkSTOFexirDnySM98qOOVKTA2143yVJIc0NiMM3lLKzrwRPKb+aMKn f/tZbkDq0lvIkrBOJbvpBEjbsczLm1UVeos5FIUNN1KOrXO3iO20XAUy/s6BSZsa+dkI UG2t7b1mz0u7oSraDAOvF9/XPo4Z/aWrpOS0tL2WwLNfaFmYrqneHokS3MK+SLzO5aEY JV+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id q5si1873144ejz.248.2020.07.29.13.25.30; Wed, 29 Jul 2020 13:25:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726707AbgG2UXU (ORCPT + 99 others); Wed, 29 Jul 2020 16:23:20 -0400 Received: from mail-il1-f199.google.com ([209.85.166.199]:47426 "EHLO mail-il1-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726628AbgG2UXT (ORCPT ); Wed, 29 Jul 2020 16:23:19 -0400 Received: by mail-il1-f199.google.com with SMTP id o2so17430082ilg.14 for ; Wed, 29 Jul 2020 13:23:18 -0700 (PDT) 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=SFOYc9QJsN32c68HMrVfj1JqMrsQS93FcU4Q9C3mXf8=; b=nJTOk8s9h5QOexva9aNjQqoqArCwBTOqxyomi5Hd91HhXq+U7Ge2LVBkI0wgNNo/Na ciMhS47zE7FCyGrk9PsdWRI2HV6An+fuHL+MIpdtMJsHRfSyGJDsD1psmBhl47cVn95W VI4SeevQCSotgTU2Lg2tFwX6h8nmmxa6D0W5BusFrPtiHEbmVe6GHifj5HaYOrbLdTgI vGKCpUNYu3vzr1wXrxjtxY/gbK4O60jL8RpFt5/UDNdAo3y5EsG+imjHHh0zdgPiclcf 72cCNB0cpeyZKaVAszCBmN837xTvqCK3jcfBzTMQqBlSu4RRe2cdgGyyZJvpzloMvq1a iWAA== X-Gm-Message-State: AOAM5320YPHcJJ4HuxzNDlz+H2g94KJStjYPTl8t5FjJdI5PycIUDgfv hDA0HVMhiASkexmaQjdfCHH0KnCbAKf1DSnD4zcOpB01uJPX MIME-Version: 1.0 X-Received: by 2002:a92:dc8c:: with SMTP id c12mr36077018iln.243.1596054198592; Wed, 29 Jul 2020 13:23:18 -0700 (PDT) Date: Wed, 29 Jul 2020 13:23:18 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000008caae305ab9a5318@google.com> Subject: general protection fault in security_inode_getattr From: syzbot To: andriin@fb.com, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, jmorris@namei.org, john.fastabend@gmail.com, kafai@fb.com, kpsingh@chromium.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, serge@hallyn.com, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, yhs@fb.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 92ed3019 Linux 5.8-rc7 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=140003ac900000 kernel config: https://syzkaller.appspot.com/x/.config?x=84f076779e989e69 dashboard link: https://syzkaller.appspot.com/bug?extid=f07cc9be8d1d226947ed compiler: gcc (GCC) 10.1.0-syz 20200507 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+f07cc9be8d1d226947ed@syzkaller.appspotmail.com general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 0 PID: 9214 Comm: syz-executor.3 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:d_backing_inode include/linux/dcache.h:549 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:1276 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 04 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 60 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc9000d41f638 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000f539000 RDX: 000000000000000c RSI: ffffffff8354f8ee RDI: 0000000000000060 RBP: ffffc9000d41f810 R08: 0000000000000001 R09: ffff88804edc2dc8 R10: 0000000000000000 R11: 00000000000ebc58 R12: ffff888089f10170 R13: ffffc9000d41f810 R14: 00000000000007ff R15: 0000000000000000 FS: 00007f3599717700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c12c000 CR3: 0000000099919000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_getattr+0x22/0x60 fs/stat.c:121 ovl_copy_up_one+0x13b/0x1870 fs/overlayfs/copy_up.c:850 ovl_copy_up_flags+0x14b/0x1d0 fs/overlayfs/copy_up.c:931 ovl_maybe_copy_up+0x140/0x190 fs/overlayfs/copy_up.c:963 ovl_open+0xba/0x270 fs/overlayfs/file.c:147 do_dentry_open+0x501/0x1290 fs/open.c:828 do_open fs/namei.c:3243 [inline] path_openat+0x1bb9/0x2750 fs/namei.c:3360 do_filp_open+0x17e/0x3c0 fs/namei.c:3387 file_open_name+0x290/0x400 fs/open.c:1124 acct_on+0x78/0x770 kernel/acct.c:207 __do_sys_acct kernel/acct.c:286 [inline] __se_sys_acct kernel/acct.c:273 [inline] __x64_sys_acct+0xab/0x1f0 kernel/acct.c:273 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c369 Code: 8d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f3599716c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 0000000000000700 RCX: 000000000045c369 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000440 RBP: 000000000078bf30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffda41ffbef R14: 00007f35997179c0 R15: 000000000078bf0c Modules linked in: ---[ end trace d1398a63985d3915 ]--- RIP: 0010:d_backing_inode include/linux/dcache.h:549 [inline] RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:1276 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 04 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 60 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc9000d41f638 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000f539000 RDX: 000000000000000c RSI: ffffffff8354f8ee RDI: 0000000000000060 RBP: ffffc9000d41f810 R08: 0000000000000001 R09: ffff88804edc2dc8 R10: 0000000000000000 R11: 00000000000ebc58 R12: ffff888089f10170 R13: ffffc9000d41f810 R14: 00000000000007ff R15: 0000000000000000 FS: 00007f3599717700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 0000000099919000 CR4: 00000000001406f0 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 syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.