Linux kernelのRISC-Vシャドウスタック処理に脆弱性、カーネルメモリを書き換えられるおそれ
Summary
Linux kernelのRISC-V向けコードで、シャドウスタックの復元トークンが検査されないまま使われる脆弱性です。7.0.0以降7.3.4より前のバージョンが影響を受け、CVSSは7.8です。修正版の7.3.4が公開されているため、該当するバージョンを使っている場合は更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux kernelのRISC-V向けコードで、シャドウスタックの復元トークンが検査されないまま使われる脆弱性です。7.0.0以降7.3.4より前のバージョンが影響を受け、CVSSは7.8です。修正版の7.3.4が公開されているため、該当するバージョンを使っている場合は更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 7.0.0, < 7.3.4→ 7.3.4 |
7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-138870
- Debian DEBIAN-CVE-2026-138870 linux Fix available
- Ubuntu UBUNTU-CVE-2026-138870 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
riscv: cfi: Bounds check restore token before swap
Currently the user-provided shadow stack restore token is not checked
before being used as the address in ssamoswap.d. While an invalid
restore token will be caught and raise SIGSEGV, this happens after
writing 4 bytes of zeroes anywhere in the address space. Check that the
restore token is at least a valid user address before the swap to ensure
we do not scribble over kernel memory.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web github.com