Data-race vulnerability in af_unix package

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003705: af_unix: Fix a data-race in unix_dgram_peer_wake_me(). Affects Kernel versions >= 7d267278a9ece963d77eefec61630223fce08c6c, < 556720013c36c193d9cbfb06e7b33e51f0c39fbf. 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 af_unix package is a part of the Linux Kernel ecosystem and is responsible for handling Unix domain sockets. Unix domain sockets allow communication between processes on the same host using file system APIs instead of network protocols. These sockets are widely used for inter-process communication in Linux systems.

Vulnerability Detail

The vulnerability, identified as GSD-2022-1003705, exists in the af_unix package and specifically in the unix_dgram_peer_wake_me() function. This vulnerability is a data-race issue that can lead to unpredictable behavior and potential security risks. The data-race occurs when multiple threads access shared data concurrently without proper synchronization. Attackers may exploit this vulnerability to manipulate the shared data and potentially execute arbitrary code or cause a denial-of-service condition.

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, developers can consider implementing proper synchronization mechanisms, such as locks or atomic operations, when accessing shared data in the affected function. However, applying the official fix by updating the Kernel is the recommended approach.

Conclusion

The data-race vulnerability in the af_unix package can lead to unpredictable behavior and potential security risks. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. Developers can also consider implementing proper synchronization mechanisms as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to unpredictable behavior and potential security risks. Attackers may exploit the data-race issue to manipulate shared data and potentially execute arbitrary code or cause a denial-of-service condition.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just a manifest file like package-lock.json.

At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the fix or update the Kernel to mitigate the risk.

Developers can consider implementing proper synchronization mechanisms, such as locks or atomic operations, when accessing shared data in the affected function. However, applying the official fix by updating the Kernel is the recommended approach.

To exploit this vulnerability, an attacker would need the ability to execute arbitrary code or manipulate shared data in the affected function. The impact may vary depending on the system's configuration and the attacker's privileges.

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