Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E1ADD35BDA8 for ; Sat, 15 Aug 2026 06:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774440; cv=none; b=qS8f9LoXt5viQTxHUp2f/vZ9CZwDHqcY8lU30eIjDums7M0podYyA78UAwQRD7BOCd/ssaIMUPj8W2QHU7qNsUS7tUDnqGkwF35xXhEvqtUFAyK9l0xjoopDsxtLt7Chlk/p+QHHbfoBRPKxvy/5ypZOdVMmqSjeSRvES4Zj1+8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774440; c=relaxed/simple; bh=08owT0d8WiPF03T2mghxIsEQmShqzAYr7NXzA9W+gqs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gmy44mp8/mF4OB0cOonnNjZUYtopBiZsBLe3WES8wx/LYzLHznjJUPsTBdqEsLgm6VxBxPz4MTjT9FoFH8vx7zkkz0Uvzq2YCxoDr8kAwkOgMaMcgvmkTFLNOCgtgAWpmffPXJBJSJLqzKT6WZT7C/Dhv5SmQiL23yw8j9s7kH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L5gUZXzu; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="L5gUZXzu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 447491F000E9; Sat, 15 Aug 2026 06:13:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774438; bh=vkzfJDRs5En96b9wFSfT12We/cXvmVce656u/K5iH4I=; h=From:To:Cc:Subject:Date:Reply-To; b=L5gUZXzu4HvGqL9DvjpVp5w4H3P3bQ+tztiQ/6e1hti/0kXq3I/7um6LSKY3VEsyi Xocu0DMADcgS+RxeQzzsYCOLbzeTbIi4sYZPvbe38eGL+LP2U4R20vkaDny2olbS/m ZrtQ7VLHCKrKXZNbWr6fdXQSyYTCIAemzHPPxYsQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72154: openrisc: Fix jump_label smp syncing Date: Sat, 15 Aug 2026 15:03:53 +0900 Message-ID: <2026081534-CVE-2026-72154-2cdf@gregkh> X-Mailer: git-send-email 2.55.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=3134; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kKDzXziPQKdVzFFJyJhwm4YDh8mwpZiN4a6f7Xf/DVA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDPsNSvJinrlu/NmzYEbF+uUxhjGTTipOPdzTf2zpF O/vcs+edsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBECvQYFqxZenvJsk/Nzz6G Ffg0/zniV756wgGGeUbXZLcGlF2+f/Tx1AXrMrfKmmpKJQEA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: openrisc: Fix jump_label smp syncing The original commit 8c30b0018f9d ("openrisc: Add jump label support") copies from arm64 and does not properly consider how icache invalidation on remote cores works in OpenRISC. On OpenRISC remote icaches need to be invalidated otherwise static key's may remain state after updating. Fix SMP cache syncing by: 1. Properly invalidate remote core icaches on SMP systems by using icache_all_inv. The old code uses kick_all_cpus_sync() which runs a no-op IPI function call on remote CPU's which does execute a lot of code and flushes many cache lines in the process, but does not flush all and it's not correct on OpenRISC. 2. For architectures that do not have WRITETHROUGH caches be sure to flush the dcache after patching. To test this I first reproduced the issue using a custom test module [0]. The test confirmed that some icache lines maintained stale static_key code sequences after calling static_branch_enable(). After this patch there are no longer jump_label coherency issues. [0] https://github.com/stffrdhrn/or1k-utils/tree/master/tests/smp_static_key_test The Linux kernel CVE team has assigned CVE-2026-72154 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 8c30b0018f9d93391573e091960d257fd9de120a and fixed in 6.18.40 with commit 3fac46068fe4cea22ed373432b9173a915e8e60d Issue introduced in 6.18 with commit 8c30b0018f9d93391573e091960d257fd9de120a and fixed in 7.1.5 with commit 57740658042daf591c57d6e700d9a304d5972552 Issue introduced in 6.18 with commit 8c30b0018f9d93391573e091960d257fd9de120a and fixed in 7.2-rc1 with commit aca063c9024522e4e5b9a9d1927433f6a01785a3 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-2026-72154 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/openrisc/kernel/jump_label.c arch/openrisc/kernel/patching.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/3fac46068fe4cea22ed373432b9173a915e8e60d https://git.kernel.org/stable/c/57740658042daf591c57d6e700d9a304d5972552 https://git.kernel.org/stable/c/aca063c9024522e4e5b9a9d1927433f6a01785a3