Data Race Vulnerability in ip Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1004683: ip: Fix a data-race around sysctl_fwmark_reflect. Affects Kernel versions >= e110861f86094cd78cc85593b873970092deb43a, < 25a635a67c830766110410fea88ec4e6ee29684b. 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 ip package is a component of the Linux Kernel, which is responsible for managing IP addresses and routing tables. It provides functionality for configuring network interfaces, setting up routing rules, and managing firewall marks. The package is an integral part of the Linux operating system and is widely used in networking applications. However, a data race vulnerability has been discovered in the ip package, which can lead to unpredictable behavior and potential security risks.

Vulnerability Detail

The data race vulnerability in the ip package revolves around the sysctl_fwmark_reflect function. This function is used to control whether firewall marks are reflected in the routing decision. The vulnerability arises due to a race condition, where multiple threads or processes access and modify the sysctl_fwmark_reflect variable concurrently without proper synchronization. This can result in inconsistent or incorrect values being read or written, leading to unexpected behavior and potential security vulnerabilities. The impact and attack plausibility of this vulnerability have not been proven yet.

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, it is possible to disable the sysctl_fwmark_reflect feature by setting its value to 0 manually. This can be done by executing the following command as root:

sysctl -w net.ipv4.fwmark_reflect=0

However, this workaround should only be considered as a temporary solution, and it is strongly recommended to apply the official fix by updating the Linux Kernel.

Conclusion

In conclusion, a data race vulnerability has been identified in the ip package of the Linux Kernel. This vulnerability can lead to unpredictable behavior and potential security risks. It is recommended to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ip package is a component of the Linux Kernel that handles IP address management, routing tables, and firewall marks.

sysctl_fwmark_reflect is a variable used in the ip package to control whether firewall marks are reflected in the routing decision.

A data race vulnerability occurs when multiple threads or processes access and modify shared data concurrently without proper synchronization, leading to unpredictable behavior and potential security risks.

The impact of this vulnerability is not yet proven, but it can potentially result in unexpected behavior and security vulnerabilities in applications that rely on the ip package.

To fix this vulnerability, update the Linux Kernel to version v5.4.208 or later, which includes the necessary fix for the data race issue.

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