From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.75 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795614218; b=GrHT3EapSuACpiI6qAgP0KlP0rLIdSgxSqpCO2CwTTaKhmWad2uoAqWjX/BRfy0qraAB qASH/9+XTYcfIkuajB07nJaz0w6YA6EtcaJLlsCu+bADDL8OQKEvsr21vosjtNSwBpkAZ nLCBP7eEdHeSFUuk5hIKlQgqFWyhOXYsXxsisFIAN9BRvKfuusgJUEpcHHLhSzCkboGDG uX1qDkKWilHgulHtz65tQHeBkR1QgCdvgZ34u+UK8nna7R2o/B0tJ7BNsG9vQBbWO8nNZ ZfwQmhWr/QUvBxeTNqM1QKHonbaHEXxmJWzKI8dbmxVT8MPr7ZNlrU7u2zevXiRsBOg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795614218; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:MIME-Version:User-Agent: Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=6oSqEig9AGJMHosVHhZtxiJ/44MaDSzvmhq9hylVy0c=; b=W6lpBwz54osM6KeSwzFRm29k1VhCHIFi2LOxWiyplsfeSErn6O1uivVpPIzOxCMI0dlH ueuXfuS3w9SkPxhMmOtKLU1J1OYmqkKbegItOIMbuuP+eZCXYuD21uYN0uwbprvpMCJ6B fUBVRTzUF8EP1UAwRXoTjgU8uNPeasuCxaNZnUTc7aKifjVfxuoNvAe0Z+VRwQQFz/RGk xWTVXrx7Nq7u1x8gyotszbgRhpjqXhbUorDBXMhvKzIaeCgF37n4/RX5m2PogC/CvQ+JR ajDcHTztQ/mAmgVsJwDYOmHM3QoINPijHdiPg1qmg6swyEi8gridlLpVFRND1Jz2g8Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; arc=none smtp.remote-ip=91.218.175.75 Received: from mta0.migadu.com (out-75.mta0.migadu.com [91.218.175.75]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D7CA606A31E for ; Wed, 25 Nov 2026 13:43:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9D7CA606A31E 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 X-Envelope-To: bpf@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=foQQFJFpoZ/mRTc9jcIQPOk2Q+YJFlQywuFZ/jX/M3s=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1795614215; v=1; x=1796219015; b=qsDd4yKflerJfRTzSgFIEnG/W4leBezwwvNc47UTxYRP5tOy9/Fr6craIa3bZIWZRWkxt5i3 aDbbp6XNthN94uGLJ5EHgFJymUp8WtwE63TaTRDetvLcKY6nexmtvsTVZd6LRuWP7ByL+vxZA1X DmbiQCHIqhWLUG7ymP7BBKpw= X-Envelope-To: bpf@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id f9dfb553bd12c55c; Wed, 25 Nov 2026 13:43:35 +0000 X-Mizu-Trace-ID: f9dfb553bd12c55c X-Migadu-Flow: FLOW_OUT Message-ID: <809f91e2-638d-4e54-9b60-e66098d173e0@linux.dev> Date: Wed, 25 Nov 2026 21:43:29 +0800 X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Please backport 7a0855e73757 ("bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn") to 6.18.y and 6.12.y To: Guillaume Laporte , "stable@vger.kernel.org" , Vincent Thiberville Cc: "yangtiezhu@loongson.cn" , Alexei Starovoitov , "daniel@iogearbox.net" , "bpf@vger.kernel.org" , "linux@roblab.la" References: Content-Language: en-US From: Leon Hwang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2026/11/25 16:56, Guillaume Laporte wrote: > Dear maintainers, > > Could you please consider backporting the following commits to 6.18.y > and 6.12.y: > > 9a6df65d5c6a ("bpf: Introduce jit_required flag and remove bpf_prog_has_kfunc_call()") > f1c27922576e ("bpf: Reject programs with inlined helpers if JIT is not available") > 7a0855e73757 ("bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn") 34746b5a84ec ("bpf: Disallow interpreter fallback for arena-related insns") This commit will also be backported. > > All three were backported to 7.2.6, but not to the 6.18.y and 6.12.y > trees, which seem to be the only affected longterm trees: if I'm not > mistaken, the issue was introduced in 6.10 by 7bdbf7446305 ("bpf: add > special internal-only MOV instruction to resolve per-CPU addrs"). > [...] > > Unfortunately, the commits do not apply cleanly to these trees, as > they modify kernel/bpf/fixups.c, which only exists since 7.1. Leon, > thank you for fixing this upstream. In July you mentioned that the fix > should be backported to 6.12 along with Tiezhu's jit_required series > [2]. Would you have time to prepare the backports for 6.18.y and > 6.12.y? We would be glad to test them with the reproducer and report > back. No worries. I will backport the aforementioned commits in near future, will cc Vincent and you. Thanks, Leon > > Thank you for your help, > > Guillaume Laporte > > [1] https://lore.kernel.org/bpf/MR1P264MB331494502C9D13D8A9EAFB99B7E82@MR1P264MB3314.FRAP264.PROD.OUTLOOK.COM/ > [2] https://lore.kernel.org/bpf/b76ade17-44cb-4e60-97fc-41ba55258691@linux.dev/