CVE-2024-26931: scsi: qla2xxx: Fix command flush on cable pull
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.37% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 09c0ac18cac206ed1218b1fe6c1a0918e5ea9211, 67b2d35853c2da25a8ca1c4190a5e96d3083c2ac, 8de1584ec4fe0ebea33c273036e7e0a05e65c81d.
- Severity is disputed: the assigning authority (CNA) scores it 8.8, NVD 5.5.
Low priority for now. Upgrade to Linux Linux 09c0ac18cac206ed1218b1fe6c1a0918e5ea9211, 67b2d35853c2da25a8ca1c4190a5e96d3083c2ac, 8de1584ec4fe0ebea33c273036e7e0a05e65c81d or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix command flush on cable pull System crash due to command failed to flush back to SCSI layer. BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 PGD 0 P4D 0 Oops: 0000 [#1] SMP NOPTI CPU: 27 PID: 793455 Comm: kworker/u130:6 Kdump: loaded Tainted: G OE --------- - - 4.18.0-372.9.1.el8.x86_64 #1 Hardware name: HPE ProLiant DL360 Gen10/ProLiant DL360 Gen10, BIOS U32 09/03/2021 Workqueue: nvme-wq nvme_fc_connect_ctrl_work [nvme_fc] RIP: 0010:__wake_up_common+0x4c/0x190 Code: 24 10 4d 85 c9 74 0a 41 f6 01 04 0f 85 9d 00 00 00 48 8b 43 08 48 83 c3 08 4c 8d 48 e8 49 8d 41 18 48 39 c3 0f 84 f0 00 00 00 <49> 8b 41 18 89 54 24 08 31 ed 4c 8d 70 e8 45 8b 29 41 f6 c5 04 75 RSP: 0018:ffff95f3e0cb7cd0 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff8b08d3b26328 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8b08d3b26320 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffffffffffe8 R10: 0000000000000000 R11: ffff95f3e0cb7a60 R12: ffff95f3e0cb7d20 R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8b2fdf6c0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000002f1e410002 CR4: 00000000007706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: __wake_up_common_lock+0x7c/0xc0 qla_nvme_ls_req+0x355/0x4c0 [qla2xxx] qla2xxx [0000:12:00.1]-f084:3: qlt_free_session_done: se_sess 0000000000000000 / sess ffff8ae1407ca000 from port 21:32:00:02:ac:07:ee:b8 loop_id 0x02 s_id 01:02:00 logout 1 keep 0 els_logo 0 ? __nvme_fc_send_ls_req+0x260/0x380 [nvme_fc] qla2xxx [0000:12:00.1]-207d:3: FCPort 21:32:00:02:ac:07:ee:b8 state transitioned from ONLINE to LOST - portid=010200. ? nvme_fc_send_ls_req.constprop.42+0x1a/0x45 [nvme_fc] qla2xxx [0000:12:00.1]-2109:3: qla2x00_schedule_rport_del 21320002ac07eeb8. rport ffff8ae598122000 roles 1 ? nvme_fc_connect_ctrl_work.cold.63+0x1e3/0xa7d [nvme_fc] qla2xxx [0000:12:00.1]-f084:3: qlt_free_session_done: se_sess 0000000000000000 / sess ffff8ae14801e000 from port 21:32:01:02:ad:f7:ee:b8 loop_id 0x04 s_id 01:02:01 logout 1 keep 0 els_logo 0 ? __switch_to+0x10c/0x450 ? process_one_work+0x1a7/0x360 qla2xxx [0000:12:00.1]-207d:3: FCPort 21:32:01:02:ad:f7:ee:b8 state transitioned from ONLINE to LOST - portid=010201. ? worker_thread+0x1ce/0x390 ? create_worker+0x1a0/0x1a0 qla2xxx [0000:12:00.1]-2109:3: qla2x00_schedule_rport_del 21320102adf7eeb8. rport ffff8ae3b2312800 roles 70 ? kthread+0x10a/0x120 qla2xxx [0000:12:00.1]-2112:3: qla_nvme_unregister_remote_port: unregister remoteport on ffff8ae14801e000 21320102adf7eeb8 ? set_kthread_struct+0x40/0x40 qla2xxx [0000:12:00.1]-2110:3: remoteport_delete of ffff8ae14801e000 21320102adf7eeb8 completed. ? ret_from_fork+0x1f/0x40 qla2xxx [0000:12:00.1]-f086:3: qlt_free_session_done: waiting for sess ffff8ae14801e000 logout The system was under memory stress where driver was not able to allocate an SRB to carry out error recovery of cable pull. The failure to flush causes upper layer to start modifying scsi_cmnd. When the system frees up some memory, the subsequent cable pull trigger another command flush. At this point the driver access a null pointer when attempting to DMA unmap the SGL. Add a check to make sure commands are flush back on session tear down to prevent the null pointer access.
- Published
- May 1, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.3% · 31th percentile
- CWE
- CWE-476
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · Linux
- 8.8
- 3.3 point gap
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.11affected
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before b73377124f56d2fec154737c2f8d2e839c237d5aaffected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before d7a68eee87b05d4e29419e6f151aef99314970a9affected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before 67b2d35853c2da25a8ca1c4190a5e96d3083c2acaffected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before a859f6a8f4234b8ef62862bf7a92f1af5f8cd47aaffected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before 09c0ac18cac206ed1218b1fe6c1a0918e5ea9211affected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before 8de1584ec4fe0ebea33c273036e7e0a05e65c81daffected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before 8f0d32004e3a572bb77e6c11c2797c87f8c9703daffected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before ec7587eef003cab15a13446d67c3adb88146a150affected · git
- 726b85487067d7f5b23495bc33c484b8517c4074 and later · before a27d4d0e7de305def8a5098a614053be208d1aa1affected · git
Affected versions · NVD (10)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- linux linux kernel4.20 and later · before 5.4.274
- linux linux kernel5.5 and later · before 5.10.215
- linux linux kernel5.11 and later · before 5.15.154
- linux linux kernel5.16 and later · before 6.1.84
- linux linux kernelbefore 4.19.312
- linux linux kernel6.7 and later · before 6.7.12
- linux linux kernel6.8 and later · before 6.8.3
- linux linux kernel6.2 and later · before 6.6.24
- linux linux kernel6.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | bpftool | before 7.3.0-427.37.1.el9_4 | 7.3.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-core | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-core | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-devel | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-devel | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-devel-matched | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules-core | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules-extra | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-abi-stablelists | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-core | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-cross-headers | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-debug | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-debug-core | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-debug-devel | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-debug-devel-matched | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
| AlmaLinux:9 | kernel-debug-modules | before 5.14.0-427.37.1.el9_4 | 5.14.0-427.37.1.el9_4 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2023-52648May 1, 2024 · drm/vmwgfx: Unmap the surface before resetting it on a plane state22Monitor
- ← EarlierCVE-2024-26930May 1, 2024 · scsi: qla2xxx: Fix double free of the ha->vp_map pointer31Monitor
- Later →CVE-2024-26932May 1, 2024 · usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd()31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 09c0ac18cac206ed1218b1fe6c1a0918e5ea9211 | Vendor (CNA) |
| Linux Linux | 67b2d35853c2da25a8ca1c4190a5e96d3083c2ac | Vendor (CNA) |
| Linux Linux | 8de1584ec4fe0ebea33c273036e7e0a05e65c81d | Vendor (CNA) |
| Linux Linux | 8f0d32004e3a572bb77e6c11c2797c87f8c9703d | Vendor (CNA) |
| Linux Linux | a27d4d0e7de305def8a5098a614053be208d1aa1 | Vendor (CNA) |
| Linux Linux | a859f6a8f4234b8ef62862bf7a92f1af5f8cd47a | Vendor (CNA) |
| Linux Linux | b73377124f56d2fec154737c2f8d2e839c237d5a | Vendor (CNA) |
| Linux Linux | d7a68eee87b05d4e29419e6f151aef99314970a9 | Vendor (CNA) |
| Linux Linux | ec7587eef003cab15a13446d67c3adb88146a150 | Vendor (CNA) |
| almalinux:bpftool | 7.3.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-core | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 5.14.0-427.37.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| debian:linux | 6.1.85-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.37.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
+4
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/67b2d35853c2da25a8ca1c4190a5e96d3083c2ac
- git.kernel.org/stable/c/8de1584ec4fe0ebea33c273036e7e0a05e65c81d
- git.kernel.org/stable/c/8f0d32004e3a572bb77e6c11c2797c87f8c9703d
- git.kernel.org/stable/c/a27d4d0e7de305def8a5098a614053be208d1aa1
- git.kernel.org/stable/c/a859f6a8f4234b8ef62862bf7a92f1af5f8cd47a
- git.kernel.org/stable/c/b73377124f56d2fec154737c2f8d2e839c237d5a
- git.kernel.org/stable/c/d7a68eee87b05d4e29419e6f151aef99314970a9
- git.kernel.org/stable/c/ec7587eef003cab15a13446d67c3adb88146a150
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.