CVE-2026-80560

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

7.8 high EPSS 0.13%

Published 26 Aug 2026 Updated 27 Aug 2026 CNA: Linux

Check your servers for CVE-2026-80560

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80560 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.78% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before bc2e24ba6e167ccf374a197457aa5640a802f429
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before cd8b43a71755c516f5c1f265a103438ae9ab15be
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before 89a91b30685c0493b0fa2b47d0ab41061a63069d
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before a88d688be8d7f03cbf927f2ab454ea9fa58d2979
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before 212fc482ddd7f9ccdd74a05eab1cac849350dcd6
affected from ac689eb7f9d4e270d1365853b82eece669387e2c, before 32ef1b30ad736519f7a207bcc2986f3d4129d972
Other versions: unaffected
Linux
affected 3.1
unaffected before 3.1
unaffected from 5.10.266 up to and including 5.10.*
unaffected from 5.15.217 up to and including 5.15.*
unaffected from 6.1.184 up to and including 6.1.*
unaffected from 6.6.153 up to and including 6.6.*
unaffected from 6.12.105 up to and including 6.12.*
unaffected from 6.18.46 up to and including 6.18.*
unaffected from 7.1.10 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80560 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80560

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-80560
trivy image --scanners vuln IMAGE | grep CVE-2026-80560

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-80560 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.