{
  "cveId": "CVE-2022-50225",
  "url": "https://patchblox.com/security/cve/CVE-2022-50225",
  "summary": "CVE-2022-50225 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50225, released June 18, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  riscv:uprobe fix SR_SPIE set/clear handling  In...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  riscv:uprobe fix SR_SPIE set/clear handling  In riscv the process of uprobe going to clear spie before exec the origin insn,and set spie after that.But When access the page which origin insn has been placed a page fault may happen and irq was disabled in arch_uprobe_pre_xol function,It cause a WARN as follows. There is no need to clear/set spie in arch_uprobe_pre/post/abort_xol. We can just remove it.  [   31.684157] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1488 [   31.684677] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 76, name: work [   31.684929] preempt_count: 0, expected: 0 [   31.685969] CPU: 2 PID: 76 Comm: work Tainted: G [   31.686542] Hardware name: riscv-virtio,qemu (DT) [   31.686797] Call Trace: [   31.687053] [\u003Cffffffff80006442\u003E] dump_backtrace\u002B0x30/0x38 [   31.687699] [\u003Cffffffff80812118\u003E] show_stack\u002B0x40/0x4c [   31.688141] [\u003Cffffffff8081817a\u003E] dump_stack_lvl\u002B0x44/0x5c [   31.688396] [\u003Cffffffff808181aa\u003E] dump_stack\u002B0x18/0x20 [   31.688653] [\u003Cffffffff8003e454\u003E] __might_resched\u002B0x114/0x122 [   31.688948] [\u003Cffffffff8003e4b2\u003E] __might_sleep\u002B0x50/0x7a [   31.689435] [\u003Cffffffff80822676\u003E] down_read\u002B0x30/0x130 [   31.689728] [\u003Cffffffff8000b650\u003E] do_page_fault\u002B0x166/x446 [   31.689997] [\u003Cffffffff80003c0c\u003E] ret_from_exception\u002B0x0/0xc",
  "published": "2025-06-18T11:15:53Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00179,
  "epssPercentile": 0.07502,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.0.2-1",
      "fix": "DEBIAN-CVE-2022-50225",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50225",
      "released": "2025-06-18T11:15:53Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.0.2-1",
      "fix": "DEBIAN-CVE-2022-50225",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50225",
      "released": "2025-06-18T11:15:53Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.0.2-1",
      "fix": "DEBIAN-CVE-2022-50225",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50225",
      "released": "2025-06-18T11:15:53Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}