{
  "id": "CVE-2026-31464",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31464",
  "published_at": "2026-04-22T13:53:54.97Z",
  "title": "scsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/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\nscsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()\n\nA malicious or compromised VIO server can return a num_written value in the\ndiscover targets MAD response that exceeds max_targets. This value is\nstored directly in vhost-\u003enum_targets without validation, and is then used\nas the loop bound in ibmvfc_alloc_targets() to index into disc_buf[], which\nis only allocated for max_targets entries. Indices at or beyond max_targets\naccess kernel memory outside the DMA-coherent allocation.  The\nout-of-bounds data is subsequently embedded in Implicit Logout and PLOGI\nMADs that are sent back to the VIO server, leaking kernel memory.\n\nFix by clamping num_written to max_targets before storing it.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c d842348f8a00d5b1d7358f207eb34ffcf5b16df3",
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c a007246cb6c9ebdc93dafbf63cc2d43d98f402cc",
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c 394a1cac3c12fdd7d77f19ccfd222ab5ff87ef89",
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c 4ed727e35b0ab17d3eeeb1e8023768396e2be161",
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c d1466bf991b2343cf2ba8336e440c8faf3cbb780",
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c 786f10b1966e485046839f992e89f2c18cbd1983",
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c bae4df0a643fa7f84663473aa3082a9c2ed139db",
          "\u003e= 072b91f9c6510d0ec4a49d07dbc318760c7da7b3, \u003c 61d099ac4a7a8fb11ebdb6e2ec8d77f38e77362f"
        ],
        "fixed_in": [
          "d842348f8a00d5b1d7358f207eb34ffcf5b16df3",
          "a007246cb6c9ebdc93dafbf63cc2d43d98f402cc",
          "394a1cac3c12fdd7d77f19ccfd222ab5ff87ef89",
          "4ed727e35b0ab17d3eeeb1e8023768396e2be161",
          "d1466bf991b2343cf2ba8336e440c8faf3cbb780",
          "786f10b1966e485046839f992e89f2c18cbd1983",
          "bae4df0a643fa7f84663473aa3082a9c2ed139db",
          "61d099ac4a7a8fb11ebdb6e2ec8d77f38e77362f"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.27"
        ],
        "fixed_in": [
          "0",
          "5.10.253",
          "5.15.203",
          "6.1.168",
          "6.6.131",
          "6.12.80",
          "6.18.21",
          "6.19.11",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d842348f8a00d5b1d7358f207eb34ffcf5b16df3 or a007246cb6c9ebdc93dafbf63cc2d43d98f402cc or 394a1cac3c12fdd7d77f19ccfd222ab5ff87ef89 or 4ed727e35b0ab17d3eeeb1e8023768396e2be161 or d1466bf991b2343cf2ba8336e440c8faf3cbb780 or 786f10b1966e485046839f992e89f2c18cbd1983 or bae4df0a643fa7f84663473aa3082a9c2ed139db or 61d099ac4a7a8fb11ebdb6e2ec8d77f38e77362f or later.",
      "Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.168 or 6.6.131 or 6.12.80 or 6.18.21 or 6.19.11 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
