From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) (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 27C0238E5EF for ; Sun, 7 Jun 2026 11:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.68 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780830504; cv=none; b=ACQ5c+W1RBJV04Qsd5aNaGy1+MPKtOkgM75vKA22Yak4vfkWoGemuNP9BmUGMZvik4++3Pv0GIOwsCaC5P7wsPEp4Q9NrLkCTbVQe1gXoT+DQX72BUeBRD6le2aviwIDhUQW12HFjCcl9mFFrFUQ2W+Ie/XkZUoJhECMz3HtDGs= 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.68 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-f68.google.com with SMTP id 5b1f17b1804b1-4903d730b1fso37808795e9.2 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=UpCSca+M7XAclC6t80dBeDYaYXrqbHIJ9f1NFvuBtQO6C6TIucXE4GKpmv/+9ik036 QRSvB9zwH1O1clOQQDHS7AakMhu/jVoXu66EqtxnI8Kxkzdad84KLoO3lGkeq738vUzv /Bdp0Cr60LYhRSElXmR0FH2KXzxOVZTzdg5NKe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b1f17b1804b1-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: stable@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.