scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ af2a0c51b1205327f55a7e82e530403ae1d42cbb · < 6641df81ab799f28a5d564f860233dd26cca0d93| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
RIP: 0010:kmem_cache_free+0xfa/0x1b0 Call Trace: qla2xxx_mqueuecommand+0x2b5/0x2c0 [qla2xxx] scsi_queue_rq+0x5e2/0xa40 __blk_mq_try_issue_directly+0x128/0x1d0 blk_mq_request_issue_directly+0x4e/0xb0
Fix incorrect call to free srb in qla2xxx_mqueuecommand(), as srb is now allocated by upper layers. This fixes smatch warning of srb unintended free.
From the CVE record · Linux
The Linux kernel's qla2xxx driver incorrectly frees an SRB allocated by an upper layer, causing a crash in qla2xxx_mqueuecommand(). The input does not specify whether an attacker can trigger the crash or what access or user interaction would be required.
Engineers running Linux kernels with the qla2xxx driver should check their installations; affected versions are not specified.