CVE-2024-26619·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: riscv: Fix module loading free order Reverse order of kfree calls to resolve use-after-free error.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.7.3
- Published
- 2024-03-11
Affected versions
From: 6.7
Until: 6.7.3
Fixed in: 6.7.3
How to fix this CVE
CVE-2024-26619 affects RISC-V module loading on Linux kernel versions 6.7 through 6.7.3, where incorrect memory deallocation order can trigger a use-after-free condition with high privilege requirements. Update your kernel to version 6.7.3 or later to resolve this memory safety issue. Ensure your system is running the patched kernel version before deploying any new RISC-V modules.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — ensure it is at least 6.7.3 or a newer stable release
- Verify RISC-V architecture support: grep -i risc /proc/cpuinfo or check dmesg for RISC-V in boot logs
- Search system logs for module loading errors: sudo journalctl -u systemd-modules-load.service -n 50 | grep -i 'error\|fail'
- Confirm the patch is present: grep -i 'module loading' /proc/version or compare your kernel source commit hash against the fixed commits in the NVD references
FAQ
What is CVE-2024-26619?
CVE-2024-26619 is a use-after-free vulnerability in the Linux kernel's RISC-V module loading code where memory is freed in an incorrect sequence, allowing potential privilege escalation on affected systems running RISC-V architecture.
Is CVE-2024-26619 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the high CVSS score of 7.8 warrants timely patching.
What versions of Kernel are affected by CVE-2024-26619?
Linux kernel versions 6.7 through 6.7.2 are vulnerable; kernel version 6.7.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-26619?
Run 'uname -r' to see your kernel version; if it shows 6.7.0, 6.7.1, or 6.7.2, your system is vulnerable. Additionally, verify RISC-V support with 'lscpu | grep Architecture' to confirm exposure.
Does Defensia detect CVE-2024-26619?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server running versions 6.7 through 6.7.2, CVE-2024-26619 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26619. Free for 1 server.
Get started free