Bug 2586313 (CVE-2026-138870) - CVE-2026-138870 kernel: kernel: Memory corruption via unvalidated shadow stack pointer in RISC-V
Summary: CVE-2026-138870 kernel: kernel: Memory corruption via unvalidated shadow stac...
Keywords:
Status: NEW
Alias: CVE-2026-138870
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:41 UTC by OSIDB Bzimport
Modified: 2026-11-30 19:13 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:41:45 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.