Description
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.
Published: 2026-08-26
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Local Privilege Escalation
Action: Patch Now
AI Analysis

Impact

A crafted signal frame can clear privileged supervisor register (SR) bits such as SPR_SR_DME during a user‑space return. The kernel previously copied the entire SR from the frame and only cleared the SM bit, leaving other privileged bits under the control of the unprivileged task. This flaw allows a non‑privileged process to disable data MMU protections and gain read/write access to arbitrary physical memory, constituting a local privilege escalation. The vulnerability also exposes additional privileged bits (IME, SUMRA, LEE, EPH, cache‑enable), widening potential impact.

Affected Systems

All Linux kernel builds that include OpenRISC (openrisc) architecture support are affected. The exact kernel version range is not specified in the advisory; any kernel before the commit that restores privileged SR bits during signal return remains vulnerable.

Risk and Exploitability

The CVSS score is 7.8, indicating high severity, while the EPSS score is reported as < 1%, suggesting a relatively low likelihood of exploitation at present. The risk is still significant because the flaw enables local privilege escalation once an attacker gains the ability to craft a sigframe, which is a feasible local attack. The vulnerability is not listed in CISA’s KEV catalog. Exploitation is demonstrated by a PoC that clears SPR_SR_DME in rt_sigreturn and writes to an invalid physical address, causing a SIGSEGV when the patch is applied.

Generated by OpenCVE AI on August 28, 2026 at 15:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version containing the openrisc signal‑return fix that restores privileged SR bits.
  • Verify that the kernel configuration preserves privileged SR bits on signal return; the patched code enforces this automatically.
  • Monitor system logs for erratic SIGSEGVs or unexpected memory mapping events that may indicate exploitation attempts.

Generated by OpenCVE AI on August 28, 2026 at 15:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
History

Fri, 28 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-732

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-15
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 27 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 26 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-732

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title openrisc: signal: do not restore privileged SR bits on sigreturn
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-27T05:01:48.838Z

Reserved: 2026-08-26T14:34:25.767Z

Link: CVE-2026-80560

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:10.850

Modified: 2026-08-27T06:17:40.650

Link: CVE-2026-80560

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-26T00:00:00Z

Links: CVE-2026-80560 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T15:15:05Z

Weaknesses
  • CWE-15

    External Control of System or Configuration Setting