# CVE-2026-97529: scsi: qla2xxx: Validate BSG request\_len before reading vendor\_cmd\[\]

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:21:30.733Z
- **Modified:** 2026-10-30T13:21:06.280Z

## Who should check

- Anyone running Linux \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< a0c6842ec825a91693626dbd9a4c54f2b9dc15ea; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 0540676f5fefdff748b8d57a927b143e31dc21fd; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< d3762cc777544a4cbc4635a787e1cfc021e1a615; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 5f33efe04658968b6b3f432f904d5f1f74c12286; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< ef63922d8bdea03de1804af39a6b12212acb1be2; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 740f3458a4798af54aaf8cf63e797d407e8b6d3b; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< f75bff451a2fac5aed82f9641df1e9a42c5a899d; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 4cf38dd9465736141263ebb63375868311a0ec81
- Anyone running Linux 4.10

## 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().

## Affected and fixed versions

- Linux: \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< a0c6842ec825a91693626dbd9a4c54f2b9dc15ea; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 0540676f5fefdff748b8d57a927b143e31dc21fd; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< d3762cc777544a4cbc4635a787e1cfc021e1a615; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 5f33efe04658968b6b3f432f904d5f1f74c12286; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< ef63922d8bdea03de1804af39a6b12212acb1be2; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 740f3458a4798af54aaf8cf63e797d407e8b6d3b; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< f75bff451a2fac5aed82f9641df1e9a42c5a899d; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 4cf38dd9465736141263ebb63375868311a0ec81 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 4cf38dd9465736141263ebb63375868311a0ec81 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97529. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97529.md
Affected: Linux >= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, < a0c6842ec825a91693626dbd9a4c54f2b9dc15ea; >= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, < 0540676f5fefdff748b8d57a927b143e31dc21fd; >= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, < d3762cc777544a4cbc4635a787e1cfc021e1a615; >= 01e0e15c8b3b32e006e5ccc…
Fixed in: Linux 0540676f5fefdff748b8d57a927b143e31dc21fd, Linux 5f33efe04658968b6b3f432f904d5f1f74c12286, Linux 740f3458a4798af54aaf8cf63e797d407e8b6d3b, Linux 4cf38dd9465736141263ebb63375868311a0ec81

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97529 being exploited?

There is no confirmed exploitation: CVE-2026-97529 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97529?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97529?

Linux \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< a0c6842ec825a91693626dbd9a4c54f2b9dc15ea; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 0540676f5fefdff748b8d57a927b143e31dc21fd; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< d3762cc777544a4cbc4635a787e1cfc021e1a615; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 5f33efe04658968b6b3f432f904d5f1f74c12286; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< ef63922d8bdea03de1804af39a6b12212acb1be2; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 740f3458a4798af54aaf8cf63e797d407e8b6d3b; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< f75bff451a2fac5aed82f9641df1e9a42c5a899d; \>= 01e0e15c8b3b32e006e5cccac10c8b377ac3d803, \< 4cf38dd9465736141263ebb63375868311a0ec81; Linux 4.10.

### Is there a fix for CVE-2026-97529?

Yes. Fixed in Linux 0540676f5fefdff748b8d57a927b143e31dc21fd, Linux 5f33efe04658968b6b3f432f904d5f1f74c12286, Linux 740f3458a4798af54aaf8cf63e797d407e8b6d3b, Linux 4cf38dd9465736141263ebb63375868311a0ec81. Upgrade Linux to 4cf38dd9465736141263ebb63375868311a0ec81 or later.

### How do I check if I'm affected by CVE-2026-97529?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a0c6842ec825a91693626dbd9a4c54f2b9dc15ea>
- other: <https://git.kernel.org/stable/c/0540676f5fefdff748b8d57a927b143e31dc21fd>
- other: <https://git.kernel.org/stable/c/d3762cc777544a4cbc4635a787e1cfc021e1a615>
- other: <https://git.kernel.org/stable/c/5f33efe04658968b6b3f432f904d5f1f74c12286>
- other: <https://git.kernel.org/stable/c/ef63922d8bdea03de1804af39a6b12212acb1be2>
- other: <https://git.kernel.org/stable/c/740f3458a4798af54aaf8cf63e797d407e8b6d3b>
- other: <https://git.kernel.org/stable/c/f75bff451a2fac5aed82f9641df1e9a42c5a899d>
- other: <https://git.kernel.org/stable/c/4cf38dd9465736141263ebb63375868311a0ec81>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97529>

HTML: <https://flawdb.com/CVE-2026-97529> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97529>
