CVE-2026-138870

High

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.

Package Linux Kernel
Published 2026-11-30
Last modified 2026-12-01
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.0

out of 10
High
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected versions

Linux kernel versions 7.0 and later are affected. Fixed in 7.3.4, 7.4-rc1 and their respective stable series.

Affected from
≥ 7.0
Fixed in
✓ 7.3.4 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-138870?

    CVE-2026-138870 is a High severity Linux kernel vulnerability with a CVSS score of 7.0 out of 10 . It affects Linux kernel versions from 7.0 onward and has been patched in 7.3.4 and 7.4-rc1. CVE-2026-138870 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2026-138870?

    CVE-2026-138870 has a CVSS score of 7.0 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2026-138870?

    Yes. CVE-2026-138870 has been patched. Fixed versions include 7.3.4 and 7.4-rc1. If you are running Linux kernel 7.0 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-138870 actively exploited?

    No. CVE-2026-138870 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.