Use-after-free vulnerability in xdp, net package

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

UVI-2021-1001246: xdp, net: Fix use-after-free in bpf_xdp_link_release. Affects Kernel versions >= aa8d3a716b59db6c1ad6c68fb8aa05e31980da60, < ca9ba1de8f09976b45ccc8e655c51c6201992139. 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 xdp, net package is a component of the Linux Kernel, which is responsible for handling network-related operations. It includes functionality for implementing the eXpress Data Path (XDP) framework, which allows for high-performance packet processing at the network driver level. The package is critical for network communication and plays a crucial role in ensuring the stability and security of the Linux operating system.

Vulnerability Detail

The use-after-free vulnerability in bpf_xdp_link_release function within the xdp, net package allows an attacker to exploit a memory corruption issue. By manipulating certain network operations, an attacker can trigger a use-after-free condition, leading to potential code execution or a system crash. This vulnerability was introduced in version v5.9 of the Linux Kernel and was fixed in version v5.10.54.

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 disable the affected functionality by removing or disabling the XDP framework. However, this may impact network performance and functionality. It is strongly advised to apply the official fix by updating the Linux Kernel to the patched version.

Conclusion

The use-after-free vulnerability in the xdp, net package of the Linux Kernel can have severe consequences, including potential code execution or system crashes. It is crucial to promptly update the Linux Kernel to the patched 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 xdp, net package is a component of the Linux Kernel responsible for network-related operations and includes functionality for implementing the eXpress Data Path (XDP) framework.

A use-after-free vulnerability occurs when a program continues to use a memory address after it has been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or crash the system.

An attacker can exploit this vulnerability by manipulating certain network operations to trigger a use-after-free condition in the bpf_xdp_link_release function within the xdp, net package.

The use-after-free vulnerability in the xdp, net package can potentially allow an attacker to execute arbitrary code or crash the system, compromising the stability and security of the Linux operating system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.54 or later by downloading the latest stable version from the official repository and following 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