What’s Vulnerable › Vulnerabilities

CVE-2021-46963: scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.191, 5.10.36, 5.11.20, 5.12.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46963 or the next vulnerability affects your stack