CVE-2026-31464 json
scsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()
published 2026-04-22 6 mo ago modified 2026-10-19 20 d ago also EUVD-2026-24807
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0
- linux Debian 12 6.1.170-1
- linux Debian 13 6.12.85-1
- linux Debian 14 6.19.11-1
debian advisories DEBIAN-CVE-2026-31464
- linux Ubuntu 22.04 LTS 5.15.0-186.196
- linux Ubuntu 24.04 LTS 6.8.0-136.136
- linux-aws Ubuntu 22.04 LTS 5.15.0-1112.119
- linux-aws Ubuntu 24.04 LTS 6.8.0-1061.64
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1112.122
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1064.72
- linux-gke Ubuntu 22.04 LTS 5.15.0-1108.114
- linux-gke Ubuntu 24.04 LTS 6.8.0-1059.67
ubuntu advisories UBUNTU-CVE-2026-31464
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-48.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-48.1
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.59.2
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.59.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.59.2
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.60.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.60.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.60.1
suse advisories SUSE-SU-2026:22433-1SUSE-SU-2026:22458-1SUSE-SU-2026:2591-1SUSE-SU-2026:2482-1SUSE-SU-2026:2450-1SUSE-SU-2026:22108-1
- git.kernel.org/stable/c/d842348f8a00d5b1d7358f207eb34ffcf5b16df3 commit
- git.kernel.org/stable/c/a007246cb6c9ebdc93dafbf63cc2d43d98f402cc commit
- git.kernel.org/stable/c/394a1cac3c12fdd7d77f19ccfd222ab5ff87ef89 commit
- git.kernel.org/stable/c/4ed727e35b0ab17d3eeeb1e8023768396e2be161 commit
- git.kernel.org/stable/c/d1466bf991b2343cf2ba8336e440c8faf3cbb780 commit
- git.kernel.org/stable/c/786f10b1966e485046839f992e89f2c18cbd1983 commit
- git.kernel.org/stable/c/bae4df0a643fa7f84663473aa3082a9c2ed139db commit
- git.kernel.org/stable/c/61d099ac4a7a8fb11ebdb6e2ec8d77f38e77362f commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-31464 updated cvss 6.1
kernel: scsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: workaround, no fix available “To mitigate this issue, prevent the ibmvfc module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 d ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
git.kernel.org
/stable/c/d842348f8a00d5b1d7358f207eb34ffcf5b16df3
patch
-
git.kernel.org
/stable/c/a007246cb6c9ebdc93dafbf63cc2d43d98f402cc
patch
-
git.kernel.org
/stable/c/394a1cac3c12fdd7d77f19ccfd222ab5ff87ef89
patch
-
git.kernel.org
/stable/c/4ed727e35b0ab17d3eeeb1e8023768396e2be161
patch
-
git.kernel.org
/stable/c/d1466bf991b2343cf2ba8336e440c8faf3cbb780
patch
-
git.kernel.org
/stable/c/786f10b1966e485046839f992e89f2c18cbd1983
patch
-
git.kernel.org
/stable/c/bae4df0a643fa7f84663473aa3082a9c2ed139db
patch
-
git.kernel.org
/stable/c/61d099ac4a7a8fb11ebdb6e2ec8d77f38e77362f
patch
Sources
- CVE List CVE-2026-31464
- NVD CVE-2026-31464
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.