PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2022-49159: 
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a race condition vulnerability was discovered in the qla2xxx driver. The issue occurs between the timeout handler and done function, where qla2x00_async_iocb_timeout() can be preempted by the normal response path via firmware. When this happens, qla24xx_async_gpsc_sp_done() releases the SRB unconditionally, leading to a NULL pointer dereference when qla24xx_async_abort_cmd() attempts to access the freed sp->qpair pointer (Kernel Git).

Technical details

The vulnerability stems from a race condition between the timeout handler and done function in the qla2xxx driver. When qla2x00_async_iocb_timeout() starts execution, it can be preempted by the normal response path through the firmware. The qla24xx_async_gpsc_sp_done() function then unconditionally releases the SRB (SCSI Request Block). When execution returns to qla2x00_async_iocb_timeout(), the subsequent call to qla24xx_async_abort_cmd() attempts to access the now-freed sp->qpair pointer, resulting in a NULL pointer dereference (Kernel Git).

Impact

The vulnerability can lead to a kernel NULL pointer dereference, potentially causing system crashes or denial of service conditions. This affects the stability and availability of systems using the qla2xxx driver for SCSI storage devices (Kernel Git).

Exploitability

The vulnerability can be triggered during normal operation of the SCSI subsystem when timeout conditions occur. A specific sequence of events involving timeouts and firmware responses is required to trigger the race condition (Kernel Git).

Mitigation and workarounds

The issue has been fixed by implementing a reference counter for SRB. The solution introduces proper synchronization using locks and reference counting, where one reference is taken for the normal code path and another for the timeout path. The fix ensures proper handling of the race condition between the normal case and timeout/abort handler (Kernel Git).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • python3-perf
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesOct 18, 2026
CVE-2023-7356NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesOct 21, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-devel
NoYesOct 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management