IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.145, 6.12.97, 6.18.40, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 146d2f1af3245a10b13eef263687e54f4e253d1d · fixed in 2c3b2667dad69d56774b79db763acb3a1bee0fc0; From 146d2f1af3245a10b13eef263687e54f4e253d1d · fixed in 37fc3cc0f924fd8d0f0cf87b92672dec75a32e57; From 146d2f1af3245a10b13eef263687e54f4e253d1d · fixed in 65e344925fa30abf50c8de8c150b397715fa2066; From 146d2f1af3245a10b13eef263687e54f4e253d1d · fixed in f88e12c95fc19f719e06ca1e9eb20fdad68ef61a; From 146d2f1af3245a10b13eef263687e54f4e253d1d · fixed in e79389115b9d27287ff6230a9750675106ed7668
- Linux Linux
4.5
- KernelLinux
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