From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A77F1C48BC2 for ; Wed, 23 Jun 2021 14:30:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8BCA96112D for ; Wed, 23 Jun 2021 14:30:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231294AbhFWOcr (ORCPT ); Wed, 23 Jun 2021 10:32:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231286AbhFWOcq (ORCPT ); Wed, 23 Jun 2021 10:32:46 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB151C061756 for ; Wed, 23 Jun 2021 07:30:27 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id v7so1937929pgl.2 for ; Wed, 23 Jun 2021 07:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WKMVzZz8u7uLBmWomdYlr+oMy96WS6tUJGPPtCZ0D60=; b=eYVZTdGsyVwQA4kGhfrZ47tU/XyD6Gdfb5Rx3FV6lq4wWZL1YRspeUnNTaN16uOM/5 PiZwMKxRT8JUaXAUA/B6aFfoWoCGBSxCgq9OBk8jcWvqbh7VlX3w1dMY1/ykca4/GhDN OY8g353DIBKO8cvg/x7Zg5+Dnx1v8r30cn340= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WKMVzZz8u7uLBmWomdYlr+oMy96WS6tUJGPPtCZ0D60=; b=j99fnlBOZThZqzWaEep7+5UgBwWucdr3EVvBctrV0H1c1wPENL8MgUNF120RlZCDdu BNRT5NZD94/GBcsV/QeJlPmqz/tTdWbMsiQQTGwJi8frQknzHUA+4nPvmYzzmA8pluct H0bLMKx5ZlZnqBoCS77svJHY443Utpo0oWWrnoxpr+pEAtfCwTYaIFDXuS01Q3NcLDQx Q49LpDQOkhXqFpRywwVsVWZkJcU+dnzLpxLwIAHBdqhw/dy8ctfB05xpCNPk4WvdRHYM MIuw7ItdCop6vziwt7ZTw10slOMHHqBMKLzdqQyc7f/M65UIXUuF43mbQzaRtaXYkXyV MixA== X-Gm-Message-State: AOAM532uJcbq4tTsmXE1SU80aRgc0HTeMN8cntvZJjWdsVlQNgf0hIDC q5vPzCHK1ePJ18Qaq90jbAD25w== X-Google-Smtp-Source: ABdhPJzBNh/oD3wHuk2SjWKRS7Sjx1wJamx3k/4NZa6pNlIIEJ2pDtPK2Km1/JZKZW6Ey9ydWdubmQ== X-Received: by 2002:a63:8241:: with SMTP id w62mr4176796pgd.343.1624458627555; Wed, 23 Jun 2021 07:30:27 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id q4sm158954pgg.0.2021.06.23.07.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 07:30:27 -0700 (PDT) Date: Wed, 23 Jun 2021 07:30:26 -0700 From: Kees Cook To: kernel test robot Cc: 0day robot , Guillaume Tucker , LKML , lkp@lists.01.org, Shuah Khan , stable@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [selftests/lkdtm] 84d8cf25b0: kernel_BUG_at_drivers/misc/lkdtm/bugs.c Message-ID: <202106230728.4844CE5@keescook> References: <20210619025834.2505201-1-keescook@chromium.org> <20210623143549.GA25993@xsang-OptiPlex-9020> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210623143549.GA25993@xsang-OptiPlex-9020> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 23, 2021 at 10:35:50PM +0800, kernel test robot wrote: > > > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: 84d8cf25b0f80da0ac229214864654a7662ec7e4 ("[PATCH v2] selftests/lkdtm: Use /bin/sh not $SHELL") > url: https://github.com/0day-ci/linux/commits/Kees-Cook/selftests-lkdtm-Use-bin-sh-not-SHELL/20210619-105959 > base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselftest.git next > > in testcase: kernel-selftests > version: kernel-selftests-x86_64-f8879e85-1_20210618 > with following parameters: > > group: lkdtm > ucode: 0xe2 Heh. Yes, this is working as intended. :) Most of the lkdtm tests will trigger Oopses, and this is by design: it is checking that the kernel catches bad conditions and freaks out appropriately. -Kees -- Kees Cook