CVE-2026-80560

Source
https://cve.org/CVERecord?id=CVE-2026-80560
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80560.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80560
Downstream
Published
2026-08-26T14:37:25.971Z
Modified
2026-08-28T03:47:29.097188673Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
openrisc: signal: do not restore privileged SR bits on sigreturn
Details

In the Linux kernel, the following vulnerability has been resolved:

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

restoresigcontext() copies the whole supervision register (SR) from the signal frame and only clears SPRSR_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 SPRSRDME. 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. SPRSRIME, SPRSRSUMRA, SPRSRLEE, SPRSREPH 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 SPRSRDME 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80560.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ac689eb7f9d4e270d1365853b82eece669387e2c
Fixed
bc2e24ba6e167ccf374a197457aa5640a802f429
Fixed
cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6
Fixed
cd8b43a71755c516f5c1f265a103438ae9ab15be
Fixed
b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d
Fixed
89a91b30685c0493b0fa2b47d0ab41061a63069d
Fixed
a88d688be8d7f03cbf927f2ab454ea9fa58d2979
Fixed
212fc482ddd7f9ccdd74a05eab1cac849350dcd6
Fixed
32ef1b30ad736519f7a207bcc2986f3d4129d972

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80560.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.0
Fixed
5.10.266
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.217
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.184
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.153
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.105
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.46
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80560.json"