CVE-2026-31464CWE-125

CVE-2026-31464

High · published April 22, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
35.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

scsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()

A malicious or compromised VIO server can return a num_written value in the

discover targets MAD response that exceeds max_targets. This value is

stored directly in vhost->num_targets without validation, and is then used

as the loop bound in ibmvfc_alloc_targets() to index into disc_buf[], which

is only allocated for max_targets entries. Indices at or beyond max_targets

access kernel memory outside the DMA-coherent allocation. The

out-of-bounds data is subsequently embedded in Implicit Logout and PLOGI

MADs that are sent back to the VIO server, leaking kernel memory.

Fix by clamping num_written to max_targets before storing it.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00419 · 35.1th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-04-22T18:16Z
Affected products (12)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.27, < 5.10.2535.10.253
linux/linux_kernel≥ 5.11, < 5.15.2035.15.203
linux/linux_kernel≥ 5.16, < 6.1.1686.1.168
linux/linux_kernel≥ 6.2, < 6.6.1316.6.131
linux/linux_kernel≥ 6.7, < 6.12.806.12.80
linux/linux_kernel≥ 6.13, < 6.18.216.18.21
linux/linux_kernel≥ 6.19, < 6.19.116.19.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 22 APR 13:53Z
    scsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()
    cvelistv5