CVE-2026-138870: Linux kernel · riscv: cfi: Bounds check restore token before swap
Affects Linux kernelSource CVE Database V5
Not known to be exploited : upgrade to df333b72c0e14d6cffec72ce9a00503f12d1e28d or 34dbcdd0562461805f2fd276593517794b41e487 when convenient.
Data as of 30 Nov 2026, 13:46 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in df333b72c0e14d6cffec72ce9a00503f12d1e28d, 34dbcdd0562461805f2fd276593517794b41e487
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade Linux kernel to df333b72c0e14d6cffec72ce9a00503f12d1e28d or 34dbcdd0562461805f2fd276593517794b41e487.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
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.