Wiz Agents & Workflows are here

CVE-2021-47572
Linux Kernel vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability was discovered in the Linux kernel's nexthop functionality when IPv6 is not enabled. The vulnerability exists in the error path of nh_create_ipv6() function due to calling ipv6_stub->fib6_nh_release when IPv6 support is disabled (!CONFIG_IPV6). The issue has been present since the introduction of IPv6 nexthop gateway support (Kernel Patch).

Technical details

The vulnerability occurs in the nh_create_ipv6() function's error handling path. When attempting to add an IPv6 nexthop with IPv6 disabled, the code calls ipv6_stub->fib6_nh_release after fib6_nh_init returns an error. However, only fib6_nh_init has a dummy stub implementation, while fib6_nh_release does not, leading to a null pointer dereference. The issue was introduced because fib6_nh_release should not be called if fib6_nh_init returns an error (NVD).

Impact

When triggered, this vulnerability results in a kernel NULL pointer dereference, which can cause a system crash. This creates a denial of service condition on affected systems when attempting to configure IPv6 nexthop functionality on systems where IPv6 is not enabled (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by modifying the error handling in nh_create_ipv6() to return the dummy stub's -EAFNOSUPPORT error directly without calling ipv6_stub->fib6_nh_release when IPv6 is not enabled. Users should update to a patched kernel version that includes this fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • linux-xilinx-zynqmp
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel-matched
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management