# CVE-2026-80560: openrisc: signal: do not restore privileged SR bits on sigreturn

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-26T14:37:25.971Z
- **Modified:** 2026-08-27T06:17:40.650Z

## Who should check

- Anyone running Linux \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< bc2e24ba6e167ccf374a197457aa5640a802f429; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< cd8b43a71755c516f5c1f265a103438ae9ab15be; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 89a91b30685c0493b0fa2b47d0ab41061a63069d; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< a88d688be8d7f03cbf927f2ab454ea9fa58d2979; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 212fc482ddd7f9ccdd74a05eab1cac849350dcd6; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 32ef1b30ad736519f7a207bcc2986f3d4129d972
- Anyone running Linux 3.1

## 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.

## Affected and fixed versions

- Linux: \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< bc2e24ba6e167ccf374a197457aa5640a802f429; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< cd8b43a71755c516f5c1f265a103438ae9ab15be; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 89a91b30685c0493b0fa2b47d0ab41061a63069d; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< a88d688be8d7f03cbf927f2ab454ea9fa58d2979; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 212fc482ddd7f9ccdd74a05eab1cac849350dcd6; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 32ef1b30ad736519f7a207bcc2986f3d4129d972 (cvelist)
- Linux: 3.1 (cvelist)

## Mitigation

- Upgrade Linux to 32ef1b30ad736519f7a207bcc2986f3d4129d972 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80560. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80560.md
Affected: Linux >= ac689eb7f9d4e270d1365853b82eece669387e2c, < bc2e24ba6e167ccf374a197457aa5640a802f429; >= ac689eb7f9d4e270d1365853b82eece669387e2c, < cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6; >= ac689eb7f9d4e270d1365853b82eece669387e2c, < cd8b43a71755c516f5c1f265a103438ae9ab15be; >= ac689eb7f9d4e270d136585…
Fixed in: Linux 89a91b30685c0493b0fa2b47d0ab41061a63069d, Linux 212fc482ddd7f9ccdd74a05eab1cac849350dcd6, Linux 32ef1b30ad736519f7a207bcc2986f3d4129d972

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80560 being exploited?

There is no confirmed exploitation: CVE-2026-80560 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80560?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-80560?

Linux \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< bc2e24ba6e167ccf374a197457aa5640a802f429; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< cd8b43a71755c516f5c1f265a103438ae9ab15be; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 89a91b30685c0493b0fa2b47d0ab41061a63069d; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< a88d688be8d7f03cbf927f2ab454ea9fa58d2979; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 212fc482ddd7f9ccdd74a05eab1cac849350dcd6; \>= ac689eb7f9d4e270d1365853b82eece669387e2c, \< 32ef1b30ad736519f7a207bcc2986f3d4129d972; Linux 3.1.

### Is there a fix for CVE-2026-80560?

Yes. Fixed in Linux 89a91b30685c0493b0fa2b47d0ab41061a63069d, Linux 212fc482ddd7f9ccdd74a05eab1cac849350dcd6, Linux 32ef1b30ad736519f7a207bcc2986f3d4129d972. Upgrade Linux to 32ef1b30ad736519f7a207bcc2986f3d4129d972 or later.

### How do I check if I'm affected by CVE-2026-80560?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bc2e24ba6e167ccf374a197457aa5640a802f429>
- other: <https://git.kernel.org/stable/c/cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6>
- other: <https://git.kernel.org/stable/c/cd8b43a71755c516f5c1f265a103438ae9ab15be>
- other: <https://git.kernel.org/stable/c/b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d>
- other: <https://git.kernel.org/stable/c/89a91b30685c0493b0fa2b47d0ab41061a63069d>
- other: <https://git.kernel.org/stable/c/a88d688be8d7f03cbf927f2ab454ea9fa58d2979>
- other: <https://git.kernel.org/stable/c/212fc482ddd7f9ccdd74a05eab1cac849350dcd6>
- other: <https://git.kernel.org/stable/c/32ef1b30ad736519f7a207bcc2986f3d4129d972>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80560>

HTML: <https://flawdb.com/CVE-2026-80560> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80560>
