Race Condition Vulnerability in xsk

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001217: xsk: Fix race at socket teardown. Affects Kernel versions >= 42fddcc7c64b723a867c7b2f5f7505e244212f13, < 8a2dea162b92c322f3e42eae0c4a74b8d20aa7a9. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The xsk package is a component of the Linux Kernel, which is responsible for managing XDP sockets. XDP (eXpress Data Path) is a high-performance networking technology that allows for packet processing at the earliest possible stage in the Linux networking stack. XDP sockets provide a way to interact with XDP programs and handle incoming packets efficiently. However, a race condition vulnerability has been discovered in the xsk package, which could lead to potential security issues.

Vulnerability Detail

The race condition vulnerability in the xsk package occurs during socket teardown. This vulnerability allows for a race condition to happen when multiple threads attempt to tear down the same socket simultaneously. As a result, it is possible for one thread to free the socket structure while another thread is still using it, leading to undefined behavior and potential security risks. The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to address it to ensure the stability and security of the system.

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 specific workaround mentioned for this vulnerability. However, it is crucial to update the Linux Kernel to the fixed version as soon as possible to eliminate the risk of the race condition vulnerability.

Conclusion

The race condition vulnerability in the xsk package of the Linux Kernel can potentially lead to security issues. It is crucial to update the kernel to version v5.17.2 or later 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 xsk package is a component of the Linux Kernel that manages XDP sockets, allowing for efficient packet processing at the earliest stage of the networking stack.

A race condition vulnerability occurs when multiple threads or processes access shared resources concurrently, leading to unexpected and potentially harmful behavior.

The impact of this vulnerability is not yet proven, but it could potentially lead to security issues due to the race condition during socket teardown.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.2 or later, which includes the necessary fix for the race condition.

There is no specific workaround mentioned for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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