Skip to main content
Network Thinking Solutions Logo

CVE-2026-138870

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.

All CVEs
CVE-2026-138870Published 11/30/2026

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.

Vendor advisory
CVSS 3.17.0High

Overview

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.

Published
11/30/2026
Last modified
12/1/2026
CVE assigner
Linux
NVD analysis
Received

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 66c9c713de597f9b40a319ebda4d3466ce2cdff0, < 34dbcdd0562461805f2fd276593517794b41e487

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 66c9c713de597f9b40a319ebda4d3466ce2cdff0, < df333b72c0e14d6cffec72ce9a00503f12d1e28d

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
7.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.0 · High CVSS 3.1

Scored by Linux

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

7.0 · High CVSS 3.1

Scored by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.