# CVE-2026-97531: scsi: qla2xxx: Skip vport under deletion in report ID acquisition

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **Published:** 2026-09-25T10:21:31.968Z
- **Modified:** 2026-10-30T13:21:06.557Z

## Who should check

- Anyone running Linux \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 40dcd4a71a52414b47fbba2f956387f1077c6c15; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 20bb54601d2655e83795b73499c89f6b1cb31016; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< d61e8de98c5a52978fb1edd95fe4dde3131b280e; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 7a83979d92782f83c90888ebe19bdc9420521940; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 23582731afa35031c94fadb71a4f3b4afd094649
- Anyone running Linux 4.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: Skip vport under deletion in report ID acquisition

qla24xx\_report\_id\_acquisition() format-1 handling walks ha-\>vp\_list under
vport\_slock, takes a vref\_count on the matching vport and calls
qla\_update\_host\_map() to register its port id.

A vport teardown via qla24xx\_vport\_delete() sets VPORT\_DELETE, then
qla24xx\_disable\_vp() removes the vport from the host\_map btree and zeroes
vha-\>d\_id (RESET\_AL\_PA). The vport is only unlinked from vp\_list later,
in qla24xx\_deallocate\_vp\_id(), which clears vp\_map\[idx\] (RESET\_VP\_IDX)
but does not touch host\_map. In the window in between, report ID
acquisition can still find the vport on vp\_list and call
qla\_update\_host\_map(); with d\_id already zeroed it takes the
btree\_insert32() path and re-inserts the dying vport into host\_map.
Nothing cleans that entry afterwards, so once scsi\_host\_put() frees the
vha a later host\_map lookup dereferences freed memory.

Skip a vport that has VPORT\_DELETE set before taking the reference, so it
is neither re-registered nor scheduled for DPC re-registration. This
mirrors the existing guard in qla2x00\_alert\_all\_vps().

## Affected and fixed versions

- Linux: \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 40dcd4a71a52414b47fbba2f956387f1077c6c15; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 20bb54601d2655e83795b73499c89f6b1cb31016; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< d61e8de98c5a52978fb1edd95fe4dde3131b280e; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 7a83979d92782f83c90888ebe19bdc9420521940; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 23582731afa35031c94fadb71a4f3b4afd094649 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 23582731afa35031c94fadb71a4f3b4afd094649 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-97531. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97531.md
Affected: Linux >= 41dc529a4602ac737020f423f84686a81de38e6d, < d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 40dcd4a71a52414b47fbba2f956387f1077c6c15; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 20bb54601d2655e83795b73499c89f6b1cb31016; >= 41dc529a4602ac737020f42…
Fixed in: Linux 40dcd4a71a52414b47fbba2f956387f1077c6c15, Linux 20bb54601d2655e83795b73499c89f6b1cb31016, Linux 7a83979d92782f83c90888ebe19bdc9420521940, Linux 23582731afa35031c94fadb71a4f3b4afd094649

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-97531 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 40dcd4a71a52414b47fbba2f956387f1077c6c15; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 20bb54601d2655e83795b73499c89f6b1cb31016; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< d61e8de98c5a52978fb1edd95fe4dde3131b280e; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 7a83979d92782f83c90888ebe19bdc9420521940; \>= 41dc529a4602ac737020f423f84686a81de38e6d, \< 23582731afa35031c94fadb71a4f3b4afd094649; Linux 4.11.

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

Yes. Fixed in Linux 40dcd4a71a52414b47fbba2f956387f1077c6c15, Linux 20bb54601d2655e83795b73499c89f6b1cb31016, Linux 7a83979d92782f83c90888ebe19bdc9420521940, Linux 23582731afa35031c94fadb71a4f3b4afd094649. Upgrade Linux to 23582731afa35031c94fadb71a4f3b4afd094649 or later.

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

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/d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d>
- other: <https://git.kernel.org/stable/c/40dcd4a71a52414b47fbba2f956387f1077c6c15>
- other: <https://git.kernel.org/stable/c/20bb54601d2655e83795b73499c89f6b1cb31016>
- other: <https://git.kernel.org/stable/c/d61e8de98c5a52978fb1edd95fe4dde3131b280e>
- other: <https://git.kernel.org/stable/c/7a83979d92782f83c90888ebe19bdc9420521940>
- other: <https://git.kernel.org/stable/c/23582731afa35031c94fadb71a4f3b4afd094649>

## 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-97531>

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