Critical Vulnerability in Linux Kernel: Bonding Mode XDP Program Check

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
No i
Unrated
Not published

CVE-2025-22105: In the Linux kernel, the following vulnerability has been resolved: bonding: check xdp prog when set bond mode Following operations can trigger a warning[1]: ip netns add ns1 ip netns exec ns1 ip link add bond0 type bond... Affects linux versions 6.1.106-1 – 6.9.9-1. 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. It supports various functionalities, including process management, memory management, and device drivers. This vulnerability specifically affects the bonding feature, which allows multiple network interfaces to be combined for redundancy or increased throughput. The issue arises when changing the bond mode while an XDP (eXpress Data Path) program is attached, leading to potential warnings and instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the bonding feature related to the handling of XDP programs. When a user attempts to change the bond mode after attaching an XDP program, it can trigger a warning due to the incompatibility of certain bond modes with native XDP. This situation occurs during the deletion of a network namespace, where the system checks the bond mode and may lead to unexpected behavior or system instability. The warning indicates that the system has encountered an issue that could affect network performance and reliability.

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, avoid changing the bond mode after an XDP program has been attached. Instead, detach the XDP program before modifying the bond mode. The commands to do this are as follows: 'ip netns exec ns1 ip link set bond0 xdp off' followed by 'ip netns exec ns1 ip link set bond0 type bond mode <desired_mode>'.

Conclusion

The vulnerability in the Linux kernel regarding bonding mode and XDP program checks poses a risk to network stability and performance. Users are advised to follow the recommended steps to fix the issue and utilize workarounds until a patch can be applied. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to warnings and potential instability in network performance when changing bond modes with XDP programs attached.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Yes, users are encouraged to update to the latest patched version of the Linux kernel to resolve this issue.

As a temporary measure, ensure that you do not change the bond mode after attaching an XDP program to avoid triggering warnings.

XDP (eXpress Data Path) is a high-performance packet processing framework in the Linux kernel that allows for fast packet handling at the driver level.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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