From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 E02D114E2FC for ; Thu, 22 Feb 2024 15:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617178; cv=none; b=Y87nFjzPZkBNlknGWQY0hp30NKual9Mxsn60aVwTEL6Dss8O0AN3nMt12R+f1kR4bE29Y/R7saRUdVXRBIEm5WjtMvJocagxW4NlPKDAka/UyVO0aMNqDmqrQo7NELPKRNYn34HHi9gNdFOp0+90H8JWNBJVEq72bDehbRAREnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617178; 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=ux/uMIoa/Bw3r10heIJV/f48T/XSu3siX/WEZxirgd4D+pe3wYP+eOg24JIiN8rqrV4rdDg37TVgTEDyVShN+1yWimr5u2++teYfEIwNdiwI5um8F7+CwIXi3CHm41eMu/Ga7X1vabsZI2xJ99g3Jy3QNp/IN6BLqBJnpoUuscc= 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.175 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="bSXkMABR" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6e47a104c2eso2177947b3a.2 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=fq9Yd+bra8jvw8bXiDQ/2gY5mLu8UsIodAV3V5Vhk8AbMMaSdw5hk0wh0thrTy55o5 FK6fJeiBCMNMOU6N4f7EhPcKlUMtWFPh/WMemEYiiCoN1azzyXL0k+qBC9lZ0k6/TA+1 5U3xJZtzbG97q0z3DrXYs7C3z3T1oCpUf34/ZN7tNqmEkolc4ghYM8Qv540J2no7wnCB sk+K7TnzQYamP30iwqaOvgzSDVfSuJLZkCWBVyyq0dGzBcHiBdpyuutwa5KF3HwUzffC 9IOa0U/U+MSa5BCRpV3kuAPfHy80pHRDjs8puprZEOmqUXNRyNm6JeZLRDboSEzt+jcx +ZLg== X-Forwarded-Encrypted: i=1; AJvYcCXWQoG+cPJcFEg3xsVBSKv4F2fqtGOY0oluHxVaK+KK00ouVwB+CGnNZE+2F/X3Rp5/7yi3YlU5Wie4yWuQNgzOnwV2itYL X-Gm-Message-State: AOJu0Yx/K1d4exy0noF8eR25l/W34o+d0uST5EopAqCDdV4N7knIwNwC rBhlMBm+0wm2tv5sYrJtOOWyaMXZc43dv4UEoii/ecZUHrrbehzdJKZdJ6YIZw== X-Google-Smtp-Source: AGHT+IGrtsHGeHfg7xJD4IpKzMvkDmfLWoRjY3MrY0wjNmBdDYmkUNv35SM8aT2MKwO5Lko2A1nlBA== 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: netdev@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