{
  "id": "CVE-2026-80560",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-80560",
  "published_at": "2026-08-26T14:37:25.971Z",
  "title": "openrisc: signal: do not restore privileged SR bits on sigreturn",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c bc2e24ba6e167ccf374a197457aa5640a802f429",
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6",
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c cd8b43a71755c516f5c1f265a103438ae9ab15be",
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d",
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c 89a91b30685c0493b0fa2b47d0ab41061a63069d",
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c a88d688be8d7f03cbf927f2ab454ea9fa58d2979",
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c 212fc482ddd7f9ccdd74a05eab1cac849350dcd6",
          "\u003e= ac689eb7f9d4e270d1365853b82eece669387e2c, \u003c 32ef1b30ad736519f7a207bcc2986f3d4129d972"
        ],
        "fixed_in": [
          "bc2e24ba6e167ccf374a197457aa5640a802f429",
          "cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6",
          "cd8b43a71755c516f5c1f265a103438ae9ab15be",
          "b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d",
          "89a91b30685c0493b0fa2b47d0ab41061a63069d",
          "a88d688be8d7f03cbf927f2ab454ea9fa58d2979",
          "212fc482ddd7f9ccdd74a05eab1cac849350dcd6",
          "32ef1b30ad736519f7a207bcc2986f3d4129d972"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.1"
        ],
        "fixed_in": [
          "0",
          "5.10.266",
          "5.15.217",
          "6.1.184",
          "6.6.153",
          "6.12.105",
          "6.18.46",
          "7.1.10",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to bc2e24ba6e167ccf374a197457aa5640a802f429 or cf1b5514ddf9df098ce7e3741fc9679fd85a4ec6 or cd8b43a71755c516f5c1f265a103438ae9ab15be or b4d73c3848bae9084fa8b9b2aa76d99a7d8eb17d or 89a91b30685c0493b0fa2b47d0ab41061a63069d or a88d688be8d7f03cbf927f2ab454ea9fa58d2979 or 212fc482ddd7f9ccdd74a05eab1cac849350dcd6 or 32ef1b30ad736519f7a207bcc2986f3d4129d972 or later.",
      "Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.153 or 6.12.105 or 6.18.46 or 7.1.10 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
