CVE-2024-36954·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: tipc: fix a possible memleak in tipc_buf_append __skb_linearize() doesn't free the skb when it fails, so move '*buf = NULL' after __skb_linearize(), so that the skb can be freed on the err path.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.8.10
- Published
- 2024-05-30
Affected versions
From: 6.7
Until: 6.8.10
Fixed in: 6.8.10
How to fix this CVE
Update your Linux kernel to version 6.8.10 or later to resolve a memory leak vulnerability in the TIPC protocol subsystem. This vulnerability could allow a local, unprivileged user to trigger a denial-of-service condition by exhausting system memory through improper buffer handling. Apply kernel updates through your distribution's package manager and reboot to load the patched kernel.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version. If it shows 6.7.x through 6.8.9, your system is vulnerable.
- Verify TIPC protocol module is loaded by running 'lsmod | grep tipc'. If output is empty, TIPC is not loaded and risk is reduced.
- Check kernel logs for memory pressure events using 'sudo journalctl -u kernel | grep -i 'out of memory\|allocation failure\|tipc' | tail -20'.
- After updating, run 'uname -r' again to confirm the new kernel version is 6.8.10 or later, then verify with 'sudo dmesg | grep 'Linux version'' to ensure the patched kernel was booted.
FAQ
What is CVE-2024-36954?
CVE-2024-36954 is a memory leak vulnerability in the Linux kernel's TIPC (Transparent Inter-Process Communication) protocol handler. When the __skb_linearize() function fails, the original socket buffer is not properly freed, allowing memory to accumulate and potentially causing a denial-of-service condition.
Is CVE-2024-36954 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-36954?
Linux kernel versions 6.7 through 6.8.9 are vulnerable. Version 6.8.10 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-36954?
Run 'uname -r' to check your kernel version. If the output shows any version from 6.7.0 to 6.8.9, your system is vulnerable. Cross-reference against version 6.8.10 to confirm.
Does Defensia detect CVE-2024-36954?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-36954 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/01cd1b7b685751ee422d00d050292a3d277652d6
- https://git.kernel.org/stable/c/2f87fd9476cf9725d774e6dcb7d17859c6a6d1ae
- https://git.kernel.org/stable/c/3210d34fda4caff212cb53729e6bd46de604d565
- https://git.kernel.org/stable/c/42c8471b0566c7539e7dd584b4d0ebd3cec8cb2c
- https://git.kernel.org/stable/c/614c5a5ae45a921595952117b2e2bd4d4bf9b574
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-36954. Free for 1 server.
Get started free