Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-42287

HIGH 8.8EPSS 34%

scsi: qla2xxx: Complete command early within lock

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 9189f20b4c5307c0998682bb522e481b4567a8b8, < af46649304b0c9cede4ccfc2be2561ce8ed6a2ea; >= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, < 57ba7563712227647f82a92547e82c96cd350553; >= d6f7377528d2abf338e504126e44439541be8f7d, < 9117337b04d789bd08fdd9854a40bec2815cd3f6; >= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, < 814f4a53cc86f7ea8b501bfb1723f24fd29ef5ee; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 314efe3f87949a568f512f05df20bf47b81cf232; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 36fdc5319c4d0ec8b8938ec4769764098a246bfb; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 4475afa2646d3fec176fc4d011d3879b26cb26e3; 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; >= 5.4.240, < 5.4.282; >= 5.10.177, < 5.10.224; …
  • Anyone running Linux 6.3

Vulnerability facts

Affected
Linux >= 9189f20b4c5307c0998682bb522e481b4567a8b8, < af46649304b0c9cede4ccfc2be2561ce8ed6a2ea; >= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, < 57ba7563712227647f82a92547e82c96cd350553; >= d6f7377528d2abf338e504126e44439541be8f7d, < 9117337b04d789bd08fdd9854a40bec2815cd3f6; >= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, < 814f4a53cc86f7ea8b501bfb1723f24fd29ef5ee; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 314efe3f87949a568f512f05df20bf47b81cf232; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 36fdc5319c4d0ec8b8938ec4769764098a246bfb; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 4475afa2646d3fec176fc4d011d3879b26cb26e3; 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; >= 5.4.240, < 5.4.282; >= 5.10.177, < 5.10.224; …; Linux 6.3
Fixed in
Linux 57ba7563712227647f82a92547e82c96cd350553, Linux 9117337b04d789bd08fdd9854a40bec2815cd3f6, Linux 814f4a53cc86f7ea8b501bfb1723f24fd29ef5ee, Linux 314efe3f87949a568f512f05df20bf47b81cf232, Linux 36fdc5319c4d0ec8b8938ec4769764098a246bfb, Linux 4475afa2646d3fec176fc4d011d3879b26cb26e3, Linux 5.4.282, Linux 5.10.224
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/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: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.48% chance of exploitation in 30 days (percentile 34, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 9189f20b4c5307c0998682bb522e481b4567a8b8, < af46649304b0c9cede4ccfc2be2561ce8ed6a2ea; >= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, < 57ba7563712227647f82a92547e82c96cd350553; >= d6f7377528d2abf338e504126e44439541be8f7d, < 9117337b04d789bd08fdd9854a40bec2815cd3f6; >= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, < 814f4a53cc86f7ea8b501bfb1723f24fd29ef5ee; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 314efe3f87949a568f512f05df20bf47b81cf232; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 36fdc5319c4d0ec8b8938ec4769764098a246bfb; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 4475afa2646d3fec176fc4d011d3879b26cb26e3; 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; >= 5.4.240, < 5.4.282; >= 5.10.177, < 5.10.224; …—cvelist
Linux6.3—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-2024-42287. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42287.md
Affected: Linux >= 9189f20b4c5307c0998682bb522e481b4567a8b8, < af46649304b0c9cede4ccfc2be2561ce8ed6a2ea; >= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, < 57ba7563712227647f82a92547e82c96cd350553; >= d6f7377528d2abf338e504126e44439541be8f7d, < 9117337b04d789bd08fdd9854a40bec2815cd3f6; >= cd0a1804ac5bab2545ac700…
Fixed in: Linux 57ba7563712227647f82a92547e82c96cd350553, Linux 9117337b04d789bd08fdd9854a40bec2815cd3f6, Linux 814f4a53cc86f7ea8b501bfb1723f24fd29ef5ee, Linux 314efe3f87949a568f512f05df20bf47b81cf232, Linux 36fdc5319c4d0ec8b8938ec4769764098a246bfb, Linux 4475afa2646d3fec176fc4d011d3879b26cb26e3, Linux 5.4.2…

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

FAQ

Is CVE-2024-42287 being exploited?

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

How serious is CVE-2024-42287?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-42287?

Linux >= 9189f20b4c5307c0998682bb522e481b4567a8b8, < af46649304b0c9cede4ccfc2be2561ce8ed6a2ea; >= 231cfa78ec5badd84a1a2b09465bfad1a926aba1, < 57ba7563712227647f82a92547e82c96cd350553; >= d6f7377528d2abf338e504126e44439541be8f7d, < 9117337b04d789bd08fdd9854a40bec2815cd3f6; >= cd0a1804ac5bab2545ac700c8d0fe9ae9284c567, < 814f4a53cc86f7ea8b501bfb1723f24fd29ef5ee; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 314efe3f87949a568f512f05df20bf47b81cf232; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 36fdc5319c4d0ec8b8938ec4769764098a246bfb; >= 0367076b0817d5c75dfb83001ce7ce5c64d803a9, < 4475afa2646d3fec176fc4d011d3879b26cb26e3; 415d614344a4f1bbddf55d724fc7eb9ef4b39aad; >= 5.4.240, < 5.4.282; >= 5.10.177, < 5.10.224; …; Linux 6.3.

Is there a fix for CVE-2024-42287?

Yes. Fixed in Linux 57ba7563712227647f82a92547e82c96cd350553, Linux 9117337b04d789bd08fdd9854a40bec2815cd3f6, Linux 814f4a53cc86f7ea8b501bfb1723f24fd29ef5ee, Linux 314efe3f87949a568f512f05df20bf47b81cf232, Linux 36fdc5319c4d0ec8b8938ec4769764098a246bfb, Linux 4475afa2646d3fec176fc4d011d3879b26cb26e3, Linux 5.4.282, Linux 5.10.224. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-42287?

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.

Sponsors