CVE-2024-44985·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ipv6: prevent possible UAF in ip6_xmit() If skb_expand_head() returns NULL, skb has been freed and the associated dst/idev could also have been freed. We must use rcu_read_lock() to prevent a possible UAF.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.7
- Published
- 2024-09-04
Affected versions
From: 6.7
Until: 6.10.7
Fixed in: 6.10.7
How to fix this CVE
Update your Linux kernel to version 6.10.7 or later to patch a use-after-free vulnerability in IPv6 packet transmission. This vulnerability could allow a local attacker with sufficient privileges to trigger kernel memory corruption by exploiting improper error handling in the ip6_xmit() function. Apply the patch immediately on all affected systems running kernel versions 6.7 through 6.10.6.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check kernel version with `uname -r` and compare against affected range (6.7.x to 6.10.6)
- Step 2: Verify IPv6 is enabled with `cat /proc/sys/net/ipv6/conf/all/disable_ipv6` (0 = enabled, vulnerable if in affected kernel version)
- Step 3: Search kernel logs for memory errors with `sudo journalctl -b | grep -i 'use-after-free\|uaf\|NULL pointer'` or `sudo dmesg | grep -i 'kernel panic'`
- Step 4: Confirm patch application by checking `cat /proc/version` shows kernel 6.10.7+ or verify with `sudo apt show linux-image-generic | grep Version` (Ubuntu/Debian)
FAQ
What is CVE-2024-44985?
CVE-2024-44985 is a use-after-free vulnerability in the Linux kernel's IPv6 transmission handler (ip6_xmit function). When memory expansion fails during IPv6 packet processing, freed memory references may still be accessed, leading to kernel memory corruption.
Is CVE-2024-44985 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available, though it poses a significant risk for local privilege escalation attacks.
What versions of Kernel are affected by CVE-2024-44985?
Linux kernel versions 6.7.x through 6.10.6 are vulnerable. Kernel version 6.10.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-44985?
Run `uname -r` to display your kernel version; if it falls between 6.7.0 and 6.10.6 inclusive, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2024-44985?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-44985 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/124b428fe28064c809e4237b0b38e97200a8a4a8
- https://git.kernel.org/stable/c/2d5ff7e339d04622d8282661df36151906d0e1c7
- https://git.kernel.org/stable/c/38a21c026ed2cc7232414cb166efc1923f34af17
- https://git.kernel.org/stable/c/975f764e96f71616b530e300c1bb2ac0ce0c2596
- https://git.kernel.org/stable/c/b3a3d5333c13a1be57499581eab4a8fc94d57f36
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-44985. Free for 1 server.
Get started free