Received: by 10.213.65.68 with SMTP id h4csp916340imn; Fri, 6 Apr 2018 11:06:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/GazlPhJMRzB+zcKqzwUE8mgZ8ERHXmtgRKoADqpfr/2L82h5JfAhP5bhzI2ZhOmG+Avya X-Received: by 2002:a17:902:968a:: with SMTP id n10-v6mr27812367plp.362.1523037988995; Fri, 06 Apr 2018 11:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523037988; cv=none; d=google.com; s=arc-20160816; b=eQfEogrrKWrE04crnJSLKbypDv+24pSlSlDSVuaIAzISDJVqlAUZ3O1ayxK/o9dZ7H lwJ4tCm24F5LQIouxkODjovks/rJ8+1vUIbCiaoTjMqsVW6yjTH9cOA9RLzaB3wx5g8F G0HlKLpRzByUrmp+1zKblnqHJUtCtFRUHYceLC5KV3Cy2AcJYcdzZE9whDGQ5QfZsz6G lyat0RhCi1gOMeQlvyEjgYB5DFATR2q82KTwDlOrcuqL4wHsc1q5PUOHx3pSvKCH2ctG RrB9/rpoIp9x2mqKtpG8vxCZniuG8Jq2ILS698mkL4w2L84bonPlVLbwK0vJhkYL+nzN WkFQ== 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:dkim-signature :arc-authentication-results; bh=EL260pwc/3zBPsoN03to8G1kdB5u00b045N+ImqDj5M=; b=OKdPiB8d6Y8niDpLD8nqML/8SEIFJv7XyNpIiRa8CLr4I18nN1MnF6Ujitvqisgb4L ZhbA9CkswiwzqJFl0kgQaYQvzCLfudR4tUJ21tzheZwB09yf05KH64MuQLUkyFRYk4ud yXaTHkNr4qf/+WaRt3Siioa5yiM0xxmtsybds+syx7uvNPggaazCH57wZw8hKrJ6Wsye hkj1VkpF7P5xTGeziGQrR8a45/02zPZf6D3aqO2OhiSozx78NwaY9gITOGSkzh9x7Si0 LNfKbnQg7gB86gAuzF461Sub0w1fZ4dMLccgj0p1osthO7d1GEV+VwicceK5JH5P2KuE RxLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=hk/tKdh6; dkim=fail header.i=@chromium.org header.s=google header.b=WBQW+B21; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1-v6si8490284pld.748.2018.04.06.11.05.51; Fri, 06 Apr 2018 11:06:28 -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=fail header.i=@google.com header.s=20161025 header.b=hk/tKdh6; dkim=fail header.i=@chromium.org header.s=google header.b=WBQW+B21; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751750AbeDFSCu (ORCPT + 99 others); Fri, 6 Apr 2018 14:02:50 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:40409 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678AbeDFSCs (ORCPT ); Fri, 6 Apr 2018 14:02:48 -0400 Received: by mail-ua0-f194.google.com with SMTP id n20so1224161ual.7 for ; Fri, 06 Apr 2018 11:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=EL260pwc/3zBPsoN03to8G1kdB5u00b045N+ImqDj5M=; b=hk/tKdh6gIwwbTFynUa/Xeb4oHR02jXAc9U5PJgdXd3zOBITXumOUR256yLOvPj494 qVAyP5MKfIQ76poM/N5HUBJNZ6VC5V3LKzkXBNKis0XB9yT7nmTL4rDCbWZrLHNRCwxS oLlonF9sbOXaj6gyBioLC9APvAMokls7i29iasTZXoY/if6oZzrI/Yf89IXCTtp3fXDx XvyJyRFfVyYen0Ql+adRDH1sZIktxQCAZAAkWSf5ho6n0LSoxqK93eeWOlcZP0noi0RE AnlVzbDWXs8JOT4KuIdngLAWUWEJKNfszXiTz8iTiErajQ2M2Dg/NNUWxpGz99omz0HW 5drQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=EL260pwc/3zBPsoN03to8G1kdB5u00b045N+ImqDj5M=; b=WBQW+B21Dpc5YSdNGUA9n3AOX3JLORmP/mU81fRtwQCI0MDSGOgvHbKbfQ2v3dGu8K qYkWENSlf7JCqSJZNyPK3lThW3SKgvzEjEFigLTVI1r0exs42rljA1pzxHeuteULCdEK Zm1Rl4ZO6b4Gv/f0XIDDR4jfXjPQQZI4gPack= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=EL260pwc/3zBPsoN03to8G1kdB5u00b045N+ImqDj5M=; b=W8dQv4kt3chgw1vKQ2KbEkWZKQRlYkY+7ut+AI2bAUEbdEhsWUQLnL/gvyIs1hBNgA +irypXapOmhFz3DlR54/hvCDbI5IREMTmRSs3BKW4RzHgn4XrjKRZekKexVh+nu2ytLg jKi7yK6cfXV/Q0oe+SlZR2HJgpQtuadXxtWratNENxUgtIDpUjKhTORhr2cR7pKxQhOm TQFy7LbBNOxO4iHI/PujNoZ1D3j9t2FH2QXNy/8Ebmip8aFYhnHOf4MlIxRR6lUUg2H4 nN4yRmw1KvuaOhm1ZKvOTMFfiXWSRPPD5slTj6bl6nTsa44AYuO1ajqe4m/uzbqo65Fa 8zGQ== X-Gm-Message-State: ALQs6tDAM3TDDThOD0PZ31DYcS2bPuF6Xed1I3U6QNLdTqeOWtLe3WWA oLcgccxKGCdyNhUklSQuiEPiXBV90FnFB38hS3SCVc5qj7g= X-Received: by 10.176.35.198 with SMTP id c6mr6504377uan.83.1523037767525; Fri, 06 Apr 2018 11:02:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.164.81 with HTTP; Fri, 6 Apr 2018 11:02:46 -0700 (PDT) In-Reply-To: References: From: Kees Cook Date: Fri, 6 Apr 2018 11:02:46 -0700 X-Google-Sender-Auth: tIowI0lA2_H6oDVUsfqzXKx9Wpk Message-ID: Subject: Re: [bisected] 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 oopses on s390 To: Sebastian Ott , Linus Torvalds Cc: LKML , Heiko Carstens , Martin Uecker , Ingo Molnar , Miguel Ojeda 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, Apr 6, 2018 at 9:47 AM, Kees Cook wrote: > On Fri, Apr 6, 2018 at 2:47 AM, Sebastian Ott wrote: >> Today's kernel oopsed on s390. Bisect points to: >> 3c8ba0d61d04 ("kernel.h: Retain constant expression output for max()/min()") >> >> [ 1.898277] dasd-eckd 0.0.3304: DASD with 4 KB/block, 21636720 KB total size, 48 KB/track, compatible disk layout >> [ 1.898308] ------------[ cut here ]------------ >> [ 1.898310] kernel BUG at block/bio.c:1798! > > Well that's extremely bad. :( > >> Bisect log and config attached. I'll look at min/max users in the affected >> areas later today. > > Seems like a comparison of objdump output with/without the patch may > be needed. And why is this s390 only? Ugh. I did a objdump diff with your .config and it's rather large -- mostly seems to be register swaps, so it's not easy to browse. BTW, what version of gcc did you use? I built using: s390x-linux-gnu-gcc (Ubuntu 7.3.0-13ubuntu1) 7.3.0 -Kees -- Kees Cook Pixel Security