Data Races in ipv4 sysctl_fib_multipath_hash_policy

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004337: ipv4: Fix data-races around sysctl_fib_multipath_hash_policy. Affects Kernel versions >= bf4e0a3db97eb882368fd82980b3b1fa0b5b9778, < 21fb844bc1dc1461f5038d655aa1a14f39e13049. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is an open-source monolithic Unix-like computer operating system kernel. It provides the essential services for the operating system and allows communication between hardware and software components. The ipv4 module in the Linux Kernel handles the Internet Protocol version 4 (IPv4) networking functionality. It includes various features and components for managing IPv4 routing, addressing, and packet forwarding. One of these components is sysctl_fib_multipath_hash_policy, which is responsible for managing the multipath hash policy for IPv4 routing. This component is vulnerable to data races, which can lead to unpredictable behavior and potential security issues.

Vulnerability Detail

The vulnerability in the ipv4 sysctl_fib_multipath_hash_policy component arises due to data races. Data races occur when multiple threads or processes access shared data simultaneously without proper synchronization. In this case, concurrent access to sysctl_fib_multipath_hash_policy can result in inconsistent or corrupted data, leading to unexpected behavior or security vulnerabilities. An attacker could potentially exploit this vulnerability to manipulate the multipath hash policy, disrupt network routing, or launch other attacks. The vulnerability was introduced in Linux Kernel version 4.12 and has been fixed in version 5.15.58.

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 disable the sysctl_fib_multipath_hash_policy feature if it is not essential for their network configuration. This can be achieved by modifying the kernel configuration or using sysctl to set the corresponding parameter to a disabled state. However, disabling this feature may impact certain network routing scenarios that rely on multipath hash policy. Therefore, it is recommended to apply the official fix by updating the Linux Kernel.

Conclusion

The data races in the ipv4 sysctl_fib_multipath_hash_policy component of the Linux Kernel can lead to unpredictable behavior and potential security vulnerabilities. It is crucial to update the Linux Kernel to version 5.15.58 or later to mitigate this vulnerability. Users can also consider disabling the affected feature as a temporary workaround, but it may impact certain network routing scenarios. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in unpredictable behavior, data corruption, or potential security exploits. Attackers could potentially manipulate the multipath hash policy or disrupt network routing.

You can use vulnerability monitoring tools like Vulert to check if your system is affected by this vulnerability. Vulert analyzes package manifests and provides real-time alerts for open-source vulnerabilities.

The vulnerability itself does not provide remote code execution capabilities. However, an attacker with local access to the system could potentially exploit the data races to manipulate the multipath hash policy and disrupt network routing.

There are no known instances of this vulnerability being actively exploited in the wild. However, it is always recommended to apply security patches and updates to mitigate potential risks.

For more technical details and references, you can refer to the vulnerability ID GSD-2022-1004337 in the GSD database maintained by the Cloud Security Alliance.

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