From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f41.google.com (mail-oa1-f41.google.com [209.85.160.41]) (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 7429A494A19 for ; Tue, 9 Jun 2026 18:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781028490; cv=none; b=CPzC6usHR2De7W/Y8lLLSD/Qrll5iCEVfG3pZK0YllJrZG01PQc9sj7VupXCcgLeTqcQXIOV7ZHxyx83cet4/NXn5lfgcqMHXkiTkkJMjHq37VV3QZmD50qjYGAxadRGd2T/pKYdsi0UED9GXQ2Ee5cOsUTuqxZQXKIU1Ax91JA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781028490; c=relaxed/simple; bh=Gv80fVqWANIxq7l0YC2ixWxD6mTMoOIRWTXH5qo9db8=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=EFtXkTKlcQNdy5FhXsAvWLt/t9gsV/d11j4jGCEannMksxKufLPd1P9ltIlxyE6IqbUYsIu/48++hRKhrhx29NqPk9/KSAd10eT5OvjdTdejiQN/IbDvvdPu/GnD5O/fVEsBhB2CcKbHqMXus37W0r9ixlh28/YwHBWETS5sqDk= 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=WjfeRmBS; arc=none smtp.client-ip=209.85.160.41 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="WjfeRmBS" Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-44192448b56so1031303fac.2 for ; Tue, 09 Jun 2026 11:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781028488; x=1781633288; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Gv80fVqWANIxq7l0YC2ixWxD6mTMoOIRWTXH5qo9db8=; b=WjfeRmBScytQ3/XGA+uEp5gGleIrf9mA6YT9zXK5ifIv7kMi/Z0AFGO7A4W0Ix7MoK FhwZIDBwgitxzGvj+fCE2Aoc5QHrFwqoPV9cf26L0YrZuyekKLaqSf5gYBkThJFyxqIW 9dd/km+20W/0SyYVWVcf2P+0R/NzZeCB74BstfCr1TA/csXIbH9Ly4i6cKzMgimx/9do ACgOsJgSPr1CiOjmbQWtG9cUIXsz4ofZ/BJhCzzPAn1lhULSsK9F/ZYy2luBJuzSIApH tpXA7gjpza5yaNmuW9dny/rhdI9xaX2MQmERyS6qmyNiNPx7i0kNmH3uROfpdxivv2Wv jQxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781028488; x=1781633288; h=in-reply-to:references:to:from:subject:cc: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=Gv80fVqWANIxq7l0YC2ixWxD6mTMoOIRWTXH5qo9db8=; b=avK6DCWfP1N+Abu8OaGmMFTaecCLfg2fmPvQzAKZpBFF9TfwxnlkxkM9MYTsg43Xfr lteWoP8f8TbuBG34CzCrnqyuDSqUBXMg6rPid43GfVgBO3SBolOha07o3Eav5tI78qT9 5vhX2lQljkfUDznv76uy3gLhSJfgqjyfnotSIYPKylnCMuwZlomS84+FP89p0hkBJ2v+ 89QhrPXBtOVuev0BKJoqS9jjWp9pggOUaXFy9Tpie87244VPUPoTBEH+U23A8AkkgOTG LQ5seGzVjsCP7+0w7T4ZlSoBsXK4jX0F9eSQZasrgp9w+edvnoXlcxysuX+q9LCy2p+X vZoQ== X-Forwarded-Encrypted: i=1; AFNElJ+w4dJgKii4AaQcJjXrDUTNffGlaDcXxv963h/myJDRECk+XVKULUPeICJB8MH/NzGMTEgw/isCF+w205Y=@vger.kernel.org X-Gm-Message-State: AOJu0YyTmRLtlFvNGvvIg/ixp7u1kU2EGD7AK/JDdo1ep7UocosT0i0g nG7R3+zlJiJeYP4M+FBy4KyKk+uuhG9IpW+Z03GZN1gBA0RbHKbm85kQ X-Gm-Gg: Acq92OFo+RZR9lF5JhmbyG0Paljwv073NlJqY0lND1QezrDFkoTBqcFc/NB3U7w9Gv3 SdFzkUwSAW0pgoMyhzO+5DtrCoXNY1Fps9jii7fAWvXFjcqPNgZ5n3jeXXs+xCp9K2wMtxcfG/v xd70UDsqjdA2MQ0g36D+zPU27WL3UTtLmmYAPFb6Q0VxNznEjDU05C6PFPkCvJnWHm6yW8dVPtb n1U5n7NOgy/lWUu6O8fveLC9lzgwp1QAtzKY8D8tqijLSplMrKvPePL2FbZWUHjFDwz+L836WV8 0OL3GzUcYMas3+5gH11VuDDGFJUbBkM9I/00jns611Tv6QjqIfnqvnA/fCDsjgWnaKqjEUfOC+e pz+0g495+PpRlzvYsK6zZzvstB8aQQlumT62KMU1KD6MSyeIp3hOLdA5hO9KR1GqAaiOf7K34Dw mlE1BkrcgxmG7S2DZXBHh5wzBxK8xoJVuHUVA67yf/O123kCc87Blu8R4WhuZzJkXRVv4TfqdK0 Yf6M+leB0XuT4LNmAnU2Yu3hTTZ X-Received: by 2002:a05:6870:c69d:b0:41c:3225:f98e with SMTP id 586e51a60fabf-4413d6b0988mr11892044fac.2.1781028488224; Tue, 09 Jun 2026 11:08:08 -0700 (PDT) Received: from localhost ([2a03:2880:10ff:58::]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-440d8465e00sm16402950fac.15.2026.06.09.11.08.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jun 2026 11:08:07 -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: Tue, 09 Jun 2026 11:08:06 -0700 Message-Id: Cc: , , , , , Subject: Re: [PATCH bpf] selftests/bpf: Add BTF repeated field count overflow test From: "Alexei Starovoitov" To: "Eduard Zingerman" , "Paul Moses" , , , , , , X-Mailer: aerc References: In-Reply-To: On Tue Jun 9, 2026 at 9:47 AM PDT, Eduard Zingerman wrote: > On Tue, 2026-06-09 at 11:37 +0000, Paul Moses wrote: >> From 7129e266643883a4f83e65fce3ce20c7f7269fb3 Mon Sep 17 00:00:00 2001 >> From: Paul Moses >> Date: Tue, 9 Jun 2026 05:08:54 -0500 >> Subject: [PATCH bpf] selftests/bpf: Add BTF repeated field count overflo= w test >>=20 >> Add a raw BTF test that exercises repeated special-field expansion with = a >> large array count. The compact element layout keeps the array byte size >> representable while the repeated field count overflows the old u32 capac= ity >> calculation in btf_repeat_fields(). >>=20 >> Signed-off-by: Paul Moses >> --- > > Note that this selftest is depending on a fix: > https://lore.kernel.org/bpf/DJ4DWMO4HXCM.3NVLDGNT2704E@gmail.com/T/#t > W/o the fix KASAN warning is reported when executing the test. > > Tested-by: Eduard Zingerman Pls resubmit both together. pw-bot: cr