CVE-2026-53012·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: nexthop: fix IPv6 route referencing IPv4 nexthop syzbot reported a panic [1] [2]. When an IPv6 nexthop is replaced with an IPv4 nexthop, the has_v4 flag of all groups containing this nexthop is not updated. This is because nh_group_v4_update is only called when replacing AF_INET to AF_INET6, but the reverse direction (AF_INET6 to AF_INET) is missed. This allows a stale has_v4=false to bypass fib6_check_nexthop, causing IPv6 routes to be attached to groups that effectively contain only AF_INET members. Subsequent route lookups then call nexthop_fib6_nh() which returns NULL for the AF_INET member, leading to a NULL pointer dereference. Fix by calling nh_group_v4_update whenever the family changes, not just AF_INET to AF_INET6. Reproducer: # AF_INET6 blackhole ip -6 nexthop add id 1 blackhole # group with has_v4=false ip nexthop add id 100 group 1 # replace with AF_INET (no -6), has_v4 stays false ip nexthop replace id 1 blackhole # pass stale has_v4 check ip -6 route add 2001:db8::/64 nhid 100 # panic ping -6 2001:db8::1 [1] https://syzkaller.appspot.com/bug?id=e17283eb2f8dcf3dd9b47fe6f67a95f71faadad0 [2] https://syzkaller.appspot.com/bug?id=8699b6ae54c9f35837d925686208402949e12ef3
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 7% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.10
Fixed in: 7.0.10
How to fix this CVE
Update your Linux kernel to version 7.0.10 or later to resolve a critical nexthop configuration bug that can cause kernel panics during IPv6 route lookups. This vulnerability occurs when IPv6 nexthops are replaced with IPv4 ones without proper flag updates, leading to NULL pointer dereferences. Ensure your system is running the patched kernel version and reboot if necessary.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r — if output is between 6.19 and 7.0.9, the system is vulnerable
- Verify nexthop configuration: ip nexthop list — look for groups mixing IPv4 and IPv6 nexthops that may have been converted
- Search system logs for kernel panic signatures: sudo dmesg | grep -i 'nexthop\|NULL pointer\|BUG'
- After applying the patch, confirm kernel version: uname -r should show 7.0.10 or later; then verify no new panics occur during IPv6 route operations
FAQ
What is CVE-2026-53012?
CVE-2026-53012 is a kernel bug in the nexthop routing subsystem where replacing an IPv6 nexthop with an IPv4 one fails to update internal family flags, allowing malformed IPv6 routes to reference IPv4-only nexthops and trigger NULL pointer dereferences during packet forwarding.
Is CVE-2026-53012 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it can be easily triggered by a local attacker with nexthop configuration privileges.
What versions of Kernel are affected by CVE-2026-53012?
Linux kernel versions 6.19 through 7.0.9 are affected. Version 7.0.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-53012?
Run uname -r to display your kernel version; if it shows a version between 6.19 and 7.0.9, your system is vulnerable.
Does Defensia detect CVE-2026-53012?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-53012 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/29c95185ba32b621fbc3800fb86e7dc3edf5c2be
- https://git.kernel.org/stable/c/613c8f4a501421dd258b07ea614205d4e16ec845
- https://git.kernel.org/stable/c/6275796f22bb382f3e9aa58ed0b4ef7bdad78cb8
- https://git.kernel.org/stable/c/9c2d6770a5f4545a307eb66979bef7656a34d621
- https://git.kernel.org/stable/c/aaac3bed034239e1d75732211d9b05f30b0b4f35
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53012. Free for 1 server.
Get started free