CVE-2021-46963 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
A crash in the qla2xxx SCSI driver caused by incorrect memory freeing allows local attackers to trigger a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-46963?
CVE-2021-46963 is a high-severity vulnerability in Linux kernel, published on 27 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-46963?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-46963?
Apply the vendor's patch.
Is CVE-2021-46963 being exploited?
There is no known exploitation of CVE-2021-46963 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-46963, GHSA-qfxp-cg32-f2jj, UBUNTU-CVE-2021-46963.