CVE-2024-26930·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.3
- Published
- 2024-05-01
Affected versions
From: 6.8
Until: 6.8.3
Fixed in: 6.8.3
How to fix this CVE
Update your Linux kernel to version 6.8.3 or later to resolve a memory management defect in the QLogic SCSI driver that could cause a kernel crash. The vulnerability stems from improper pointer cleanup during memory deallocation, which could be triggered by a local privileged user. Apply the patch immediately to all affected systems running kernel versions 6.8 through 6.8.2.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r — verify if running 6.8.0 through 6.8.2
- Verify QLogic SCSI driver is loaded: lsmod | grep qla2xxx — if present, the vulnerable code path may be active
- Search kernel logs for double-free errors: dmesg | grep -i 'double free\|kasan\|use-after-free' — look for memory corruption signatures from qla2xxx driver
- Confirm the fix: grep -i 'vp_map' /boot/config-$(uname -r) — verify NULL assignment protection is compiled into the kernel module
FAQ
What is CVE-2024-26930?
This vulnerability is a double-free defect in the Linux kernel's QLogic SCSI driver (qla2xxx) where the virtual port map pointer was being freed twice during memory cleanup operations, potentially leading to kernel instability or crash.
Is CVE-2024-26930 being actively exploited?
No, this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploit code is available.
What versions of Kernel are affected by CVE-2024-26930?
Linux kernel versions 6.8 through 6.8.2 are affected. The fix was included in kernel 6.8.3.
How do I check if my server is vulnerable to CVE-2024-26930?
Run `uname -r` and check if the output is 6.8.0, 6.8.1, or 6.8.2. If so, your system is vulnerable. Additionally, verify the qla2xxx driver is present with `lsmod | grep qla2xxx`.
Does Defensia detect CVE-2024-26930?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-26930 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/825d63164a2e6bacb059a9afb5605425b485413f
- https://git.kernel.org/stable/c/b7deb675d674f44e0ddbab87fee8f9f098925e73
- https://git.kernel.org/stable/c/e288285d47784fdcf7c81be56df7d65c6f10c58b
- https://git.kernel.org/stable/c/f14cee7a882cb79528f17a2335f53e9fd1848467
- https://git.kernel.org/stable/c/825d63164a2e6bacb059a9afb5605425b485413f
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26930. Free for 1 server.
Get started free