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 62E763E1CE1 for ; Fri, 28 Aug 2026 06:53:53 +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=1787900034; cv=none; b=WAwxoESbFNBO2Rl0BVFWhPKaRAGJ3IEoi901XdqUNKLbz7lso98g5tUyGdTx8koHZHA8wDJoKZcwWVBRtU+QT9oxapC8SRaXtPRgpM4a/ddzyKCfrUvNxeSmPQVtgbJIiT3NX5kqirp0LqfnyhMOO8ngZIfuw89bvFq4Pcl1ZXE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900034; c=relaxed/simple; bh=Pv7QzRY/n26Xv325kGTB5dKCOdF9/bnStnPh0lb7fH0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jeW+Ibc7df0Lj6G8D/ADHJIahD243R4A+KJJLDPzVa5VJJfB+9cOP0Z1Naq9+VJAqTKjwLY3Hue5xQxtZ6VG6B41SCRghQnSjkAgNEPnu4N8Y1ewzGAh3fRaA16dywUL2PSF9ZEeOgYOxKjxyW136QUB02c0lTMgX088t96CgT4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rbGA0EZJ; 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="rbGA0EZJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B16CE1F000E9; Fri, 28 Aug 2026 06:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900033; bh=R5NO5O1tsbcFW29gX6m0WInDFEv0ptUfbZvFOI2YWF4=; h=From:To:Cc:Subject:Date:Reply-To; b=rbGA0EZJUalcBuAyovLe+l1KH8TrnoA5U1P9AmY0F89nuQlWms6Jt/+bNXKZV6TMr lRkY47ZBmkxSCLkecGuQrNsr2E2AbluPS00qov/A6H/4KxvBZ164K2KHHuge0GxJtr 4Ms62tXJtqvrnwvm0nOT/h4W0qWWNYZP+SOkQ0LU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80688: riscv: drop __init from vec_check_unaligned_access_speed_all_cpus Date: Fri, 28 Aug 2026 08:53:11 +0200 Message-ID: <2026082803-CVE-2026-80688-1eb3@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=4769; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XI+IrxgRhZoS8f2//i25FFCsufL01yBmZuHqjdTss1g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDfyXb97RkcBke/cAu/OEnf9S9y9anGa4lEVTu8pJ5 4k/Z+KpjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIlBXD/HqbUFWDzTWLay/k sQYL6MZMFBYMY1jQ0rx6iuDyQN9LjZ6sYb9nV91R37sDAA== 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: riscv: drop __init from vec_check_unaligned_access_speed_all_cpus This function runs within a kthread and need not necessarily finish before system finishes boot and free_initmem() unmaps the .init.text section. This function makes calls to SBI for probing unaligned access speed, and if this is slow for some reason (say some debug prints were added to SBI), the kthread can still be running at this point and result in an instruction page fault when trying to fetch from the freed region. [ 25.642087] Unable to handle kernel paging request at virtual address ffffffff80a04ef8 [ 25.646694] Current vec_check_unali pgtable: 4K pagesize, 48-bit VAs, pgdp=0x00004000316e9000 [ 25.653170] [ffffffff80a04ef8] pgd=000010004be7e401, p4d=000010004be7e401, pud=000010004be7e001, pmd=000010000c3000e3 [ 25.661244] Oops [#1] [ 25.662997] Modules linked in: [ 25.665357] CPU: 3 UID: 0 PID: 42 Comm: vec_check_unali Not tainted 7.0.0-tt-blackhole-asrinivasan-00007-g30ff73f18211 #570 PREEMPTLAZY [ 25.674669] Hardware name: Tenstorrent Blackhole (DT) [ 25.678545] epc : vec_check_unaligned_access_speed_all_cpus+0x18/0x2c [ 25.683458] ra : vec_check_unaligned_access_speed_all_cpus+0x18/0x2c [ 25.688372] epc : ffffffff80a04ef8 ra : ffffffff80a04ef8 sp : ffff8f8000203e20 [ 25.693874] gp : ffffffff814dc168 tp : ffffaf8001ad9900 t0 : 0000000000000000 [ 25.699401] t1 : fffffffffffffff0 t2 : ffffaf8001ad9a10 s0 : ffff8f8000203e30 [ 25.704912] s1 : ffffaf80018dc780 a0 : 0000000000000000 a1 : 0000000000000002 [ 25.710407] a2 : 00000000000001f0 a3 : 0000000000000018 a4 : 0000000000000000 [ 25.715917] a5 : 0000000000000000 a6 : ffffaf8001c03d98 a7 : ffffaf8001c03e30 [ 25.721419] s2 : ffff8f8000023c98 s3 : ffffaf8001aa1240 s4 : ffffffff80a04ee0 [ 25.726937] s5 : 0000000000000000 s6 : 0000000000000000 s7 : 0000000000000000 [ 25.732450] s8 : 0000000000000000 s9 : 0000000000000000 s10: 0000000000000000 [ 25.737944] s11: 0000000000000000 t3 : 0000000000000002 t4 : 0000000000000402 [ 25.743481] t5 : 0000000000000040 t6 : 0000000000000004 ssp : 0000000000000000 [ 25.749024] status: 0000000200000120 badaddr: ffffffff80a04ef8 cause: 000000000000000c [ 25.755060] [] vec_check_unaligned_access_speed_all_cpus+0x18/0x2c [ 25.760964] [] kthread+0xd8/0xfc [ 25.764660] [] ret_from_fork_kernel+0x18/0x1c4 [ 25.769220] [] ret_from_fork_kernel_asm+0x16/0x18 [ 25.774018] Code: cccc cccc cccc cccc cccc cccc cccc cccc cccc cccc (cccc) cccc Drop __init from its signature so that this doesn't happen. The Linux kernel CVE team has assigned CVE-2026-80688 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit a00e022be5315c5a1f47521a1cc6d3b71c8e9c44 and fixed in 6.18.44 with commit 01bd01b61ad9ea917e5629a7f14f57a8af0543bb Issue introduced in 6.15 with commit a00e022be5315c5a1f47521a1cc6d3b71c8e9c44 and fixed in 7.1.8 with commit 25f228e6ac573884a3d7078cc2b3312b8db59eea Issue introduced in 6.15 with commit a00e022be5315c5a1f47521a1cc6d3b71c8e9c44 and fixed in 7.2 with commit f51fed61eea0daba2f95f1a6074085e4cd513c7b Issue introduced in 6.13.11 with commit 86c19f641cfadcd7023bc8ee74849e85b1fdf187 Issue introduced in 6.14.2 with commit dfef32cf33f4e09a5bfdc8a57603e0de506bed47 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-80688 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/riscv/kernel/unaligned_access_speed.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/01bd01b61ad9ea917e5629a7f14f57a8af0543bb https://git.kernel.org/stable/c/25f228e6ac573884a3d7078cc2b3312b8db59eea https://git.kernel.org/stable/c/f51fed61eea0daba2f95f1a6074085e4cd513c7b