From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB6703382F9 for ; Thu, 25 Jun 2026 21:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782423578; cv=none; b=adqhIoie9j6N/RcnjVitqRn31iYO1ygupfjGIjzppLiUr52JhtReOY3sAUOTfzUoT1U9JIrCMBkab8kJyNXF0mLdDYV6I0KtF6aRCCgPczhpk3WpGRedKAsgDBk5yFUQmyl4QTiKlmKTHqiNzKjQFK6vFdKno9Dh3s03CP2QH/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782423578; c=relaxed/simple; bh=lsR19j1IBGECl1iTvnGDnFVZMGUdr970UxvcDFoKpdk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QXTG2pt1ddn39QI26DVemDgzyJEJSn274f4Xl+NhV3mwZ8WS02JBcwEzKbrEHOdSWwtmuN+TCk9PZuOmFZy86eymXkTmUyuNdqSyTPaD5GkdK8pVVcuda0wcRqzifM50y6hPedES6yn2jd9/v8IXcDo/kbFtZPe+shsSvxAYIP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=sRbNF+/X; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="sRbNF+/X" Message-ID: <91fb97e6-f6da-49c0-bd0b-3dc8390ca3ee@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1782423564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lsR19j1IBGECl1iTvnGDnFVZMGUdr970UxvcDFoKpdk=; b=sRbNF+/XCdvmuy2b1AOxSuHwwTebFUephjd2GBUXM0gmLS1yeSrUSWhjV6SlHkqRfokKJn LApeDhAisjTfViNbzajZUyQONMojdyZu9pZQNWEWcc559wWXqt22VtNh0AZdPy/zVhwFim aCFYFJy1lQ02AOtR/FwVG2l4wiCl7k8= Date: Thu, 25 Jun 2026 14:39:09 -0700 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v4 2/2] selftests/bpf: Cover refcount acquire node offsets Content-Language: en-GB To: Yiyang Chen , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Eduard Zingerman , Kumar Kartikeya Dwivedi Cc: John Fastabend , Martin KaFai Lau , Song Liu , Jiri Olsa , Emil Tsalapatis , Shuah Khan , Viktor Malik , Leon Hwang , Dave Marchevsky , bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 6/22/26 11:11 PM, Yiyang Chen wrote: > Add regression coverage for bpf_refcount_acquire() on graph-node-derived > pointers. > > The rejected case passes a popped list node pointer directly to > bpf_refcount_acquire(), which must fail because the pointer carries a > non-zero fixed offset. > > Signed-off-by: Yiyang Chen Acked-by: Yonghong Song