{
  "cveId": "CVE-2022-50647",
  "url": "https://patchblox.com/security/cve/CVE-2022-50647",
  "summary": "CVE-2022-50647 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50647, released December 9, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  RISC-V: Make port I/O string accessors actually...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  RISC-V: Make port I/O string accessors actually work  Fix port I/O string accessors such as \u0060insb\u0027, \u0060outsb\u0027, etc. which use the physical PCI port I/O address rather than the corresponding memory mapping to get at the requested location, which in turn breaks at least accesses made by our parport driver to a PCIe parallel port such as:  PCI parallel port detected: 1415:c118, I/O at 0x1000(0x1008), IRQ 20 parport0: PC-style at 0x1000 (0x1008), irq 20, using FIFO [PCSPP,TRISTATE,COMPAT,EPP,ECP]  causing a memory access fault:  Unable to handle kernel access to user memory without uaccess routines at virtual address 0000000000001008 Oops [#1] Modules linked in: CPU: 1 PID: 350 Comm: cat Not tainted 6.0.0-rc2-00283-g10d4879f9ef0-dirty #23 Hardware name: SiFive HiFive Unmatched A00 (DT) epc : parport_pc_fifo_write_block_pio\u002B0x266/0x416  ra : parport_pc_fifo_write_block_pio\u002B0xb4/0x416 epc : ffffffff80542c3e ra : ffffffff80542a8c sp : ffffffd88899fc60  gp : ffffffff80fa2700 tp : ffffffd882b1e900 t0 : ffffffd883d0b000  t1 : ffffffffff000002 t2 : 4646393043330a38 s0 : ffffffd88899fcf0  s1 : 0000000000001000 a0 : 0000000000000010 a1 : 0000000000000000  a2 : ffffffd883d0a010 a3 : 0000000000000023 a4 : 00000000ffff8fbb  a5 : ffffffd883d0a001 a6 : 0000000100000000 a7 : ffffffc800000000  s2 : ffffffffff000002 s3 : ffffffff80d28880 s4 : ffffffff80fa1f50  s5 : 0000000000001008 s6 : 0000000000000008 s7 : ffffffd883d0a000  s8 : 0004000000000000 s9 : ffffffff80dc1d80 s10: ffffffd8807e4000  s11: 0000000000000000 t3 : 00000000000000ff t4 : 393044410a303930  t5 : 0000000000001000 t6 : 0000000000040000 status: 0000000200000120 badaddr: 0000000000001008 cause: 000000000000000f [\u003Cffffffff80543212\u003E] parport_pc_compat_write_block_pio\u002B0xfe/0x200 [\u003Cffffffff8053bbc0\u003E] parport_write\u002B0x46/0xf8 [\u003Cffffffff8050530e\u003E] lp_write\u002B0x158/0x2d2 [\u003Cffffffff80185716\u003E] vfs_write\u002B0x8e/0x2c2 [\u003Cffffffff80185a74\u003E] ksys_write\u002B0x52/0xc2 [\u003Cffffffff80185af2\u003E] sys_write\u002B0xe/0x16 [\u003Cffffffff80003770\u003E] ret_from_syscall\u002B0x0/0x2 ---[ end trace 0000000000000000 ]---  For simplicity address the problem by adding PCI_IOBASE to the physical address requested in the respective wrapper macros only, observing that the raw accessors such as \u0060__insb\u0027, \u0060__outsb\u0027, etc. are not supposed to be used other than by said macros.  Remove the cast to \u0060long\u0027 that is no longer needed on \u0060addr\u0027 now that it is used as an offset from PCI_IOBASE and add parentheses around \u0060addr\u0027 needed for predictable evaluation in macro expansion.  No need to make said adjustments in separate changes given that current code is gravely broken and does not ever work.",
  "published": "2025-12-09T01:16:47Z",
  "severity": "",
  "epss": 0.00205,
  "epssPercentile": 0.10545,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50647",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50647",
      "released": "2025-12-09T01:16:47Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50647",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50647",
      "released": "2025-12-09T01:16:47Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50647",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50647",
      "released": "2025-12-09T01:16:47Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}