Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp663176ybm; Fri, 29 May 2020 09:11:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLld1s8DpMUVJcjdZdUyfLdR7FzyQDMVJuo6ebPRVgVUrJncxDsaRw32rWjvtcsIGiJ2A3 X-Received: by 2002:a17:906:f115:: with SMTP id gv21mr2621999ejb.340.1590768701107; Fri, 29 May 2020 09:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590768701; cv=none; d=google.com; s=arc-20160816; b=fK5vWPWKiczTZ3wLqVCw9Op/G6xzdoiTOtCtdtkyiRvdSLuiNGZ6AchP1BiqcSXYnZ Oas7rS8ceJuwESf2v4B9dHFEoWrvqoVUw7XntXxawuA7LwdkgYG+hjx5oZb+Le29vlKm 952E4Pg48SPLXXPJ6xOYhIDAhGBBij0LEfqUB2c4NkPLGImLk8FCe0OFwibRoC3XZxpO Fv/MLwMmXTlZxjSM3+rvBeVGNqK0tkr/dHJzZJABkTedn69sCbORwo2isnoyMTnZGoiZ r3mlnifwklm8pLRNQUKtr6YQhN4ooEz6GB1E1AZPeXazxMGrMPDaeY3Xgt0z1t8/VnXd kI7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=brDBe8zkbDnfUIboOBhhAsaCy9eR3qJV3apR8YziRMA=; b=hd/wlPqnewlHmQlriEc1Xub1mlgVFHn8EXNd5Fb12VKCLBPFSHc5kJBN9nplUpvP8Y X2V6PzAm9mgdHrigmfWrYRC5BAFCb7B1F3Ngu79ITkaPq1zjDYYhyn2BrhjHspQncMdG XJYEsjWqneLKy/AsoUPmRngQHL+b9/neUYC7qhVH1NQshLLdxlMj7dH18S87VOfODUdK F2CH3EcaEBZssTx8T0/Y8q1XKI0RPrjvURK2UDUBfqiFhsz7C46OoSBG4ZPjVt/E4U++ WQvfbYuYRMkaSf7kw8habLXTv5a8oniyKdLQH5tteIhVeQyFT8PE3O4dUgwOczouQ2PM sdrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=0Potvx4h; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o19si5554432ejc.483.2020.05.29.09.11.16; Fri, 29 May 2020 09:11:41 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=0Potvx4h; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbgE2QJd (ORCPT + 99 others); Fri, 29 May 2020 12:09:33 -0400 Received: from merlin.infradead.org ([205.233.59.134]:58140 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbgE2QJc (ORCPT ); Fri, 29 May 2020 12:09:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=brDBe8zkbDnfUIboOBhhAsaCy9eR3qJV3apR8YziRMA=; b=0Potvx4hwZE8LtSKCfp3SU+iB1 jSfJMba8qYbLrwdCSCtT/hshW7/pF16GR9UnuqjQQWo6SxTW6nwKEDOWOEWb7/jd2+XbJ0gHDNuRC 9cdX1Q+aBxFV74T8NpdVYzuxjpRG604D0AeS0a0rLO46cCTMkKfp0t7xmzX/+wqrm2gUiVQ/F2UrW qq3S7LEjxrKFMjdiHTf+/RyK8MiIrWxMqPXHVnnx/dtft2ao65MFvU6arF8pPn4WHNURePKNvzgAA 5V4qG6wk+PW7hzJmeZfrpkHiD6VMfwZo6mU1Uk5G5eyW33trrz5GjZ8GBIHLj2Vqop9v1CLdMkK7J WV4kwzmA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jehXN-0000nz-PB; Fri, 29 May 2020 16:07:13 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 52A9230280F; Fri, 29 May 2020 18:07:11 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3F823286F9818; Fri, 29 May 2020 18:07:11 +0200 (CEST) Date: Fri, 29 May 2020 18:07:11 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: Dmitry Vyukov , syzbot , LKML , syzkaller-bugs , Ingo Molnar , Borislav Petkov , the arch/x86 maintainers , Oleg Nesterov Subject: Re: PANIC: double fault in fixup_bad_iret Message-ID: <20200529160711.GC706460@hirez.programming.kicks-ass.net> References: <000000000000d2474c05a6c938fe@google.com> <87o8q6n38p.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o8q6n38p.fsf@nanos.tec.linutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 29, 2020 at 05:57:10PM +0200, Thomas Gleixner wrote: > Dmitry, > > Dmitry Vyukov writes: > > On Fri, May 29, 2020 at 3:14 PM syzbot > > wrote: > >> > >> Hello, > >> > >> syzbot found the following crash on: > >> > >> HEAD commit: 7b4cb0a4 Add linux-next specific files for 20200525 > >> git tree: linux-next > >> console output: https://syzkaller.appspot.com/x/log.txt?x=15dc34ba100000 > >> kernel config: https://syzkaller.appspot.com/x/.config?x=47b0740d89299c10 > >> dashboard link: https://syzkaller.appspot.com/bug?extid=dc1fa714cb070b184db5 > >> compiler: gcc (GCC) 9.0.0 20181231 (experimental) > >> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14678626100000 > >> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1017ef06100000 > >> > >> IMPORTANT: if you fix the bug, please add the following tag to the commit: > >> Reported-by: syzbot+dc1fa714cb070b184db5@syzkaller.appspotmail.com > > > > From the reproducer it seems to be either x86 related or ptrace > > related. > > > >> RIP: 0010:fixup_bad_iret+0x24/0x170 arch/x86/kernel/traps.c:665 > > as a quick assumption that's related to KASAN in fixup_bad_iret() which > is a frightenly bad idea. I'm about to verify. Like with KCSAN, we should blanket kill KASAN/UBSAN and friends (at the very least in arch/x86/) until they get that function attribute stuff sorted.