Skip to content
Threat Brief

← All advisories

CVE-2026-97529

High 7.1No known exploitationFix available

scsi: qla2xxx: Validate BSG request_len before reading vendor_cmd[]

Record last updated

CVSS score

7.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 12% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

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

Patching and mitigation

Patch status
Fix available (source: Microsoft MSRC)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
msrc.microsoft.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before 740f3458a4798af54aaf8cf63e797d407e8b6d3b740f3458a4798af54aaf8cf63e797d407e8b6d3bCVE Program
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before f75bff451a2fac5aed82f9641df1e9a42c5a899df75bff451a2fac5aed82f9641df1e9a42c5a899dCVE Program
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before 4cf38dd9465736141263ebb63375868311a0ec814cf38dd9465736141263ebb63375868311a0ec81CVE Program
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before a0c6842ec825a91693626dbd9a4c54f2b9dc15eaa0c6842ec825a91693626dbd9a4c54f2b9dc15eaCVE Program
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before 0540676f5fefdff748b8d57a927b143e31dc21fd0540676f5fefdff748b8d57a927b143e31dc21fdCVE Program
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before d3762cc777544a4cbc4635a787e1cfc021e1a615d3762cc777544a4cbc4635a787e1cfc021e1a615CVE Program
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before 5f33efe04658968b6b3f432f904d5f1f74c122865f33efe04658968b6b3f432f904d5f1f74c12286CVE Program
LinuxLinuxfrom 01e0e15c8b3b32e006e5cccac10c8b377ac3d803 before ef63922d8bdea03de1804af39a6b12212acb1be2ef63922d8bdea03de1804af39a6b12212acb1be2CVE Program
LinuxLinux4.10Not documentedCVE Program
Microsoftazl3 kernel 6.6.157.1-1 on Azure Linux 3.0Not documentedNot documentedMicrosoft MSRC
Microsoftazl3 kernel 6.6.159.1-1 on Azure Linux 3.0Not documented6.6.161.1-1Microsoft MSRC
Microsoftazl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0Not documented0:6.18.57-1.1.azl4Microsoft MSRC
LinuxLinux (unaffected)from 5.10.273 up to and including 5.10.*Not documentedCVE Program
LinuxLinux (unaffected)from 5.15.224 up to and including 5.15.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.1.191 up to and including 6.1.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.12.112 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.53 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.6.160 up to and including 6.6.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.2.7 up to and including 7.2.*Not documentedCVE Program
LinuxLinux (unaffected)7.3Not documentedCVE Program
LinuxLinux (unaffected)all versions before 4.10Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Advisory change

    Microsoft advisory revised (4.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  6. Advisory change

    Microsoft advisory revised (5.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  7. Advisory change

    Microsoft advisory revised (6.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  8. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references