Null Pointer Dereference in net: nexthop Package
Summary
GSD-2021-1002523: net: nexthop: fix null pointer dereference when IPv6 is not enabled. Affects Kernel versions >= 53010f991a9f5e4ed2db705ddde6ff32709192a2, < 39509d76a9a3d02f379d52cb4b1449469c56c0e0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The net: nexthop package is a component of the Linux Kernel, which is responsible for managing the next-hop information for network routes. It is an essential part of the networking subsystem and plays a crucial role in determining the path for packet forwarding. The package handles both IPv4 and IPv6 routes, but the vulnerability in question specifically affects scenarios where IPv6 is not enabled.
Vulnerability Detail
The identified vulnerability in the net: nexthop package is a null pointer dereference issue. When IPv6 is not enabled, a null pointer is accessed, leading to a crash or system instability. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.3 of the Linux Kernel and has been fixed in version v5.15.6.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, users can enable IPv6 support in their system configuration. By enabling IPv6, the null pointer dereference issue is avoided, and the vulnerability is effectively mitigated. The specific steps to enable IPv6 depend on the operating system and configuration in use.
Conclusion
The null pointer dereference vulnerability in the net: nexthop package of the Linux Kernel can lead to a denial-of-service condition or potential code execution. It is crucial to update the kernel to version v5.15.6 or later to address this vulnerability. Enabling IPv6 support can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a denial-of-service (DoS) condition or potential execution of arbitrary code with elevated privileges.
You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.
At the time of this report, there is no known public exploit for this vulnerability. However, it is advisable to apply the recommended fix as soon as possible to mitigate any potential risks.
Enabling IPv6 support in your system configuration can serve as a temporary measure to mitigate the vulnerability until the kernel update is applied.
You can refer to the official Linux Kernel repository for more details on the fix: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.