Race Condition Vulnerability in xsk

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001534: xsk: Fix race at socket teardown. Affects Kernel versions >= 42fddcc7c64b723a867c7b2f5f7505e244212f13, < d1579253ffce39986e7a6ab757ac93b2680a665f. 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 xsk package is a component of the Linux Kernel, which is responsible for managing sockets. It provides an interface for creating and manipulating XDP sockets, which are used for high-performance packet processing. XDP sockets allow user space programs to process network packets directly from the network driver, bypassing the kernel networking stack. This vulnerability affects the xsk package in the Linux Kernel.

Vulnerability Detail

The race condition vulnerability in xsk occurs during socket teardown. A race condition is a flaw in software where the behavior of a program depends on the relative timing of events. In this case, a race condition can occur when a socket is being torn down, leading to a use-after-free or double-free vulnerability. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.16.19.

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

There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the fixed version as soon as possible.

Conclusion

The race condition vulnerability in xsk can be mitigated by updating the Linux Kernel to version v5.16.19 or later. It is important to regularly update the Linux Kernel to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

xsk is a component of the Linux Kernel that provides an interface for creating and manipulating XDP sockets.

A race condition is a flaw in software where the behavior of a program depends on the relative timing of events.

A use-after-free vulnerability occurs when a program uses memory after it has been freed, which can lead to unexpected behavior or security issues.

A double-free vulnerability occurs when a program frees the same memory block twice, which can lead to memory corruption and potential security issues.

To update the Linux Kernel, you can download the latest stable version from the official repository and follow the installation instructions provided.

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