CVE-2026-97535
Received Received - Intake

Buffer Overflow in Linux Kernel QLA2xxx Driver

Vulnerability report for CVE-2026-97535, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Bound VP index against VP_CTRL IOCB bitmap size The VP control IOCB selects its target virtual port by setting one bit in vp_idx_map, a fixed 16-byte (128-bit) array in both vp_ctrl_entry_24xx and vp_ctrl_entry_24xx_ext. qla25xx_ctrlvp_iocb() computes map = (vp_index - 1) / 8 and writes vce->vp_idx_map[map] without checking that map stays within the array. max_npiv_vports is taken from firmware and only sanitized to a MIN_MULTI_ID_FABRIC-aligned boundary, so it can legitimately be 191 or 255, and qla24xx_control_vp() only rejects vp_index >= max_npiv_vports. A vp_index above 128 therefore yields map >= 16 and an out-of-bounds write of up to 16 bytes past vp_idx_map, corrupting the trailing IOCB fields (or the adjacent request-ring slot on the 64-byte layout). Reject a vp_index that cannot be represented in the IOCB bitmap in qla24xx_control_vp(), and add a defensive ARRAY_SIZE() guard in qla25xx_ctrlvp_iocb() before the write. Adapters that report the usual 63 or 127 NPIV vports are unaffected.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the Linux kernel's qla2xxx SCSI driver. It involves an out-of-bounds write in the VP control IOCB when handling virtual port indices. The issue occurs because the code does not properly validate the vp_index value before using it to compute an array index, leading to potential memory corruption.

Detection Guidance

This vulnerability affects the Linux kernel's qla2xxx SCSI driver, specifically the handling of virtual port (VP) indices. Detection requires checking the kernel version and qla2xxx driver for affected configurations. Inspect the driver logs for errors related to vp_index or out-of-bounds writes. No specific commands are provided in the context.

Impact Analysis

This vulnerability could allow an attacker with local access to cause memory corruption, potentially leading to system crashes, privilege escalation, or arbitrary code execution. Systems using affected qla2xxx adapters with NPIV configurations may be vulnerable.

Mitigation Strategies

Update the Linux kernel to a patched version that includes the fix for this vulnerability. The patch adds bounds checking for vp_index and an ARRAY_SIZE guard in qla25xx_ctrlvp_iocb(). If updating is not immediately possible, disable NPIV (Virtual Port) functionality on affected adapters as a temporary workaround.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97535. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart