From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta0.migadu.com (out-183.mta0.migadu.com [91.218.175.183]) (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 B819443F4D9 for ; Wed, 8 Jul 2026 14:06:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783519589; cv=none; b=RBcgPRjU0Qg0iny/su2sslA9nQ+pR9+7bxN+pI35/ryYm7e2/Xakur2iFjjQWBAhnFRYuUH58iIoGdGtNe+nfn7bAHqRKp/vxp6Jul1Gc2ioxOBD5kl/Dlchm5jNWGkgIrmLIfUokgwepSPJzCoROmC0T33yU/6P92BNpGJcqMs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783519589; c=relaxed/simple; bh=7xNbzB9jjCG6bvFrhPqvltUsQggTUJDVxMLHfoYPPD4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hfSptovNmOIst6CO1gRINMCTyW+1Q8K9jfGfgiWA7oTvzX7TlqBa0yBxxjJrt9s+QKnpUoZ4hlP30mnfdi+L8dXvc/DbqOToTogxsqkjJiNOxS45IuPM8QCvRgKQ2G36gjHEEwVKps/u86i68yh6r5dLsXnuz7bFHLuOOIaBsHA= 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=Qv4MRnfp; arc=none smtp.client-ip=91.218.175.183 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="Qv4MRnfp" Message-ID: <69e0b5f5-ea05-4740-a7a6-4ea4ab67cf92@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1783519575; 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=msVeMcRLOPlLNlcheQfQ90JtoLtKfwLl8M9ATng8S8I=; b=Qv4MRnfpwg+HDy8x1ionVzTwx5xV395lLCKUqh0QrYMoaXh365/t18M5YNYJa7IQgCCdut 9qH/jMPLwto3MKysZqAF0ljcvywS3Tayvd7lkKsTHfAVbLgKR0t1s0cyMTfGH0AysxXmHf h1Wvs/6sKrnUEQux4x3IRvtiRIxlvBA= Date: Wed, 8 Jul 2026 22:06:04 +0800 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v9 0/2] Introduce jit_required to prevent a kernel panic To: Tiezhu Yang , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Eduard Zingerman , Kumar Kartikeya Dwivedi , Martin KaFai Lau , Song Liu , Yonghong Song , Jiri Olsa , Emil Tsalapatis , KaFai Wan Cc: bpf@vger.kernel.org, loongarch@lists.linux.dev, Puranjay Mohan , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= References: <20260708101806.18885-1-yangtiezhu@loongson.cn> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Leon Hwang In-Reply-To: <20260708101806.18885-1-yangtiezhu@loongson.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2026/7/8 18:18, Tiezhu Yang wrote: > This series introduces a 'jit_required' flag in struct bpf_prog > to track programs that strictly require JIT. > > The aim is to prevent a kernel panic by rejecting programs with > inlined helpers when JIT is not available. lgtm, Acked-by: Leon Hwang Beyond this fix and the other assorted interpreter fallback issues [1], I think it's time to come up with a plan to retire the interpreter, given that it's considered a security hole. I'll post an RFC on interpreter retirement in the near future. [1] https://lore.kernel.org/bpf/20260626154330.33619-1-leon.hwang@linux.dev/ Thanks, Leon > [...]