Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 37E2B32D7FB for ; Wed, 18 Mar 2026 17:41:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855690; cv=none; b=WY6qoY15xaOT2Qi8yNE2xjfZ+qJQjUPJMsJJ+crhPW+4usJd0UX42iljfdwQ2IGBPeBESnmY4/UjSz1HxjzGh0t+EEp2IGPc/ChZeX2jIghzA/7dgsMA/MX3/Cf25kGIVUimoqPjQR3SithsQzFtLHe7M66XNN7iHlZDNIJfkSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855690; c=relaxed/simple; bh=gbZfKOgCyLCLhqEraTh1obuI8ud+NTjCV0LplNnDkhQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=kF8VvtVZKUhjWAp4wZNlMml5deujBsOukXsIRwitJWG0482GDjCdhUNFLykx/kJqOpXTZSfQcF0HcuPhq6rXlFmX4H7nHVawm7yKV/66z/77yFnEEt4rEElnEBxeiUPAz88X4QnGB3R+Y4341CpZbqr1YWBd3K2mTk5g0Af1Vu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=l2Bm7yAN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="l2Bm7yAN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53B93C19421; Wed, 18 Mar 2026 17:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773855689; bh=gbZfKOgCyLCLhqEraTh1obuI8ud+NTjCV0LplNnDkhQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=l2Bm7yANI1em2WUN/B+BkQx7tEhkCyzpOcFkN6NyPgrzB1oCDQYVQcXZeOvyvsuMI Kz6fTGxo6jWT1b5knjYnUP8whtYaRLz8XqmXGpPoSypor7B4nAKWyScS4h/7HqpCUQ Bg3tNItLlQyTnEej8gMH2k4nXysc6FFMo7FdYE1o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71270: LoongArch: Enable exception fixup for specific ADE subcode Date: Wed, 18 Mar 2026 18:41:16 +0100 Message-ID: <2026031816-CVE-2025-71270-19ac@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2790; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pKAB90RgE9LIHgLT8aJ4Op7xq4VkeEWQyrSVK0BeaqA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7Hu+tX7tAo/T2xdkbHngY3I92WtVvKaHVd/ap15l/e deK9juwdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVu5lmF97wsTs4jdeWRkP w2kPWCNnNYVL7mFYsCc2gNNXivkF942ffuHOdVe4KudEAAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: LoongArch: Enable exception fixup for specific ADE subcode This patch allows the LoongArch BPF JIT to handle recoverable memory access errors generated by BPF_PROBE_MEM* instructions. When a BPF program performs memory access operations, the instructions it executes may trigger ADEM exceptions. The kernel’s built-in BPF exception table mechanism (EX_TYPE_BPF) will generate corresponding exception fixup entries in the JIT compilation phase; however, the architecture-specific trap handling function needs to proactively call the common fixup routine to achieve exception recovery. do_ade(): fix EX_TYPE_BPF memory access exceptions for BPF programs, ensure safe execution. Relevant test cases: illegal address access tests in module_attach and subprogs_extable of selftests/bpf. The Linux kernel CVE team has assigned CVE-2025-71270 to this issue. Affected and fixed versions =========================== Fixed in 6.1.163 with commit b9d9a221bd14ed4b01d113701976fa376762c544 Fixed in 6.6.124 with commit 73ede654d9daa2ee41bdd17bc62946fc5a0258cb Fixed in 6.12.70 with commit c49a28068363f3dca439aa5fe4d3b1f8159809fe Fixed in 6.18.10 with commit c2ed4f71e9288f21d5c53ff790270758e60fa5f9 Fixed in 6.19 with commit 9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-71270 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: arch/loongarch/kernel/traps.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b9d9a221bd14ed4b01d113701976fa376762c544 https://git.kernel.org/stable/c/73ede654d9daa2ee41bdd17bc62946fc5a0258cb https://git.kernel.org/stable/c/c49a28068363f3dca439aa5fe4d3b1f8159809fe https://git.kernel.org/stable/c/c2ed4f71e9288f21d5c53ff790270758e60fa5f9 https://git.kernel.org/stable/c/9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0