Security mailing lists by PureSourceCode

CVE-2026-138870

HIGH 7.0CVSS 3.1

riscv: cfi: Bounds check restore token before swap

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
30 Nov 2026
Last modified
1 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List Linux CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 66c9c713de597f9b40a319ebda4d3466ce2cdff0, < 34dbcdd0562461805f2fd276593517794b41e487; >= 66c9c713de597f9b40a319ebda4d3466ce2cdff0, < df333b72c0e14d6cffec72ce9a00503f12d1e28d 34dbcdd0562461805f2fd276593517794b41e487, df333b72c0e14d6cffec72ce9a00503f12d1e28d
CVE List Linux Linux = 7.0

References

History

  • 1 Dec 2026 06:48 UTC · NVD: scored 7.0
  • 1 Dec 2026 05:50 UTC · CVE List: scored 7.0
  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.