CVE-2024-36030·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: fix the double free in rvu_npc_freemem() Clang static checker(scan-build) warning: drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:line 2184, column 2 Attempt to free released memory. npc_mcam_rsrcs_deinit() has released 'mcam->counters.bmap'. Deleted this redundant kfree() to fix this double free problem.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.9
- Published
- 2024-05-30
Affected versions
From: 6.8
Until: 6.8.9
Fixed in: 6.8.9
How to fix this CVE
Update your Linux kernel to version 6.8.9 or later to resolve this double-free memory corruption vulnerability in the OcteonTX2 network driver. This flaw could allow a local privileged attacker to trigger a kernel crash or memory corruption. Systems running kernel versions 6.8 through 6.8.8 should be prioritized for patching.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version; vulnerable versions are 6.8.0 through 6.8.8
- Verify if OcteonTX2 network driver is loaded by running 'lsmod | grep octeontx2'; this CVE only affects systems with Marvell OcteonTX2 hardware
- Search kernel logs for memory corruption or crash patterns with 'sudo dmesg | grep -i "double free\|memory corruption\|mcam\|octeontx2"'
- Confirm the patch is applied by checking 'cat /proc/version' shows kernel 6.8.9 or later, or verify the specific commit with 'git log --oneline | grep 6e965eba' if compiling from source
FAQ
What is CVE-2024-36030?
CVE-2024-36030 is a double-free vulnerability in the Linux kernel's OcteonTX2 Marvell network driver that occurs during memory deallocation in the rvu_npc_freemem() function. A local privileged user could exploit this to crash the kernel or corrupt memory.
Is CVE-2024-36030 being actively exploited?
No, CVE-2024-36030 is not currently listed as actively exploited in the CISA Known Exploited Vulnerabilities catalog, and no public exploits are available.
What versions of Kernel are affected by CVE-2024-36030?
Linux kernel versions 6.8.0 through 6.8.8 are affected. The vulnerability is fixed in kernel version 6.8.9 and later.
How do I check if my server is vulnerable to CVE-2024-36030?
Run 'uname -r' to check your kernel version (vulnerable if between 6.8.0 and 6.8.8), and then run 'lsmod | grep octeontx2' to confirm the affected driver is loaded on your system.
Does Defensia detect CVE-2024-36030?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-36030 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-36030. Free for 1 server.
Get started free