Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1870080imm; Sat, 12 May 2018 01:43:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp4jnMD64CKDIFqSBG79rVFNusXf7GkInCjAfEBpt78xh3+DAQ1A3X44QeGsDZlW/WCHWDQ X-Received: by 2002:a17:902:7b86:: with SMTP id w6-v6mr1658521pll.183.1526114635764; Sat, 12 May 2018 01:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526114635; cv=none; d=google.com; s=arc-20160816; b=rwR2SczUGT7JDVS3sokIuhSPqq0cr+dJNwJy3gUmNJ5yyFwd5aOaGoYaOupuDkr8ac PBx1ZOu8mjaL+EZgOB/DSz9pfbQqMbAXvsI50o2sqTdOgEdFwcR7B9Py8603sGEGl9y6 RePomd7zdQ9+P5U1ERy/ytNB3IM99SDoY0eg67dBNq2NwBqROOTPpkkO5jFHryrUpkn2 nmLwhYbI3D0vKP5LKjQ9ObLoEFT6ksdTIG9nOqxmOTdVtXZWXA5LSjmLEHrNCfTByPtG NSawvdSES5SZMLpgdarUCMT5uii5i3Ygpvv62yUG79SeFhHQ9Gck5VfeAHvCy3JeBWNV auNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=3IiqtXBFhj8ut39iV0ve4ZPS+KiALBg0QFPVNnMMhZs=; b=Os6Webfm7nukC5LceLeDnxF/iVhsJ5h5g+ocl2VYBH+1pK4kuemNpvBOZrfB0va59H mjUtOf+HBab5+9dxL8gyXgabaEEjmkI8IYXlgtJbzZHHhya/sphDvI3x80iTqrsRA8wi j8rXwC+vKruQHGyEIuD4Z/LgQdWXCg+7TJaRBDFeLPa1X4U2oNOgVr20mV9oi3Zf0tOO smJ0mWnrJBBUxh6oDFherc3YcKvGC0oLZCDMyvW61FUnXaCe8VejlaTHTUJ7qINyJS6F hgjwmgU93CP54ZbRKsPl8bvKyPqJ9tyVL9m0lLkId9Ee5PrF3DAwqOONPLshfP9GWL9b CSPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ZRbpPoRW; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k65-v6si4237373pga.337.2018.05.12.01.43.40; Sat, 12 May 2018 01:43:55 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=ZRbpPoRW; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750908AbeELInb (ORCPT + 99 others); Sat, 12 May 2018 04:43:31 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:39124 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbeELIn3 (ORCPT ); Sat, 12 May 2018 04:43:29 -0400 Received: by mail-pl0-f66.google.com with SMTP id c19-v6so4578704pls.6 for ; Sat, 12 May 2018 01:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3IiqtXBFhj8ut39iV0ve4ZPS+KiALBg0QFPVNnMMhZs=; b=ZRbpPoRWMtaxzHl5q6KKcdpNL+2p7KSJe9pD8XEtEqa8126PnZGH5uJm06vk81NoZN bXYKmiHWCY16bNvAzt6VSt44B48t6rQxf/pf2T+ff5VHK82dMKBEFhgA+js+PRF/8TB6 XvFPH3kwtI0LSYQyJzRpHplWCt7ixXHL1PwkLLEYVtp8FgMxr2+w406TfrPBTv2YdOr/ 0VEZOOO5WAjoLwCUi7ZywQzfpiTpJrG1bJ6dqa3hbfohb9mMcZo1JDQp3CggISqGRiDx 0tExqDG32o2MCi9d1h7xCiqXpn/csWoXNCRMdUekjrRd4OwbLcDPffnCTFtBGgiBtgYR eZIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3IiqtXBFhj8ut39iV0ve4ZPS+KiALBg0QFPVNnMMhZs=; b=FFaiVKO9kaowzGgS9x2l8+ZPjq8VuD78CLYzFELcwKHnqHuyg8jcd3LFcAzxqCyJ+f qWMcuOonXQ6gHLxdAYzYy7iZZfSnd+sMeS+amp8i1DbnB2HiX0+TDbgoOAnL9ykJiOt9 p93ZQNcexBIJGiks6G+/QMfLDgytcDwlESkRRETDbArBGQHrJV2JySTMtZHUvQ6JPAZP c3t0oaDwGJC5XO/RV6YxswooTfb+zPP8qwPgJqZv63AqdKuMb/eFvSLtWdjOzvnBsUxA FhQauG30923X6Acpq8L5MAceTeJF08qAHROZcaQ2cN0uQ6PTGLUMbsGY2hk7tVGMnSiv SoCw== X-Gm-Message-State: ALKqPweQ/kfSxGdi8j1QwI6Owl2SSu2s6eCRlZjhzswTwtzTkM95hxfO oijDeOrOtm2FXxkzSBOpupnfK8ec+TJZOwQDbp9Psg== X-Received: by 2002:a17:902:708a:: with SMTP id z10-v6mr1558311plk.283.1526114608800; Sat, 12 May 2018 01:43:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9518:0:0:0:0 with HTTP; Sat, 12 May 2018 01:43:08 -0700 (PDT) In-Reply-To: <20180202221829.tdiji2332t7orcxj@gmail.com> References: <001a11449aa2faf11805643af581@google.com> <20180202221829.tdiji2332t7orcxj@gmail.com> From: Dmitry Vyukov Date: Sat, 12 May 2018 10:43:08 +0200 Message-ID: Subject: Re: WARNING: kernel stack regs has bad 'bp' value (3) To: Eric Biggers , Ard Biesheuvel Cc: syzbot , Herbert Xu , David Miller , linux-crypto@vger.kernel.org, LKML , Josh Poimboeuf , syzkaller-bugs 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 On Fri, Feb 2, 2018 at 11:18 PM, Eric Biggers wrote: > On Fri, Feb 02, 2018 at 02:57:32PM +0100, Dmitry Vyukov wrote: >> On Fri, Feb 2, 2018 at 2:48 PM, syzbot >> wrote: >> > Hello, >> > >> > syzbot hit the following crash on upstream commit >> > 7109a04eae81c41ed529da9f3c48c3655ccea741 (Thu Feb 1 17:37:30 2018 +0000) >> > Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide >> > >> > So far this crash happened 4 times on net-next, upstream. >> > C reproducer is attached. >> > syzkaller reproducer is attached. >> > Raw console output is attached. >> > compiler: gcc (GCC) 7.1.1 20170620 >> > .config is attached. >> >> >> From suspicious frames I see salsa20_asm_crypt there, so +crypto maintainers. >> > > Looks like the x86 implementations of Salsa20 (both i586 and x86_64) need to be > updated to not use %ebp/%rbp. Ard, This was bisected as introduced by: commit 83dee2ce1ae791c3dc0c9d4d3a8d42cb109613f6 Author: Ard Biesheuvel Date: Fri Jan 19 12:04:34 2018 +0000 crypto: sha3-generic - rewrite KECCAK transform to help the compiler optimize https://gist.githubusercontent.com/dvyukov/47f93f5a0679170dddf93bc019b42f6d/raw/65beac8ddd30003bbd4e9729236dc8572094abf7/gistfile1.txt