Skip to main content
VulnerabilityPublished

CVE-2026-138870: Linux kernel · riscv: cfi: Bounds check restore token before swap

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited : upgrade to df333b72c0e14d6cffec72ce9a00503f12d1e28d or 34dbcdd0562461805f2fd276593517794b41e487 when convenient.

Data as of 30 Nov 2026, 13:46 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in df333b72c0e14d6cffec72ce9a00503f12d1e28d, 34dbcdd0562461805f2fd276593517794b41e487

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 66c9c713de597f9b40a319ebda4d3466ce2cdff0, < df333b72c0e14d6cffec72ce9a00503f12d1e28d
Fixed in
  • df333b72c0e14d6cffec72ce9a00503f12d1e28d
LinuxLinuxAffected
  • ≥ 66c9c713de597f9b40a319ebda4d3466ce2cdff0, < 34dbcdd0562461805f2fd276593517794b41e487
Fixed in
  • 34dbcdd0562461805f2fd276593517794b41e487
LinuxLinuxAffected
  • =7.0
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.

References

Community reviews

Loading reviews…