LiveActive security incident?Get immediate response
CVE Record

CVE-2024-42287: scsi: qla2xxx: Complete command early within lock

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Complete command early within lock A crash was observed while performing NPIV and FW reset, BUG: kernel NULL pointer dereference, address: 000000000000001c #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 1 PREEMPT_RT SMP NOPTI RIP: 0010:dma_direct_unmap_sg+0x51/0x1e0 RSP: 0018:ffffc90026f47b88 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000021 RCX: 0000000000000002 RDX: 0000000000000021 RSI: 0000000000000000 RDI: ffff8881041130d0 RBP: ffff8881041130d0 R08: 0000000000000000 R09: 0000000000000034 R10: ffffc90026f47c48 R11: 0000000000000031 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8881565e4a20 R15: 0000000000000000 FS: 00007f4c69ed3d00(0000) GS:ffff889faac80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000000001c CR3: 0000000288a50002 CR4: 00000000007706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: <TASK> ? __die_body+0x1a/0x60 ? page_fault_oops+0x16f/0x4a0 ? do_user_addr_fault+0x174/0x7f0 ? exc_page_fault+0x69/0x1a0 ? asm_exc_page_fault+0x22/0x30 ? dma_direct_unmap_sg+0x51/0x1e0 ? preempt_count_sub+0x96/0xe0 qla2xxx_qpair_sp_free_dma+0x29f/0x3b0 [qla2xxx] qla2xxx_qpair_sp_compl+0x60/0x80 [qla2xxx] __qla2x00_abort_all_cmds+0xa2/0x450 [qla2xxx] The command completion was done early while aborting the commands in driver unload path but outside lock to avoid the WARN_ON condition of performing dma_free_attr within the lock. However this caused race condition while command completion via multiple paths causing system crash. Hence complete the command early in unload path but within the lock to avoid race condition.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2024-42287 is a Linux kernel flaw in the qla2xxx storage driver. Under specific Fibre Channel conditions involving NPIV and firmware reset or unload handling, a race can crash the system. This is mainly an availability risk for Linux servers using affected QLogic/Marvell Fibre Channel driver paths.

Executive priority

Schedule remediation through normal infrastructure patching, with higher priority for production storage servers using qla2xxx. There is no cited active exploitation, but a kernel crash on storage infrastructure can cause business disruption.

Technical view

The qla2xxx SCSI driver completed commands outside a lock while aborting commands during unload, creating a race when completion occurred through multiple paths. The observed failure is a NULL pointer dereference in DMA unmap handling, followed by a kernel oops. Stable kernel commits change command completion timing to occur within the lock.

Likely exposure

Exposure appears limited to Linux systems using the qla2xxx driver, especially environments with Fibre Channel, NPIV, firmware reset, or driver unload activity. General Linux hosts without this driver or hardware path are less likely to be exposed based on the provided evidence.

Exploitation context

The source bundle does not show CISA KEV listing, public exploitation, exploit code, or remote attack evidence. The documented trigger is an observed crash during NPIV and firmware reset handling, so treat this as a reliability and denial-of-service concern until vendor guidance says otherwise.

Researcher notes

Evidence supports a concurrency bug in the Linux qla2xxx command abort/unload path. The provided record lacks CVSS, CWE, attack prerequisites, and exploitability detail. Do not broaden exposure beyond Linux qla2xxx/Fibre Channel scenarios without additional vendor data.

Mitigation direction

  • Update affected Linux kernels using vendor or distribution security packages.
  • Confirm the qla2xxx stable fix is included in deployed kernels.
  • Prioritize storage hosts using Fibre Channel, NPIV, or qla2xxx adapters.
  • Review Debian LTS advisories if running Debian-based systems.
  • Follow vendor kernel guidance where distro backports obscure upstream versions.

Validation and detection

  • Inventory servers with the qla2xxx module loaded or installed.
  • Identify kernel versions against vendor advisories and fixed stable commits.
  • Check logs for NULL pointer crashes involving qla2xxx or dma_direct_unmap_sg.
  • Verify patched kernels after maintenance windows and reboot completion.
  • Confirm storage failover plans before updating critical Fibre Channel hosts.
Prepared
Confidence
medium
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-42287 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
2ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux9189f20b4c5307c0998682bb522e481b4567a8b8, 231cfa78ec5badd84a1a2b09465bfad1a926aba1, d6f7377528d2abf338e504126e44439541be8f7d, cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, 0367076b0817d5c75dfb83001ce7ce5c64d803a9, 0367076b0817d5c75dfb83001ce7ce5c64d803a9, 0367076b0817d5c75dfb83001ce7ce5c64d803a9, 415d614344a4f1bbddf55d724fc7eb9ef4b39aad, 5.4.240, 5.10.177, 5.15.105, 6.1.22, 6.2.9unaffected
LinuxLinux6.3, 0, 5.4.282, 5.10.224, 5.15.165, 6.1.103, 6.6.44, 6.10.3, 6.11affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.