Null Pointer Dereference in net: nexthop Package

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback