CVE-2021-46963: scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Fix crash in qla2xxxmqueuecommand()
RIP: 0010:kmemcachefree+0xfa/0x1b0 Call Trace: qla2xxxmqueuecommand+0x2b5/0x2c0 [qla2xxx] scsiqueuerq+0x5e2/0xa40 blkmqtryissuedirectly+0x128/0x1d0 blkmqrequestissuedirectly+0x4e/0xb0
Fix incorrect call to free srb in qla2xxxmqueuecommand(), as srb is now allocated by upper layers. This fixes smatch warning of srb unintended free.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-46963?
CVE-2021-46963 has been rated as having a moderate severity due to the potential for crashes in affected systems.
Which Linux kernel versions are affected by CVE-2021-46963?
CVE-2021-46963 affects Linux kernel versions between 4.19.90 to 4.19.191, 5.4.4 to 5.4.118, and 5.5 to 5.10.36, along with versions from 5.11 to 5.11.20 and 5.12 up to 5.12.3.
How do I fix CVE-2021-46963?
To fix CVE-2021-46963, upgrade your Linux kernel to the latest stable version that is not affected by this vulnerability.
What type of attack does CVE-2021-46963 allow?
CVE-2021-46963 could potentially allow an attacker to trigger a system crash through the SCSI command processing.
What component of the Linux kernel does CVE-2021-46963 affect?
CVE-2021-46963 affects the SCSI subsystem, specifically related to the qla2xxx driver.