CVE Database›Document archive›CVE-2021-46963

CVE-2021-46963

kernel: scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()

Loading…

Severity

Low

Red Hat Product Security

4.4

CVSS 3.1

Review impact separately from score.

Published · February 27, 2024

Updated · August 5, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE-416 · Use After Free