From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) (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 F308C38B7DC for ; Sun, 7 Jun 2026 11:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780830504; cv=none; b=e6XEdYV8KGs6lOoyDra0SwYNafBgNLaeX5/7kDmhTAWSqpVeM7T6ukVEb6q40WFTXFuxKLxEPJzZQaXf4vUoQlhUkgAa73gHX2nnCZgBAvZH7/k4b2zuwLnlrb2eBQ7l7AiKMup8uai+8QIatK5nF/Jr87IPTHfIBrobtkjEhUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780830504; c=relaxed/simple; bh=AOgI9qJFRjoVJ06WbokHbmBDTumJdvoTNpQhxuw+ZHE=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Cc:Subject: References:In-Reply-To; b=cEDOYFmpyubwlWPaNNDfQTD4WO8uoqKq/M914JXGfx5uWnGmAFLnZ6KjU4zKs3KkOt5a3Fx9F0esKmgVvHC0iWIemtudblj9wMwvbacGMgYpsup6zMSUz/ZqmV2RUfkLw7H+U8bUpfMhP6n/xuf+sVuukYgAfVIDH9KgmQhGHBU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=EGFnHFJB; arc=none smtp.client-ip=209.85.128.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EGFnHFJB" Received: by mail-wm1-f65.google.com with SMTP id 5b1f17b1804b1-490ace40f4bso39182885e9.3 for ; Sun, 07 Jun 2026 04:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780830501; x=1781435301; darn=vger.kernel.org; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AOgI9qJFRjoVJ06WbokHbmBDTumJdvoTNpQhxuw+ZHE=; b=EGFnHFJBkDElNMcTpyjmJAl62CDsIJnOXnOM/zL4b09ml/0GLOCqx43XQMel/bbNAR bO3QNPVkSYB5K9bjWKqX6I2mcw2Aml5zPTJ7zcjZ3Ayd8PlX4pbD9lbqGacyYIrUaRIY ZWGZw/pIvWIqzVaNGFPTff2DOdw9BL6K44eZBJk6SYSf2gjr8qwOiM50tlB6rWV5djrE ABJR8t9M/ADPL8ZMxCVMaVNTfY3o7qu6Y6a67Zhj55JoHd/S3YcjyGsGDqBA34GsIO2d bb2klHnX1vl3o9AGBAAQzKQUeSR8hXKhSKma0xEgPGR3DKlzRlaAYpCdUK4Kfwr+MPA2 qKAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780830501; x=1781435301; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AOgI9qJFRjoVJ06WbokHbmBDTumJdvoTNpQhxuw+ZHE=; b=gBBpnAba1HsjLVpWKmrfu/1mlTZs4z7QT2kVvg5pKr0/OGzaMjrQ3itN+98tPhBU23 XX/CdXL4Uv8LAVc/QDTCRZxx9kLPJE6Mf0akUUL+JfPIYi6xnL+bygxUUq13Q+gExGnA Tvs8mBV/uHvkAu/MDbwl7vt6oNWjTVHht7rZ2/oMIcYyeg4UgbEy7kxez+X9K+HXrJoQ BVeWEQMeledOdBQMZ+7PDGem2bP1BpB24qeoej5YzaRubH0bmDAyRHJNDtzYF88o6Pwh p84WJAV8ZWvO5y3ac3Qh2KTTNIVc46VZLngPqXtFGYsHI/uMG46IGlx06jpkr/CJr5qD K7rw== X-Forwarded-Encrypted: i=1; AFNElJ8fyeGNVKYJdNKHoCERcWNilO2NLLbKYFdXsHFoo6Dm8WNKzqFQesZntonCrtRF+fyfw4XYOdmyh3joAv4=@vger.kernel.org X-Gm-Message-State: AOJu0YyZDW8vJ8ImmxlsRZ3YXAfgkQVGri50ZxUrv6yk7hvuq4x1ziu4 a8BOFhhzaMwL9KvNTa7Q+P+7mwDnBI/wwsgWtvy/HlJRv1vKuKtdTFQC X-Gm-Gg: Acq92OGbaAU58/JwlJ6XjiAHq+oEDo+p5XP2P76RxFk+D8qalEo+lQxIYvbtGHq4jCp +xzh+l3W3aPSqnPerzovu7ckFu3y5obvPkDH8Aqbzv6sRHhNJR3M+S4Gz71COuHRt+KLXeL6Bkc CdUXBi+jlidN906dcOAS+fAbIUgTJY5HUYtbnD4mAUUjwGJcnwNybAsO5qU5jEWWYiGeWDhoxz+ SUorfIF6qQPPP2iyaOJ42ChHD+3rPJ8Jhazm6yWNDVrM0yEK+LaXN+PEthNYcKLexBsXb9U1LFE Cp/OWLP1tmeD3sfMSrPcooROA4wyFfGUEAd4t1vgZR6a9yNtoNHj/onOtWQlyvZ1FAofwC+65v+ H76Jq9ShEbwmFpwxhCcmwC6TBKXthZmhQMhSE4NJZzyGGcDT559Pn1l7AAexCbCOvGLFc1LRPTX Vfx0Wow3iey0bXLBVrrBVi7euXc6Gur5XK6L38feNRuxFCnOC2wm2MroicVgz9powcgRBaSSYDl mkh9JziupvoLaHSMlk2z9x2D95L4HnHnKE64KZa3vBCVNaK/ymuk1wzYEYwkaygmsENOIryeT5W X-Received: by 2002:a05:600c:314b:b0:490:548e:b854 with SMTP id 5b1f17b1804b1-490c25f5e25mr179077305e9.26.1780830501193; Sun, 07 Jun 2026 04:08:21 -0700 (PDT) Received: from localhost (nat-icclus-192-26-29-3.epfl.ch. [192.26.29.3]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490bc3e4b5asm312996515e9.13.2026.06.07.04.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jun 2026 04:08:20 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 07 Jun 2026 13:08:19 +0200 Message-Id: From: "Kumar Kartikeya Dwivedi" To: "Paul Moses" , "Kumar Kartikeya Dwivedi" Cc: , , , , , , , , , , , Subject: Re: [PATCH bpf] bpf: Validate BTF repeated field counts before expansion X-Mailer: aerc 0.21.0 References: <20260605234301.1109063-1-p@1g4.org> In-Reply-To: On Sun Jun 7, 2026 at 12:11 PM CEST, Paul Moses wrote: >> >> Do you have an example where this actually occurred in practice? >> > > Yes. > Right, I know you can get a splat. But how did you stumble on it? Is this B= TF produced during compilation, or hand-crafted case meant to exercise the lim= its such that we get the splat? If you have a small reproducer, it might make s= ense to include it as a selftest as well. > [...] > > Also, I still haven't made the connection between the CI failure and > my patch. I produced what looks like the tcg variation of the same > failure as a oneoff while testing an (functionally) unpatched kernel. > I'm not even sure it's the kernel at all and not some weirdness > between clang and qemu. Seems low frequency intermittent from what > I've seen so far. Any ideas appreciated. > It is unrelated.