# CVE-2026-31464: scsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()

CVE-2026-31464 is fixed in 14 products on 1 platform, first by DEBIAN-CVE-2026-31464, released May 15, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-31464
- Priority: High
- CVSS: 8.1 (Important)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 22, 2026
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-31464

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | kernel-64kb sles 15.7 | 6.4.0-150700.53.60.1 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-64kb sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-azure sles 15.7 | 6.4.0-150700.53.60.1 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-azure sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-default sles 15.7 | 6.4.0-150700.53.60.1 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-default sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-default-base sles 15.7 | 6.4.0-150700.53.60.1.150700.17.35.4 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-default-base sles 16.0 | 6.12.0-160000.34.1.160000.2.15 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-docs sles 15.7 | 6.4.0-150700.53.60.1 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-docs sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-kvmsmall sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-livepatch-SLE15-SP7-RT_Update_16 sles 15.7 | 1-150700.1.5.2 | [SUSE-SU-2026:2591-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2591-1.md) | Jun 23, 2026 |
| Linux | kernel-livepatch-SLE15-SP7_Update_16 sles 15.7 | 1-150700.15.3.2 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-obs-build sles 15.7 | 6.4.0-150700.53.60.2 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-obs-qa sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-source sles 15.7 | 6.4.0-150700.53.60.1 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-source sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-syms sles 15.7 | 6.4.0-150700.53.60.1 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-syms sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | kernel-zfcpdump sles 15.7 | 6.4.0-150700.53.60.1 | [SUSE-SU-2026:2482-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2482-1.md) | Jun 22, 2026 |
| Linux | kernel-zfcpdump sles 16.0 | 6.12.0-160000.34.1 | [SUSE-SU-2026:22087-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22087-1.md) | Jun 5, 2026 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.170-1 | [DEBIAN-CVE-2026-31464](https://patchblox.com/security/data/fix/linux/debian-cve-2026-31464.md) | May 15, 2026 |
| Linux | linux Debian 13.5 (trixie) | 6.12.85-1 | [DEBIAN-CVE-2026-31464](https://patchblox.com/security/data/fix/linux/debian-cve-2026-31464.md) | May 15, 2026 |
| Linux | linux Debian 14 | 6.19.11-1 | [DEBIAN-CVE-2026-31464](https://patchblox.com/security/data/fix/linux/debian-cve-2026-31464.md) | May 15, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
