CVE-2026-139369

net/mlx5e: use skb_share_check() in the loopback selftest hook

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: use skb_share_check() in the loopback selftest hook

The loopback hook gets a shared skb when another ETH_P_IP handler is
bound to the device. skb_linearize() on a non-linear frame then hits
BUG_ON(skb_shared()).

Call skb_share_check() before linearizing the skb.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel’s mlx5e driver, where the loopback selftest hook attempts to linearize a non‑linear socket buffer that remains shared. This triggers a BUG_ON due to skb_shared() returning true, causing the kernel to panic. The impact is a denial of service condition, resulting in a system crash when the affected pathway is executed.

Affected Systems

All Linux kernels that include the mlx5e network driver and compile the loopback selftest hook are affected. No specific version range is provided, so any distribution deploying this driver is likely vulnerable until the patch is applied.

Risk and Exploitability

There is no CVSS score listed, but the crash condition indicates high severity. The EPSS score is not available, and the vulnerability is not present in the CISA KEV catalog. It is inferred that an attacker would need to send a specially crafted packet or otherwise trigger the loopback selftest on a device running the affected driver, requiring local network access or sufficient privileges. The attack vector likely involves network input interacting with the driver’s selftest routine.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the commit addressing the skb_share_check fix
  • If an immediate kernel upgrade is infeasible, patch the kernel source locally by applying the relevant commit or patch, then rebuild and install the kernel
  • As a temporary measure, disable the loopback selftest hook if configurable, or configure the mlx5e driver to avoid binding ETH_P_IP handlers to the device where possible
  • Monitor kernel logs for BUG_ON occurrences and restrict privileged processes that can generate or manipulate packets targeted at the mlx5e device

Generated by OpenCVE AI on November 30, 2026 at 22:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-665
CWE-754
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: use skb_share_check() in the loopback selftest hook The loopback hook gets a shared skb when another ETH_P_IP handler is bound to the device. skb_linearize() on a non-linear frame then hits BUG_ON(skb_shared()). Call skb_share_check() before linearizing the skb.
Title net/mlx5e: use skb_share_check() in the loopback selftest hook
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-754

    Improper Check for Unusual or Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM