Data Race Vulnerability in tcp/dccp Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1004134: tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept. Affects Kernel versions >= 84f39b08d7868ce10eeaf640627cb89777f0ae93, < 526d8cf8824f613c72dba2155542295e70135f62. 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 tcp/dccp package is a component of the Linux Kernel, which is responsible for handling TCP and DCCP (Datagram Congestion Control Protocol) network protocols. It provides the necessary functionality for establishing and maintaining network connections. The vulnerability identified in this package relates to a data race issue around the sysctl_tcp_fwmark_accept function.

Vulnerability Detail

The data race vulnerability in the tcp/dccp package can lead to unpredictable behavior and potential security risks. A data race occurs when multiple threads or processes access shared data concurrently without proper synchronization. In this case, the sysctl_tcp_fwmark_accept function is susceptible to a data race, which can result in incorrect handling of firewall marks for TCP connections. This vulnerability could potentially be exploited by an attacker to manipulate network connections and bypass firewall rules.

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 apply the patch provided in the fix commit manually. Here is an example of the patch:

--- a/net/ipv4/sysctl_net_ipv4.c
+++ b/net/ipv4/sysctl_net_ipv4.c
@@ -125,6 +125,7 @@ static struct ctl_table ipv4_net_table[] = {
        .data           = &sysctl_tcp_fwmark_accept,
        .maxlen         = sizeof(int),
        .mode           = 0644,
+       .proc_handler   = proc_dointvec,
        .extra1         = &zero,
        .extra2         = &one,
        .extra3         = &sysctl_tcp_fwmark_accept,

Conclusion

The data race vulnerability in the tcp/dccp package can have serious security implications. It is crucial to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The tcp/dccp package is a component of the Linux Kernel that handles TCP and DCCP network protocols.

A data race vulnerability occurs when multiple threads or processes access shared data concurrently without proper synchronization.

sysctl_tcp_fwmark_accept is a function in the tcp/dccp package that handles firewall marks for TCP connections.

This vulnerability can lead to unpredictable behavior and potential security risks, allowing attackers to manipulate network connections and bypass firewall rules.

To fix this vulnerability, update the Linux Kernel to version v5.18.15 or later.

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