{"api_version":"1","generated_at":"2026-08-27T20:07:42+00:00","cve":"CVE-2026-80560","urls":{"html":"https://cve.report/CVE-2026-80560","api":"https://cve.report/api/cve/CVE-2026-80560.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-80560","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-80560"},"summary":{"title":"openrisc: signal: do not restore privileged SR bits on sigreturn","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenrisc: signal: do not restore privileged SR bits on sigreturn\n\nrestore_sigcontext() copies the whole supervision register (SR) from the\nsignal frame and only clears SPR_SR_SM before the value is reloaded into\nthe hardware SR (through ESR and l.rfe) on the return to user space.  All\nother SR bits are left under user control.\n\nAn unprivileged task can thus return from a signal handler through a\ncrafted sigframe that clears SPR_SR_DME.  With the data MMU disabled the\nCPU performs no translation or protection on data accesses, so the task\ngains read and write access to arbitrary physical memory, a local\nprivilege escalation.  SPR_SR_IME, SPR_SR_SUMRA, SPR_SR_LEE, SPR_SR_EPH\nand the cache-enable bits are exposed the same way.  The ptrace GPR regset\nalready refuses any change to SR for exactly this reason.\n\nRestore only the arithmetic flag bits (F, CY, OV) from the signal frame\nand take every privileged control bit from the SR the kernel saved on\nsignal entry.\n\nVerified with qemu-system-or1k -M or1k-sim: before this change an\nunprivileged PoC clears SPR_SR_DME in rt_sigreturn and writes a marker to\nphysical address 0x03000000 (beyond the kernel's mem=32M); afterwards the\nsame PoC receives SIGSEGV and physical memory is unchanged.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-26 15:17:10","updated_at":"2026-08-27 06:17:40"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/a88d688be8d7f03cbf927f2ab454ea9fa58d2979","name":"https://git.kernel.org/stable/c/a88d688be8d7f03cbf927f2ab454ea9fa58d2979","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d","name":"https://git.kernel.org/stable/c/b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/32ef1b30ad736519f7a207bcc2986f3d4129d972","name":"https://git.kernel.org/stable/c/32ef1b30ad736519f7a207bcc2986f3d4129d972","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cd8b43a71755c516f5c1f265a103438ae9ab15be","name":"https://git.kernel.org/stable/c/cd8b43a71755c516f5c1f265a103438ae9ab15be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bc2e24ba6e167ccf374a197457aa5640a802f429","name":"https://git.kernel.org/stable/c/bc2e24ba6e167ccf374a197457aa5640a802f429","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/212fc482ddd7f9ccdd74a05eab1cac849350dcd6","name":"https://git.kernel.org/stable/c/212fc482ddd7f9ccdd74a05eab1cac849350dcd6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/89a91b30685c0493b0fa2b47d0ab41061a63069d","name":"https://git.kernel.org/stable/c/89a91b30685c0493b0fa2b47d0ab41061a63069d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6","name":"https://git.kernel.org/stable/c/cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-80560","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80560","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c bc2e24ba6e167ccf374a197457aa5640a802f429 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c cd8b43a71755c516f5c1f265a103438ae9ab15be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c 89a91b30685c0493b0fa2b47d0ab41061a63069d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c a88d688be8d7f03cbf927f2ab454ea9fa58d2979 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c 212fc482ddd7f9ccdd74a05eab1cac849350dcd6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac689eb7f9d4e270d1365853b82eece669387e2c 32ef1b30ad736519f7a207bcc2986f3d4129d972 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.266 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.217 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.184 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.153 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.105 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.46 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.10 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/openrisc/include/asm/processor.h","arch/openrisc/kernel/signal.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bc2e24ba6e167ccf374a197457aa5640a802f429","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"},{"lessThan":"cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"},{"lessThan":"cd8b43a71755c516f5c1f265a103438ae9ab15be","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"},{"lessThan":"b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"},{"lessThan":"89a91b30685c0493b0fa2b47d0ab41061a63069d","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"},{"lessThan":"a88d688be8d7f03cbf927f2ab454ea9fa58d2979","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"},{"lessThan":"212fc482ddd7f9ccdd74a05eab1cac849350dcd6","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"},{"lessThan":"32ef1b30ad736519f7a207bcc2986f3d4129d972","status":"affected","version":"ac689eb7f9d4e270d1365853b82eece669387e2c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/openrisc/include/asm/processor.h","arch/openrisc/kernel/signal.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.1"},{"lessThan":"3.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.266","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.217","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.184","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.153","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.105","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.46","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.266","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.217","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.184","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.153","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.105","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.46","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.10","versionStartIncluding":"3.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"3.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenrisc: signal: do not restore privileged SR bits on sigreturn\n\nrestore_sigcontext() copies the whole supervision register (SR) from the\nsignal frame and only clears SPR_SR_SM before the value is reloaded into\nthe hardware SR (through ESR and l.rfe) on the return to user space.  All\nother SR bits are left under user control.\n\nAn unprivileged task can thus return from a signal handler through a\ncrafted sigframe that clears SPR_SR_DME.  With the data MMU disabled the\nCPU performs no translation or protection on data accesses, so the task\ngains read and write access to arbitrary physical memory, a local\nprivilege escalation.  SPR_SR_IME, SPR_SR_SUMRA, SPR_SR_LEE, SPR_SR_EPH\nand the cache-enable bits are exposed the same way.  The ptrace GPR regset\nalready refuses any change to SR for exactly this reason.\n\nRestore only the arithmetic flag bits (F, CY, OV) from the signal frame\nand take every privileged control bit from the SR the kernel saved on\nsignal entry.\n\nVerified with qemu-system-or1k -M or1k-sim: before this change an\nunprivileged PoC clears SPR_SR_DME in rt_sigreturn and writes a marker to\nphysical address 0x03000000 (beyond the kernel's mem=32M); afterwards the\nsame PoC receives SIGSEGV and physical memory is unchanged."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is only reachable through the local rt_sigreturn syscall path (userspace trap to _sys_call_handler, sys_rt_sigreturn, restore_sigcontext, then l.rfe); OpenRISC signal handling has no network, adjacent-wireless, or physical-device entry point.\nAC:L - Exploitation is deterministic because the attacker fully controls the rt_sigframe SR field and can invoke rt_sigreturn directly; the fix author verified an unprivileged PoC on qemu-system-or1k that clears SPR_SR_DME and writes arbitrary physical memory.\nPR:L - Any unprivileged local process can call rt_sigreturn with a crafted sigframe on its own stack; the path performs only access_ok/copy_from_user checks and has no capability, authentication, or init-namespace root requirement.\nUI:N - No separate victim interaction is needed; the attacker can self-send a signal or directly syscall rt_sigreturn with a forged stack frame in their own process without requiring another user to mount, plug in, or approve anything.\nS:U - This is standard host-kernel privilege escalation by restoring attacker-controlled CPU privilege bits on sigreturn; it does not cross a VM guest/host, container sandbox, or IOMMU security boundary despite granting direct physical memory access.\nC:H - Clearing SPR_SR_DME disables data MMU translation and protection, allowing an unprivileged task to read arbitrary physical addresses including kernel memory; other exposed SR bits (SPR_SR_IME, SPR_SR_SUMRA, cache enables) further broaden privileged-state disclosure.\nI:H - With SPR_SR_DME cleared the CPU performs unprotected physical data accesses, giving arbitrary read/write to all of RAM; the fix commit PoC writes a marker beyond the kernel mem=32M reservation, demonstrating direct integrity compromise and local root escalation.\nA:H - Arbitrary physical memory writes can corrupt kernel text, data, or device MMIO and trigger oops or panic; manipulating privileged SR and cache-control bits can also destabilize the system even when full exploitation is not attempted."}]}],"providerMetadata":{"dateUpdated":"2026-08-27T05:01:48.838Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/bc2e24ba6e167ccf374a197457aa5640a802f429"},{"url":"https://git.kernel.org/stable/c/cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6"},{"url":"https://git.kernel.org/stable/c/cd8b43a71755c516f5c1f265a103438ae9ab15be"},{"url":"https://git.kernel.org/stable/c/b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d"},{"url":"https://git.kernel.org/stable/c/89a91b30685c0493b0fa2b47d0ab41061a63069d"},{"url":"https://git.kernel.org/stable/c/a88d688be8d7f03cbf927f2ab454ea9fa58d2979"},{"url":"https://git.kernel.org/stable/c/212fc482ddd7f9ccdd74a05eab1cac849350dcd6"},{"url":"https://git.kernel.org/stable/c/32ef1b30ad736519f7a207bcc2986f3d4129d972"}],"title":"openrisc: signal: do not restore privileged SR bits on sigreturn","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-80560","datePublished":"2026-08-26T14:37:25.971Z","dateReserved":"2026-08-26T14:34:25.767Z","dateUpdated":"2026-08-27T05:01:48.838Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-26 15:17:10","lastModifiedDate":"2026-08-27 06:17:40","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"80560","Ordinal":"1","Title":"openrisc: signal: do not restore privileged SR bits on sigreturn","CVE":"CVE-2026-80560","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"80560","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenrisc: signal: do not restore privileged SR bits on sigreturn\n\nrestore_sigcontext() copies the whole supervision register (SR) from the\nsignal frame and only clears SPR_SR_SM before the value is reloaded into\nthe hardware SR (through ESR and l.rfe) on the return to user space.  All\nother SR bits are left under user control.\n\nAn unprivileged task can thus return from a signal handler through a\ncrafted sigframe that clears SPR_SR_DME.  With the data MMU disabled the\nCPU performs no translation or protection on data accesses, so the task\ngains read and write access to arbitrary physical memory, a local\nprivilege escalation.  SPR_SR_IME, SPR_SR_SUMRA, SPR_SR_LEE, SPR_SR_EPH\nand the cache-enable bits are exposed the same way.  The ptrace GPR regset\nalready refuses any change to SR for exactly this reason.\n\nRestore only the arithmetic flag bits (F, CY, OV) from the signal frame\nand take every privileged control bit from the SR the kernel saved on\nsignal entry.\n\nVerified with qemu-system-or1k -M or1k-sim: before this change an\nunprivileged PoC clears SPR_SR_DME in rt_sigreturn and writes a marker to\nphysical address 0x03000000 (beyond the kernel's mem=32M); afterwards the\nsame PoC receives SIGSEGV and physical memory is unchanged.","Type":"Description","Title":"openrisc: signal: do not restore privileged SR bits on sigreturn"}]}}}