Data Race Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1004350: tcp: Fix a data-race around sysctl_tcp_probe_threshold. Affects Kernel versions >= 6b58e0a5f32dedb609438bb9c9c82aa6e23381f2, < f524c3e7f6cdad66b3b6a912cef47b656f8b0de3. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux Kernel is a critical component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability identified in this report affects the TCP subsystem of the Linux Kernel.

Vulnerability Detail

The vulnerability in the TCP subsystem of the Linux Kernel is related to a data race around the sysctl_tcp_probe_threshold. A data race occurs when multiple threads or processes access shared data concurrently without proper synchronization, leading to unpredictable behavior and potential security vulnerabilities. In this case, the data race can be exploited by malicious actors to manipulate the sysctl_tcp_probe_threshold value, potentially impacting the performance and stability of TCP connections.

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 manually apply the patch provided in commit f524c3e7f6cdad66b3b6a912cef47b656f8b0de3 to their Linux Kernel version. The patch modifies the affected code to address the data race issue. Here is an example of the patch:

- // Original code with data race
- sysctl_tcp_probe_threshold = value;

+ // Patched code without data race
+ spin_lock(&tcp_probe_threshold_lock);
+ sysctl_tcp_probe_threshold = value;
+ spin_unlock(&tcp_probe_threshold_lock);

Conclusion

In conclusion, the data race vulnerability in the TCP subsystem of the Linux Kernel can be mitigated by updating to version v5.15.58 or later. Alternatively, users can apply the provided patch as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

A data race is a condition that occurs when multiple threads or processes access shared data concurrently without proper synchronization. It can lead to unpredictable behavior, including crashes, incorrect results, and security vulnerabilities.

This vulnerability can be exploited by malicious actors to manipulate the sysctl_tcp_probe_threshold value, potentially impacting the performance and stability of TCP connections.

You can use tools like Vulert (https://vulert.com) to check if your Linux Kernel version is affected by this vulnerability. Vulert provides real-time monitoring and alerts for open-source vulnerabilities without requiring access to the code or installation.

Yes, users can manually apply the provided patch to their Linux Kernel version as a temporary workaround until they can update to the latest version.

You can refer to the commit f524c3e7f6cdad66b3b6a912cef47b656f8b0de3 in the Linux Kernel repository for more details about the fix.

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