CVE-2026-74397

IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier

Published Aug 15, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier

mlx5_ib_alloc_transport_domain() allocates a transport domain and then
may fail in mlx5_ib_enable_lb(). In that case, the allocated TD is leaked.

Fix this by deallocating the TD when mlx5_ib_enable_lb() returns an
error. Also return 0 explicitly in the no-loopback-capability success
branch, and move dev->lb.mutex initialization to mlx5_ib_stage_init_init().

Analysis

AI-generated

Technical impact

The mlx5_ib driver in the Linux kernel allocates a transport domain during initialization. If enabling the load balancer fails, the driver does not deallocate the transport domain, resulting in a memory and resource leak. This leak can deplete RDMA context handles and destabilise the host, effectively causing a denial of service. The flaw also returns an unexpected value in the no‑loopback‑capability branch, which may confuse upper‑layer code and compound the resource exhaustion. The weakness is a classic memory‑leak failure.

Affected Systems

The vulnerability resides in the Linux kernel’s mlx5_ib driver. Any system running a kernel version that contains the driver before the commit series referenced in the advisory (2c3b2667, 37fc3cc0, 65e34492, e7938911, f88e12c9) is affected. This includes mainstream distribution kernels that have not yet incorporated these commits into their stable releases. Systems that use InfiniBand loopback functionality or enable the mlx5_ib module are the ones most likely to encounter the failing path.

Risk and Exploitability

The EPSS score is < 1 %, and the issue is not listed in the CISA KEV catalog, indicating no widely known exploitation at this time. Based on the description, the likely attack vector is local with kernel‑level privileges; a privileged user or kernel module developer could repeatedly trigger the enabling failure path and exhaust system resources, leading to a denial of service. With a CVSS score of 7.8, the potential impact on availability is moderate‑to‑high. Because the attack vector is plausibly local and the exploitation likelihood is low, immediate patching is recommended for any host that requires InfiniBand loopback or runs an affected kernel.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commits fixing the transport‑domain leak and early mutex initialization (for example, the latest 5.x or 6.x releases with commits 2c3b2667, 37fc3cc0, 65e34492, e7938911, f88e12c9).
  • If an immediate kernel upgrade is not possible, disable the mlx5_ib module or configure the system to turn off InfiniBand loopback capability so that the vulnerable allocation path is not exercised.
  • Reboot the system to ensure the unpatched driver is not loaded and monitor resource usage; isolate the affected machines until a kernel update is applied.

Generated by OpenCVE AI on August 21, 2026 at 23:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier mlx5_ib_alloc_transport_domain() allocates a transport domain and then may fail in mlx5_ib_enable_lb(). In that case, the allocated TD is leaked. Fix this by deallocating the TD when mlx5_ib_enable_lb() returns an error. Also return 0 explicitly in the no-loopback-capability success branch, and move dev->lb.mutex initialization to mlx5_ib_stage_init_init().
Title IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:29 PM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 30, 2026, 1:19 PM
Severity
Low
Public date
Aug 15, 2026, 12:00 AM