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().
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Fri, 21 Aug 2026 00:15:00 +0000


Mon, 17 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Mon, 17 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Mon, 17 Aug 2026 06:00:00 +0000

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'}


Sat, 15 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 15 Aug 2026 06:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:46:42.049Z

Reserved: 2026-08-15T05:44:03.891Z

Link: CVE-2026-74397

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:41.690

Modified: 2026-08-17T06:19:34.820

Link: CVE-2026-74397

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74397 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:30:17Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime