CVE-2021-46963

scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()

State
Published
Severity
7.8 High
Published
Feb 27, 2024
Updated
Aug 5, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 64a8c5018a4b21b04a756a56c495ef47c14e92d9 to before c5ab9b67d8b061de74e2ca51bf787ee599bd7f89Affected
  • dea6ee7173039d489977c9ed92e3749154615db4 to before 77509a238547863040a42d57c72403f7d4c89a8fAffected
  • af2a0c51b1205327f55a7e82e530403ae1d42cbb to before 702cdaa2c6283c135ef16d52e0e4e3c1005aa538Affected
  • af2a0c51b1205327f55a7e82e530403ae1d42cbb to before 80ef24175df2cba3860d0369d1c662b49ee2de56Affected
  • af2a0c51b1205327f55a7e82e530403ae1d42cbb to before a73208e3244127ef9f2cdf24e4adb947aaa32053Affected
  • af2a0c51b1205327f55a7e82e530403ae1d42cbb to before 6641df81ab799f28a5d564f860233dd26cca0d93Affected
  • 4a1cc2f71bc57cf8dee6f58e7d2355a43aabb312Affected
  • 4.19.90 to before 4.19.191Affected
  • 5.4.4 to before 5.4.118Affected
  • 5.3.17 to before 5.4Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 4.19.191 through 4.19.*Not affected
  • 5.4.118 through 5.4.*Not affected
  • 5.10.36 through 5.10.*Not affected
  • 5.11.20 through 5.11.*Not affected
  • 5.12.3 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.