CVE-2024-26930 scsi: qla2xxx: Fix double free of the ha->vp_map pointer
A double free vulnerability in the qla2xxx SCSI driver can cause a kernel crash, leading to 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-2024-26930?
CVE-2024-26930 is a high-severity use after free vulnerability in Linux kernel, published on 1 May 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 double free of the ha->vp_map pointer
Coverity scan reported potential risk of double free of the pointer ha->vp_map. ha->vp_map was freed in qla2x00_mem_alloc(), and again freed in function qla2x00_mem_free(ha).
Assign NULL to vp_map and kfree take care of NULL.
Weakness: CWE-415
Which versions are affected by CVE-2024-26930?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26930?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-26930 being exploited?
There is no known exploitation of CVE-2024-26930 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-26930, DEBIAN-CVE-2024-26930, GHSA-gf42-j9g9-962c, ROOT-OS-DEBIAN-11-CVE-2024-26930, ROOT-OS-DEBIAN-12-CVE-2024-26930, UBUNTU-CVE-2024-26930.