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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| kernel-64kb · sles 15.7 | 6.4.0-150700.53.60.1 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-64kb · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-azure · sles 15.7 | 6.4.0-150700.53.60.1 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-azure · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-default · sles 15.7 | 6.4.0-150700.53.60.1 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-default · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-default-base · sles 15.7 | 6.4.0-150700.53.60.1.150700.17.35.4 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-default-base · sles 16.0 | 6.12.0-160000.34.1.160000.2.15 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-docs · sles 15.7 | 6.4.0-150700.53.60.1 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-docs · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-kvmsmall · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-livepatch-SLE15-SP7-RT_Update_16 · sles 15.7 | 1-150700.1.5.2 | SUSE-SU-2026:2591-1 | Jun 23, 2026 |
| kernel-livepatch-SLE15-SP7_Update_16 · sles 15.7 | 1-150700.15.3.2 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-obs-build · sles 15.7 | 6.4.0-150700.53.60.2 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-obs-qa · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-source · sles 15.7 | 6.4.0-150700.53.60.1 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-source · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-syms · sles 15.7 | 6.4.0-150700.53.60.1 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-syms · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| kernel-zfcpdump · sles 15.7 | 6.4.0-150700.53.60.1 | SUSE-SU-2026:2482-1 | Jun 22, 2026 |
| kernel-zfcpdump · sles 16.0 | 6.12.0-160000.34.1 | SUSE-SU-2026:22087-1 | Jun 5, 2026 |
| linux · Debian 12.15 (bookworm) | 6.1.170-1 | DEBIAN-CVE-2026-31464 | May 15, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.85-1 | DEBIAN-CVE-2026-31464 | May 15, 2026 |
| linux · Debian 14 | 6.19.11-1 | DEBIAN-CVE-2026-31464 | May 15, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.