From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [91.218.175.173]) (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 BFF7131F9A4 for ; Thu, 28 May 2026 05:43:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779947002; cv=none; b=mcmKAU35kD2toKxkk2kL8xvHU9JPVhXleNjTPjwYmT46mLW0JrDQyJDgCWjCHc8Kl6Lpr+GjcmLm3bqn6I8CFympy8oQdAjVg4h0ofhIXsjpf2JHEtBj35+TiQ4tEMuDMUrpnG9xfArrCrCtqzNfiRw2H6rmsHK5c6PwklxXnvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779947002; c=relaxed/simple; bh=3+2kHB7xatzySevM7gTiAUUaPJ1VXmBosZw9dubFN1k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mO6+QMjkzi8GB+6e6HJosxVur6ry+kBFJ5ZvUnQehToX1Gntyl9hmEoZUIFxq7vd0gRBUWD9HGdw5G2exscHqd1QipJ2nKqsukXrQDsYKz3NDqPE2fyUSqAToPLUhiS+taC4zx/xaFRKNmgLmn+L6inqUlcLBsjQSbzvffCUBz8= 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=E83/Uq6x; arc=none smtp.client-ip=91.218.175.173 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="E83/Uq6x" Message-ID: <34b18a3e-50c0-4b0c-8ee6-d7a291619231@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1779946997; 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=z9MM3Y2Qx7TZns2bRxhLBJKfpUN8+EXhIH0wXQGN7SM=; b=E83/Uq6xFRMZLXHh68vtrKfbFf7EdTNwTqtKOO8LknYlzMhk+IVIUiXNqPnCNAb6Fx5tTD Da1NgMC3YaBJM/KbHh/6/ah/HSUiM9fWKolnirRifbPdr0f+2H9hr46Gs/W1e5e7IA5LJ5 JY2Uuytq31I9ajPzQOEvkDszj08JcBo= Date: Thu, 28 May 2026 13:42:58 +0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next 1/2] bpf: align syscall writeback behavior with caller-declared size Content-Language: en-US To: Yuyang Huang , Alexei Starovoitov Cc: Daniel Borkmann , bot+bpf-ci@kernel.org, Alexei Starovoitov , Andrew Lunn , Andrii Nakryiko , Eduard , Eric Dumazet , Jakub Kicinski , Jiri Olsa , John Fastabend , Kumar Kartikeya Dwivedi , Martin KaFai Lau , Nikolay Aleksandrov , Paolo Abeni , Shuah Khan , Simon Horman , Song Liu , Stanislav Fomichev , Yonghong Song , bpf , LKML , "open list:KERNEL SELFTEST FRAMEWORK" , Network Development , =?UTF-8?Q?Maciej_=C5=BBenczykowski?= , Lorenzo Colitti , Martin KaFai Lau , Chris Mason , Ihor Solodrai References: <20260515071504.2054786-2-yuyanghuang@google.com> <2e08eb1ca27a9a2f8ad29e1c24f779b579621b0a648589f7044799d91c5e00f5@mail.kernel.org> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Leon Hwang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 25/5/26 15:21, Yuyang Huang wrote: [...] > > Feel free to let us know your thoughts. > I believe this is a user space issue instead of a kernel bug. I tried to use mmap() memory as uattr that got -EFAULT instead of crash. [................] /* mmap() memory */ ^ tail 40B as uattr ^ 56B offset for copy_to_user() Thanks, Leon