Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp423381rdb; Thu, 22 Feb 2024 07:53:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUo67eSPHN2BsqRE6ZswipFJhDD51X1IXIZxzbmNy0GeENwHGRDBDM1J05V+S0808mKbkrhBLTfHjmiuARIoRCaojcQ23I1Gha0AS5m9w== X-Google-Smtp-Source: AGHT+IG4M9Vw3hjwhqUCPuU9JJm8FCysbI6hqyW8gQYE0LDMc0eYc5LqlI/Zm3LJ7zRMLxAezUI9 X-Received: by 2002:a05:6a21:3403:b0:1a0:a449:3e39 with SMTP id yn3-20020a056a21340300b001a0a4493e39mr9363528pzb.16.1708617235398; Thu, 22 Feb 2024 07:53:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708617235; cv=pass; d=google.com; s=arc-20160816; b=Ag0H3p9h3eptDWHeF3RSJtPaQD75ZLcl6Nasr7UISJML7gxxE07HOFLutBBcxK4PmY +Tjn1FpT6cbsk/2Gsji93Z7o3ViNno7oISDXL5ep6VtPd9pNMBFj6ECn/+nQc6J3oF1r s9fdedGphj8xw2benxeDo2A4KH1boC1mTprSJEk0cgudlctb8JSWO2iFlHfjDg688Zs0 2eyd5qSf0P/J1AbZ/8O2X99r7bWnD5z2aFeqHgSM996k4OCuW6xR+xm+m3Vi95GU5wDI ibCy4PpO8WpNY1GY0qPa7KbUT72RHrAiSXdo/Y/tAFUSJarxsigOAA3P8h8QzeUZ+FeX Vevg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1gfwnWmu63cYswR0b/u7RtSKFeQyr0VL4Kut1suu2n8=; fh=whEotcBxaNmyWByvRd8eM1ShIdzpMkDuj4SrjyiBEzI=; b=JJeJBsa4sMiCFx7u+rx64Su12J5TQP+v3da6+McGh7JK07iITm5qgCKEz9iVnljQrg P0NIHXbNsDAFgRf/EhinABVctf4zNWAw27Sfvx7mFgQM8MIYYxPzbKYXPJEe9fJPO6lG LZCbtkbzGbHNU2jNY16WIHXx3dWFVQz9e201O7cdzFM0pJl1OePUuffsuD7ODt+zh3R5 GFwwpQft4c00cPSaFGSUj/lv7Y87K8i3mTk3xFSAxZPwOcjixL5FSl8j4bUiSs8+ffIM EvQoaoe693O/WVc2ZMJ6ByxQmoeNgauAyKy4UhC1vXxFvZy/S9DiQlbBCPHN2XP2LXB5 6lxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bSXkMABR; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-76821-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76821-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f7-20020a056a00238700b006e4cfa0f658si1183747pfc.314.2024.02.22.07.53.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 07:53:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76821-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bSXkMABR; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-76821-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76821-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B1540289A63 for ; Thu, 22 Feb 2024 15:53:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29B9B15098D; Thu, 22 Feb 2024 15:53:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="bSXkMABR" Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E041614F9D1 for ; Thu, 22 Feb 2024 15:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617179; cv=none; b=ZCnpkPW3tISTFMP/O3X2SplXtVbcH5zySWlbVpvkYwg433MoESgs1blJEWAyOUgOn+8DfAlvY1uDolgA1KeqI2MRr9+WAd5NjAdqYXeHnIklMLZJnW4hDwZHsi2Z5fGGud5vXfj5kqoDemGVoWP6zETlFaQTT9xXUOQ5BzSKKfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617179; c=relaxed/simple; bh=Vd3UzDgmX7Ao1DnE+nzyieBLFnftQ/B8sJIJRrxRpco=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r9JI9pNhDKC/E4DSPfxsmKADjGnz65PyZd8MoyroGrfQ6nUUMke7B5woAMB6F8cj2kjf1aeQsf5tMOviJH7nXzBqKdgCDrz06kX8KLzGOKXZnXqABHDDd83JGTd92A0Yk8rHTlxewxVisVsTzMjnnSn4drw9ZYDzhyn2h2jUa9U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=bSXkMABR; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6e22e63abf1so3944842b3a.3 for ; Thu, 22 Feb 2024 07:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708617176; x=1709221976; darn=vger.kernel.org; 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=1gfwnWmu63cYswR0b/u7RtSKFeQyr0VL4Kut1suu2n8=; b=bSXkMABRd5Gy9iYQZn6+kg10M0jGKVqcKbqT6VPDcuAA7I4OwHLOV8WaS+y/iZyRAA ZXkOoGHpESpLUfIhI9+kzg2G+h3GF+ylw44PN5ekhfb4B0mYFV+jnIr21/MZ8Ub7Wnw1 xJO9AxAD0f5W355FyYMKjxJ+6Hq2yKqAYPkWI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708617176; x=1709221976; 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=1gfwnWmu63cYswR0b/u7RtSKFeQyr0VL4Kut1suu2n8=; b=KGqSKWJf6Xc5g12UZ+cyGSVcRYsBeODkdywjoxTc+cqEt/jClj/6PkIdgZCTdzMIfw yeig6Yjp8ul6rvFVYEm6bwU614+vO3tvg56NALIeDdMuOAN6qflaaNk/sCSYVG8aA7/J FKBx56h7THz+DxwfRA7txWccpgK8XeNEJ/gMLnNMID4M8ga2wXj4YEffvyahvhypt3I3 tSACka/8cgwpjBJMhstupQ+rFm4mLBW3aBE91EUGFghyThvhv+QUiIAfuFbr9Kl8Y4f5 rAfTiEFsBYmdCyI24lUKroziaCk+jEz7U3HlYLO42B/EWMm1r6GD6qovzbJGY32c027E oirg== X-Forwarded-Encrypted: i=1; AJvYcCXFwYlEz2GOkXeVRvtCQGZ6bPYONfoJyz+UASfclUU/5Lng6m/O+AmxfncowspXYuDERcUvAFvnryCiNQqSN+vJD18El0agnqnvz2Y2 X-Gm-Message-State: AOJu0Yx5H7cEsx037r1FpRB69ds2M5x4G1qxKZyQCL/EHk6IleG1kkDo IPKtxeh00hFLkdmS3qOMi0BLIQ3hrwud6Es0CborgwiP4CCPAouveMenKn4KYQ== X-Received: by 2002:aa7:90c6:0:b0:6e1:44ec:8e9e with SMTP id k6-20020aa790c6000000b006e144ec8e9emr14895496pfk.21.1708617176218; Thu, 22 Feb 2024 07:52:56 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id g19-20020a056a0023d300b006e469e8b634sm7589863pfc.3.2024.02.22.07.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 07:52:55 -0800 (PST) Date: Thu, 22 Feb 2024 07:52:54 -0800 From: Kees Cook To: Daniel Borkmann Cc: Mark Rutland , "Gustavo A . R . Silva" , Alexei Starovoitov , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan , Haowen Bai , bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, Yonghong Song , Jonathan Corbet , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , Joanne Koong , Yafang Shao , Kui-Feng Lee , Anton Protopopov , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v5] bpf: Replace bpf_lpm_trie_key 0-length array with flexible array Message-ID: <202402220751.2370A263AD@keescook> References: <20240221222613.do.428-kees@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240221222613.do.428-kees@kernel.org> On Wed, Feb 21, 2024 at 02:26:20PM -0800, Kees Cook wrote: > Replace deprecated 0-length array in struct bpf_lpm_trie_key with > flexible array. Found with GCC 13: Nope, still breaking CI. I will respin again... https://github.com/kernel-patches/bpf/actions/runs/7996482005/job/21839056683?pr=6451 -Kees -- Kees Cook