Data Race Vulnerability in ipv6 Package

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000461: ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt. Affects Kernel versions >= 0c5fcf9e249ee1d94cf872c99baf9cba7ff9ce27, < 9ed25183e6d47a71f5385dbc52419c473646c768. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ipv6 package is a component of the Linux Kernel, which is responsible for handling IPv6 network protocol functionality. It provides support for IPv6 addressing, routing, and packet forwarding. The package is an integral part of the Linux operating system and is widely used in various networked environments. However, a data race vulnerability has been identified in the package, which can lead to potential security issues.

Vulnerability Detail

The data race vulnerability in the ipv6 package arises from a race condition in the functions fib6_info_hw_flags_set and fib6_purge_rt. This vulnerability can be exploited by malicious actors to manipulate the hardware flags of IPv6 route entries, potentially leading to incorrect routing decisions or denial of service attacks. The vulnerability was introduced in version v5.12 of the Linux Kernel and has been fixed in version v5.15.25. It is crucial to address this vulnerability to ensure the integrity and security of IPv6 networking in Linux-based systems.

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 temporary workaround, users can apply the following code changes to the affected functions:

  1. In the function fib6_info_hw_flags_set:

    • Add a lock to ensure exclusive access to the hardware flags variable.
  2. In the function fib6_purge_rt:

    • Implement proper synchronization mechanisms to prevent data races.

Please note that applying these code changes is not a substitute for updating to the fixed version of the Linux Kernel. It is recommended to update to the latest kernel version as soon as possible.

Conclusion

The data race vulnerability in the ipv6 package of the Linux Kernel can have significant security implications, including incorrect routing decisions and denial of service attacks. It is crucial to update to the fixed version of the Linux Kernel (v5.15.25 or later) to mitigate this vulnerability. Additionally, users can apply the provided code changes 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 data race vulnerability in the ipv6 package can result in incorrect routing decisions or denial of service attacks. It can be exploited by malicious actors to manipulate the hardware flags of IPv6 route entries.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this data race vulnerability in the ipv6 package.

Yes, a patch for this vulnerability is available in version v5.15.25 of the Linux Kernel. It is recommended to update to this version or later to mitigate the vulnerability.

Yes, you can apply the provided code changes as a temporary workaround. However, it is crucial to update to the fixed version of the Linux Kernel as soon as possible.

You can refer to the vulnerability details in the GSD database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000461.json for more information about this vulnerability.

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