{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31464","id":"CVE-2026-31464","title":"scsi: ibmvfc: Fix OOB access in ibmvfc_discover_targets_done()","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->num_targets without validation, and is then used\nas the loop bound in ibmvfc_alloc_targets() to","descriptionLong":"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->num_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.","published":"2026-04-22T13:53:54.970Z","updated":"2026-11-13T02:30:23.247265014Z","reserved":"2026-03-09T15:48:24.097Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"d842348f8a00d5b1d7358f207eb34ffcf5b16df3","status":"affected","versionType":"git"},{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"a007246cb6c9ebdc93dafbf63cc2d43d98f402cc","status":"affected","versionType":"git"},{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"394a1cac3c12fdd7d77f19ccfd222ab5ff87ef89","status":"affected","versionType":"git"},{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"4ed727e35b0ab17d3eeeb1e8023768396e2be161","status":"affected","versionType":"git"},{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"d1466bf991b2343cf2ba8336e440c8faf3cbb780","status":"affected","versionType":"git"},{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"786f10b1966e485046839f992e89f2c18cbd1983","status":"affected","versionType":"git"},{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"bae4df0a643fa7f84663473aa3082a9c2ed139db","status":"affected","versionType":"git"},{"version":"072b91f9c6510d0ec4a49d07dbc318760c7da7b3","lessThan":"61d099ac4a7a8fb11ebdb6e2ec8d77f38e77362f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.27","status":"affected"},{"version":"0","lessThan":"2.6.27","status":"unaffected","versionType":"semver"},{"version":"5.10.253","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.168","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.131","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.80","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.21","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.11","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d842348f8a00d5b1d7358f207eb34ffcf5b16df3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a007246cb6c9ebdc93dafbf63cc2d43d98f402cc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/394a1cac3c12fdd7d77f19ccfd222ab5ff87ef89","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4ed727e35b0ab17d3eeeb1e8023768396e2be161","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d1466bf991b2343cf2ba8336e440c8faf3cbb780","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/786f10b1966e485046839f992e89f2c18cbd1983","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bae4df0a643fa7f84663473aa3082a9c2ed139db","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/61d099ac4a7a8fb11ebdb6e2ec8d77f38e77362f","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31464.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31464","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00288,"epssPercentile":0.21758,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31464","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31464","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31464","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31464","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}