Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-74397

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

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 146d2f1af3245a10b13eef263687e54f4e253d1d to < 2c3b2667dad69d56774b79db763acb3a1bee0fc0affected
  • 146d2f1af3245a10b13eef263687e54f4e253d1d to < 37fc3cc0f924fd8d0f0cf87b92672dec75a32e57affected
  • 146d2f1af3245a10b13eef263687e54f4e253d1d to < 65e344925fa30abf50c8de8c150b397715fa2066affected
  • 146d2f1af3245a10b13eef263687e54f4e253d1d to < f88e12c95fc19f719e06ca1e9eb20fdad68ef61aaffected
  • 146d2f1af3245a10b13eef263687e54f4e253d1d to < e79389115b9d27287ff6230a9750675106ed7668affected

Linux Linux

Default version status: affected

  • 4.5affected
  • 0 to < 4.5unaffected
  • 6.6.145 to ≤ 6.6.*unaffected
  • 6.12.97 to ≤ 6.12.*unaffected
  • 6.18.40 to ≤ 6.18.*unaffected
  • 7.1.5 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References