CVE-2026-97529

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
25/09/2026
Last modified:
30/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: qla2xxx: Validate BSG request_len before reading vendor_cmd[]<br /> <br /> The FC BSG transport allocates job-&gt;request via memdup_user() using the<br /> exact user-supplied request_len. For FC_BSG_HST_VENDOR,<br /> fc_bsg_host_dispatch() only guarantees request_len covers msgcode and<br /> vendor_id; it does not account for the vendor_cmd[] flexible array.<br /> <br /> qla2xxx then reads the command selector vendor_cmd[0] and, in several<br /> sub-handlers, vendor_cmd[1]/[2] or structures overlaid on the vendor<br /> command area without verifying request_len. A caller holding<br /> CAP_SYS_RAWIO can submit a short request whose vendor_id matches the<br /> host, triggering out-of-bounds heap reads (KASAN-detectable, and able to<br /> mis-select a command or panic).<br /> <br /> Add a central guard in qla2x00_process_vendor_specific() so the selector<br /> is always in bounds, restrict the early vendor_cmd[0] read in<br /> qla24xx_bsg_request() to sufficiently long vendor messages, and add<br /> request_len checks to the sub-handlers that read further:<br /> qla24xx_proc_fcp_prio_cfg_cmd(), qla2x00_process_loopback(),<br /> qla84xx_reset(), qla84xx_updatefw(), qla2x00_read_optrom(),<br /> qla2x00_update_optrom(), qlafx00_mgmt_cmd() and<br /> qla28xx_validate_flash_image().

Impact