VDB

CVE-2026-80560

CVE-2026-80560 PUBLISHED CVSS 7.8 HIGH

openrisc: signal: do not restore privileged SR bits on sigreturn

Reported by linux · Published August 26, 2026

In the Linux kernel, the following vulnerability has been resolved: openrisc: signal: do not restore privileged SR bits on sigreturn restore_sigcontext() copies the whole supervision register (SR) from the signal frame and only clears SPR_SR_SM before the value is reloaded into the hardware SR (through ESR and l.rfe) on the return to user space. All other SR bits are left under user control. An unprivileged task can thus return from a signal handler through a crafted sigframe that clears SPR_SR_DME. With the data MMU disabled the CPU performs no translation or protection on data accesses, so the task gains read and write access to arbitrary physical memory, a local privilege escalation. SPR_SR_IME, SPR_SR_SUMRA, SPR_SR_LEE, SPR_SR_EPH and the cache-enable bits are exposed the same way. The ptrace GPR regset already refuses any change to SR for exactly this reason. Restore only the arithmetic flag bits (F, CY, OV) from the signal frame and take every privileged control bit from the SR the kernel saved on signal entry. Verified with qemu-system-or1k -M or1k-sim: before this change an unprivileged PoC clears SPR_SR_DME in rt_sigreturn and writes a marker to physical address 0x03000000 (beyond the kernel's mem=32M); afterwards the same PoC receives SIGSEGV and physical memory is unchanged.

EPSS 0.13% · 2.6th percentile

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.13%
2.6th percentile

Affected products

VendorProductVersions
LinuxLinuxac689eb7f9d4e270d1365853b82eece669387e2c, ac689eb7f9d4e270d1365853b82eece669387e2c, ac689eb7f9d4e270d1365853b82eece669387e2c
LinuxLinux3.1, 0, 5.10.266
linuxlinux_kernel3.1, 3.1, 3.1
LinuxLinux*, *, *

Timeline

  • Aug 26, 2026 CVE Published
  • Aug 27, 2026 EPSS Score (8 in total, the first dated here)
  • Aug 27, 2026 CVE Updated
  • Sep 2, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80560
vulnetix vdb fixes CVE-2026-80560

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80560/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›