Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9822704rwd; Wed, 21 Jun 2023 12:20:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ417G8DnscXgkutDDO9UaAn0Z8jCI+R3wawZkeZBGUQGu8u2LEfyrkMAoMB638kK6ikxeXF X-Received: by 2002:a05:6a20:748c:b0:106:9266:4448 with SMTP id p12-20020a056a20748c00b0010692664448mr24848295pzd.16.1687375223929; Wed, 21 Jun 2023 12:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687375223; cv=none; d=google.com; s=arc-20160816; b=HG/WXJUPL/0RPzpOg1Uwabofbs08m54amLh/mojBm0AxW3xgDuYxnC75p6/ZmPBc1e yml2AVKn8D89z3RLTQDm/fidXFq//knrqfZVfQrtJzg+jJm4lGeVYVxfX5UWaG9W/ik8 YDEva5f77FomlTSVJdVbfzNYb7YJDcFLUDow64Cc5zfxeH30cEmqXYlPlN6LTYpjXp5w J58OGmKvw6RFeZhGb37V8qctY9dz3KDR3cf1V91q4RVJWHLbVwxn1HuZBhNRIXaH4+uq AzDitR6rmDVIAdXlVfpAdStiupZrayCafGN5XngtpuByAwzg8gJQNe6B7F6r7kVrqwJe yUWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Mv4JB0gu1t46wWDKme5hHKYn4mQ7fMkSefR1sSHYzzk=; b=p4YYDTIhV/IiQR6Yrt4wgFDyklPr1W4o8kck2WHtj90gO3mtkISqDMMqN0HF/q8LHS xmE2s2gcHDWd5e8nvw0cxLyz8J7085iLeFF/c+/iKJB2ZlLsZ/tMH1CwTdhglFf3cMz7 Cz3LOWKj7fb7yvzEpOjj8EQ+MgGAVHe1bkBzTy65spoz0nTVabdppRngeFHzHBtFsEPZ KAh5nNDvVx4HQv6jbcv8P9R049EQ7tt92iwPQm9Q9rLDbCWsHw5N3zII+hghPSQ2iGba 37GJy/RRtQfNb3La16AOlQBHw5QAlm3LhW7T9Q25m+tTmSk6Z8ztBrsnznYVXzP4prAf uQEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fkAW0goZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020aa79607000000b006688540e3d7si348955pfg.181.2023.06.21.12.20.11; Wed, 21 Jun 2023 12:20:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fkAW0goZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjFUSgL (ORCPT + 99 others); Wed, 21 Jun 2023 14:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbjFUSgK (ORCPT ); Wed, 21 Jun 2023 14:36:10 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F22D1A3 for ; Wed, 21 Jun 2023 11:36:08 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1b505665e2fso49595305ad.0 for ; Wed, 21 Jun 2023 11:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687372568; x=1689964568; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Mv4JB0gu1t46wWDKme5hHKYn4mQ7fMkSefR1sSHYzzk=; b=fkAW0goZqDfFKzRrsSAey60tXh4zE3Pc14WQuukj6IXTzjSF1fd8mUFdYeNU9hraZM FXEQQWuMHkrnDFa5I+D5sNl75A11zv0D/WNWWdta/C53Yo5NnrDKFbfH+oeLPJiR4Krv NEz45vRYfhmjXGoG44yrpiQ5Kp34wYFsYt5HQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687372568; x=1689964568; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Mv4JB0gu1t46wWDKme5hHKYn4mQ7fMkSefR1sSHYzzk=; b=PRuKEZ0gTUMO33eplzAT+RkjKTPr9CwmCIpby84XzjWr9cVCqHzNfZxStUgW2mh5EL AQlHJp2fZp9WtBW4aPjP0lKMX/j3aKy58BBFknvPN1JOr78/0lHrZs8hL9nY5FuO2nhP fOLgVV342BGKDmkJhPoxP5JcqfnDloizfvMMoW12x+L/o6LRIozMRA2Y3U9Reec/EClP PNxZAJpliK02qrNTvP8VZmc3mavylQpI5/zWGZblNXFH15AYix8EqJqXRpPJrPSKfzl7 fncHcCAiyTKcpJGKV1UpNalvlkST36xCcy6e3rhhVhe4osdNQ8f9hRwB8g/R02jAGXeq vLuQ== X-Gm-Message-State: AC+VfDyXK9q06zMCqOFBxzZxsfSs3UY8js71I/NRN5tZRghLVRBN+/fB DX/NAPI1/54btpyzr0a9C9sbzw== X-Received: by 2002:a17:902:f683:b0:1b4:5699:aac1 with SMTP id l3-20020a170902f68300b001b45699aac1mr22886759plg.12.1687372568099; Wed, 21 Jun 2023 11:36:08 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id jo17-20020a170903055100b001b539640aa3sm3801612plb.283.2023.06.21.11.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 11:36:07 -0700 (PDT) Date: Wed, 21 Jun 2023 11:36:06 -0700 From: Kees Cook To: "Manthey, Norbert" Cc: "Woodhouse, David" , "Stieger, Andreas" , "linux-kernel@vger.kernel.org" , linux-hardening@vger.kernel.org Subject: Re: Linux kernel Coverity model file Message-ID: <202306211134.C301FEB6@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 16, 2023 at 01:44:01PM +0000, Manthey, Norbert wrote: > some time ago you pointed me at the github copy of the Coverity model > that is used for the Linux kernel analysis [1]. Hi! > I investigated the effect of using this model, and compared defects > reported with and without the model. Before I deep dive into > modifications, I wanted to understand whether there is a more recent > version (the current one is about 4 years old). I currently have no > access to the public linux dashboard to directly check the effect > there. > > In case there is a more recent model file, can you please update the > github repository? This model file is current -- we haven't changed it in quite some time. > In case I find additions, is the following a good procedure to share > model updates? I would run an analysis on a defined Linux commit with > the current model and the proposed additions, and would report the > effect on the reported defects. Is there anything else I am missing? Yes please! Either send a patch to the linux-hardening@vger.kernel.org mailing list or send a PR to the github repo. -Kees > [1] https://github.com/kees/coverity-linux -- Kees Cook