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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-08-15T05:59:09.329Z
- Modified: 2026-10-30T13:19:56.737Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 146d2f1af3245a10b13eef263687e54f4e253d1d before 6da717ed8a0703a331295fdd5ad8b7eacec216ad; from 146d2f1af3245a10b13eef263687e54f4e253d1d before 2c3b2667dad69d56774b79db763acb3a1bee0fc0; from 146d2f1af3245a10b13eef263687e54f4e253d1d before 37fc3cc0f924fd8d0f0cf87b92672dec75a32e57; from 146d2f1af3245a10b13eef263687e54f4e253d1d before 65e344925fa30abf50c8de8c150b397715fa2066; from 146d2f1af3245a10b13eef263687e54f4e253d1d before f88e12c95fc19f719e06ca1e9eb20fdad68ef61a; from 146d2f1af3245a10b13eef263687e54f4e253d1d before e79389115b9d27287ff6230a9750675106ed7668; 4.5 (not affected: before 4.5; from 6.1.191 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-74397](https://www.cve.org/CVERecord?id=CVE-2026-74397), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-74397](https://nvd.nist.gov/vuln/detail/CVE-2026-74397), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-74397 · Whole record: https://cve.day/CVE-2026-74397.json · Rebuilt by cve.day 2026-11-25T22:59:33.195Z
