CVE-2026-97531
scsi: qla2xxx: Skip vport under deletion in report ID acquisition
Mitigation
- Upgrade Linux to 23582731afa35031c94fadb71a4f3b4afd094649 or later.
Who should check
- Anyone running Linux >= 41dc529a4602ac737020f423f84686a81de38e6d, < d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 40dcd4a71a52414b47fbba2f956387f1077c6c15; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 20bb54601d2655e83795b73499c89f6b1cb31016; >= 41dc529a4602ac737020f423f84686a81de38e6d, < d61e8de98c5a52978fb1edd95fe4dde3131b280e; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 7a83979d92782f83c90888ebe19bdc9420521940; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 23582731afa35031c94fadb71a4f3b4afd094649
- Anyone running Linux 4.11
Vulnerability facts
- Affected
- Linux >= 41dc529a4602ac737020f423f84686a81de38e6d, < d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 40dcd4a71a52414b47fbba2f956387f1077c6c15; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 20bb54601d2655e83795b73499c89f6b1cb31016; >= 41dc529a4602ac737020f423f84686a81de38e6d, < d61e8de98c5a52978fb1edd95fe4dde3131b280e; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 7a83979d92782f83c90888ebe19bdc9420521940; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 23582731afa35031c94fadb71a4f3b4afd094649; Linux 4.11
- Fixed in
- Linux 40dcd4a71a52414b47fbba2f956387f1077c6c15, Linux 20bb54601d2655e83795b73499c89f6b1cb31016, Linux 7a83979d92782f83c90888ebe19bdc9420521940, Linux 23582731afa35031c94fadb71a4f3b4afd094649
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 41dc529a4602ac737020f423f84686a81de38e6d, < d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 40dcd4a71a52414b47fbba2f956387f1077c6c15; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 20bb54601d2655e83795b73499c89f6b1cb31016; >= 41dc529a4602ac737020f423f84686a81de38e6d, < d61e8de98c5a52978fb1edd95fe4dde3131b280e; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 7a83979d92782f83c90888ebe19bdc9420521940; >= 41dc529a4602ac737020f423f84686a81de38e6d, < 23582731afa35031c94fadb71a4f3b4afd094649 | — | cvelist |
| Linux | 4.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Other
- https://git.kernel.org/stable/c/d3ac7e0f454c7d52c0c2e5ecaf5a3d938f1b166d
- https://git.kernel.org/stable/c/40dcd4a71a52414b47fbba2f956387f1077c6c15
- https://git.kernel.org/stable/c/20bb54601d2655e83795b73499c89f6b1cb31016
- https://git.kernel.org/stable/c/d61e8de98c5a52978fb1edd95fe4dde3131b280e
- https://git.kernel.org/stable/c/7a83979d92782f83c90888ebe19bdc9420521940
- https://git.kernel.org/stable/c/23582731afa35031c94fadb71a4f3b4afd094649
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.