Critical Vulnerability in Linux Package: Eth: Bnxt Truesize Calculation Flaw

linux Updated 02 Oct 2025

Summary

01/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21961: In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: fix truesize for mb-xdp-pass case When mb-xdp is set and return is XDP_PASS, packet is converted from xdp_buff to sk_buff with xdp_update_skb... Affects linux versions < 6.12.20-1. Fixed in 6.12.20-1. 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 Your last release was probably never penetration tested 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 a core component of the operating system, responsible for managing hardware and system resources. It provides essential functionalities such as process management, memory management, and device control. The kernel is highly modular, allowing for various drivers and subsystems to be integrated. This specific vulnerability affects the 'linux' package in Debian versions 13 and 14, which are widely used in server and desktop environments.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the bnxt driver related to the handling of packet sizes when using the mb-xdp feature. When mb-xdp is enabled and the return value is XDP_PASS, the packet is incorrectly converted from xdp_buff to sk_buff due to an erroneous truesize argument passed to the xdp_update_skb_shared_info() function. This miscalculation can lead to system warnings and potential instability, as evidenced by the warning messages generated during operation. The flaw arises from the improper handling of skb_shared_info, which can cause unexpected behavior in packet processing.

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using the mb-xdp feature until the package is updated. This can be done by disabling the feature in the network interface settings.

Conclusion

The identified vulnerability in the Linux kernel's bnxt driver poses a risk to systems using the mb-xdp feature. It is crucial to update to the patched version to mitigate potential issues. Users are encouraged to monitor their systems for vulnerabilities using tools like Vulert.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to system warnings and potential instability during packet processing, which may affect network performance.

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

Yes, a patch is available in the form of the updated package version 6.12.20-1 or later.

If an immediate update is not possible, consider disabling the mb-xdp feature as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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