CVE-2023-52340·Kernel vulnerability
The IPv6 implementation in the Linux kernel before 6.3 has a net/ipv6/route.c max_size threshold that can be consumed easily, e.g., leading to a denial of service (network is unreachable errors) when IPv6 packets are sent in a loop via a raw socket.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.3
- Published
- 2024-07-05
Affected versions
Until: 6.3
Fixed in: 6.3
How to fix this CVE
Update your Linux kernel to version 6.3 or later to patch the IPv6 routing table resource exhaustion vulnerability. This fix implements proper threshold management for IPv6 route cache entries, preventing attackers from consuming network resources through looped raw socket packets. Kernel updates should be applied promptly, followed by system reboot to activate the patched version.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with 'uname -r' and verify it is at least 6.3 or later
- Step 2: Verify IPv6 is enabled on your network interfaces using 'ip -6 addr show' to confirm potential exposure
- Step 3: Monitor dmesg and syslog for IPv6 routing errors with 'dmesg | grep -i ipv6' and 'journalctl -u kernel --grep ipv6'
- Step 4: Confirm the patch was applied by checking the kernel build timestamp: 'cat /proc/version' should show a version >= 6.3
FAQ
What is CVE-2023-52340?
CVE-2023-52340 is a denial-of-service vulnerability in the Linux kernel's IPv6 routing implementation where the route cache threshold can be exhausted through repeated IPv6 packets sent via raw sockets, causing network connectivity failures.
Is CVE-2023-52340 being actively exploited?
No, this vulnerability is not listed on the CISA KEV catalog and has no known public exploits, though it remains a moderate risk for availability-sensitive deployments.
What versions of Kernel are affected by CVE-2023-52340?
All Linux kernel versions prior to 6.3 are affected; kernel 6.3 and later include the remediation commit af6d10345ca76670c1b7c37799f0d5576ccef277.
How do I check if my server is vulnerable to CVE-2023-52340?
Run 'uname -r' to retrieve your kernel version—if it reports a version lower than 6.3, your system is vulnerable to this IPv6 routing DoS condition.
Does Defensia detect CVE-2023-52340?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2023-52340 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.3
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=af6d10345ca76670c1b7c37799f0d5576ccef277
- https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.3
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=af6d10345ca76670c1b7c37799f0d5576ccef277
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52340. Free for 1 server.
Get started free