af_packet: Fix Data Race in packet_setsockopt / packet_setsockopt

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000277: af_packet: fix data-race in packet_setsockopt / packet_setsockopt. Affects Kernel versions >= 47dceb8ecdc1c3ad1818dfea3d659a05b74c3fc2, < 34321180b94dbcd12abc130eb48c4ce67a3408aa. 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_packet package is a component of the Linux Kernel ecosystem. It provides a socket interface for packet-level network access. This vulnerability affects versions of the Linux Kernel starting from v4.3 and was fixed in v5.15.20. The vulnerability is related to a data race in the packet_setsockopt and packet_setsockopt functions.

Vulnerability Detail

The vulnerability in af_packet arises due to a data race in the packet_setsockopt and packet_setsockopt functions. This data race can lead to unpredictable behavior and potential security issues. While the impact and attack plausibility have not been proven, it is crucial to address this vulnerability 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

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is recommended to update to the latest version to mitigate the risk.

Conclusion

The af_packet vulnerability, which involves a data race in the packet_setsockopt and packet_setsockopt functions, has been fixed in Linux Kernel version v5.15.20. It is recommended to update to the latest version to ensure the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

af_packet is a component of the Linux Kernel that provides a socket interface for packet-level network access.

A data race is a condition that occurs when multiple threads or processes access shared data concurrently without proper synchronization, leading to unpredictable behavior and potential security vulnerabilities.

The impact of this vulnerability is not yet proven, but it has the potential to result in security issues and instability in the system.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file, such as package-lock.json, and Vulert will analyze it for open-source vulnerabilities in real-time.

You can find more information about this vulnerability in the Open Source Vulnerability Database. The specific vulnerability ID is GSD-2022-1000277.

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