Data Races in sysctl_tcp_fastopen in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1004528: tcp: Fix data-races around sysctl_tcp_fastopen. Affects Kernel versions >= 2100c8d2d9db23c0a09901a782bb4e3b21bee298, < 22938534c611136f35e2ca545bb668073ca5ef49. 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 Kernel is a critical component of the Linux operating system that provides core functionalities and manages system resources. It acts as an interface between the hardware and software layers, facilitating communication and coordination between various system components. The sysctl_tcp_fastopen feature in the Kernel allows for faster establishment of TCP connections by sending data in the initial SYN packet. However, this feature is vulnerable to data races, which can lead to unpredictable behavior and potential security risks.

Vulnerability Detail

The vulnerability in sysctl_tcp_fastopen arises from data races, which occur when multiple threads or processes access shared data concurrently without proper synchronization. In this case, the sysctl_tcp_fastopen feature is not adequately protected against data races, potentially leading to race conditions and inconsistent state. Attackers may exploit these vulnerabilities to manipulate the system's behavior, bypass security mechanisms, or cause denial-of-service conditions. 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 workaround, users can disable the sysctl_tcp_fastopen feature by modifying the relevant sysctl parameter. This can be achieved by setting the value of 'net.ipv4.tcp_fastopen' to '0' in the sysctl configuration file. Here's an example of how to disable sysctl_tcp_fastopen using the command line:

sudo sysctl -w net.ipv4.tcp_fastopen=0

Conclusion

The data races in sysctl_tcp_fastopen pose a potential security risk in the Linux Kernel. It is crucial to update the Kernel to the recommended version or apply the provided workaround to mitigate these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The sysctl_tcp_fastopen feature in the Kernel allows for faster establishment of TCP connections by sending data in the initial SYN packet. It aims to reduce connection latency and improve performance.

Data races occur when multiple threads or processes access shared data concurrently without proper synchronization. This can lead to unpredictable behavior and potential security vulnerabilities.

The vulnerability in sysctl_tcp_fastopen can be exploited by attackers to manipulate the system's behavior, bypass security mechanisms, or cause denial-of-service conditions. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.134 or later. This ensures that the sysctl_tcp_fastopen feature is protected against data races and eliminates the associated security risks.

Yes, users can disable the sysctl_tcp_fastopen feature by modifying the relevant sysctl parameter. This can be achieved by setting the value of 'net.ipv4.tcp_fastopen' to '0' in the sysctl configuration file or using the command line as mentioned in the 'workaround' section.

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