CVE-2025-38439

Description

A flaw was found in the Linux kernel's Broadcom NetXtreme-E (bnxt_en) driver. When handling packet forwarding via eXpress Data Path (XDP) redirection on systems with an Input-Output Memory Management Unit (IOMMU) enabled, the driver sets an invalid zero length for Direct Memory Access (DMA) unmapping. An attacker capable of triggering this network path could cause a kernel warning, leading to system instability or a Denial of Service (DoS).

Statement

This patch fixes a bug in the bnxt_en driver where an incorrect DMA length of zero was passed for XDP_REDIRECT, which triggered a kernel warning on systems with IOMMU enabled. The fix ensures that the proper DMA length is set before unmapping, preventing erroneous IOMMU behavior and potential kernel crashes. This issue could lead to denial-of-service under specific configurations with active XDP and IOMMU. The vulnerability does not impact confidentiality (C:N) or integrity (I:N), as no sensitive data is exposed and no unauthorized data modification occurs. However, it does affect availability (A:L), since the kernel warning caused by an invalid DMA unmap length may lead to system instability or crashes—particularly on systems with panic_on_warn=1 or strict IOMMU enforcement. No special privileges are required to trigger this issue in the kernel context, and it occurs during normal operation of the XDP_REDIRECT path in the driver, hence privileges required are rated as none (PR:N).

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score75.59.8
Attack VectorLocalLocalNetwork
Attack ComplexityHighLowLow
Privileges RequiredLowLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighNoneHigh
Integrity ImpactHighNoneHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands; Modify Memory

This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. If the memory accessible by the attacker can be effectively controlled, it may be possible to execute arbitrary code, as with a standard buffer overflow. If the attacker can overwrite a pointer's worth of memory (usually 32 or 64 bits), they can alter the intended control flow by redirecting a function pointer to their own malicious code. Even when the attacker can only modify a single byte, arbitrary code execution can be possible. Sometimes this is because the same problem can be exploited repeatedly to the same effect. Other times it is because the attacker can overwrite security-critical application-specific data -- such as a flag indicating whether the user is an administrator.

Availability,Confidentiality

Technical Impact: Read Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)

Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.

Confidentiality

Technical Impact: Read Memory

In the case of an out-of-bounds read, the attacker may have access to sensitive information. If the sensitive information contains system details, such as the current buffer's position in memory, this knowledge can be used to craft further attacks, possibly with more severe consequences.

Frequently Asked Questions

Want to get errata notifications? Sign up here.