
Cloud Vulnerability DB
A community-led vulnerabilities database
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 qla2x00asynciocbtimeout() can be preempted by the normal response path via firmware. When this happens, qla24xxasyncgpscspdone() releases the SRB unconditionally, leading to a NULL pointer dereference when qla24xxasyncabortcmd() attempts to access the freed sp->qpair pointer (Kernel Git).
The vulnerability stems from a race condition between the timeout handler and done function in the qla2xxx driver. When qla2x00asynciocbtimeout() starts execution, it can be preempted by the normal response path through the firmware. The qla24xxasyncgpscspdone() function then unconditionally releases the SRB (SCSI Request Block). When execution returns to qla2x00asynciocbtimeout(), the subsequent call to qla24xxasyncabort_cmd() attempts to access the now-freed sp->qpair pointer, resulting in a NULL pointer dereference (Kernel Git).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."