High · published February 28, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.19.90, < 4.19.191 | 4.19.191 |
| linux/linux_kernel | ≥ 5.4.4, < 5.4.118 | 5.4.118 |
| linux/linux_kernel | ≥ 5.5, < 5.10.36 | 5.10.36 |
| linux/linux_kernel | ≥ 5.11, < 5.11.20 | 5.11.20 |
| linux/linux_kernel | ≥ 5.12, < 5.12.3 | 5.12.3 |