# CVE-2026-45973: RDMA/mlx5: Fix UMR hang in LAG error state unload

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-28)
- **Published:** 2026-05-27T12:18:32.270Z
- **Modified:** 2026-11-06T17:17:27.243Z

## Who should check

- Anyone running Linux \>= 921fcf2971a1e8d3b904ba2c2905b96f4ec3d4ad, \< 33deba9bf5c34335182342588315f3db7dbc56d3; \>= 6b0acf6a94c31efa43fce4edc22413a3390f9c05, \< c8fb5c965ac7d0104872a8e4f6451f3bc6328199; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< 6d838873da9cb97551d42316967cc82bf8f8031b; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< 613f5d4139b6ba801ccd93f9a28943be60d903bc; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< ebc2164a4cd4314503f1a0c8e7aaf76d7e5fa211; 09ef1c03a7ac2b57be8aeb0c7a75d538ded2562a; 542bd62b7a7f37182c9ef192c2bd25d118c144e4; \>= 6.6.64, \< 6.6.160; \>= 6.12.2, \< 6.12.75; \>= 6.1.191, \< 6.2; …
- Anyone running Linux 6.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Fix UMR hang in LAG error state unload

During firmware reset in LAG mode, a race condition causes the driver
to hang indefinitely while waiting for UMR completion during device
unload. See \[1\].

In LAG mode the bond device is only registered on the master, so it
never sees sys\_error events from the slave.
During firmware reset this causes UMR waits to hang forever on unload
as the slave is dead but the master hasn't entered error state yet, so
UMR posts succeed but completions never arrive.

Fix this by adding a sys\_error notifier that gets registered before
MLX5\_IB\_STAGE\_IB\_REG and stays alive until after ib\_unregister\_device().
This ensures error events reach the bond device throughout teardown.

\[1\]
Call Trace:
 \_\_schedule+0x2bd/0x760
 schedule+0x37/0xa0
 schedule\_preempt\_disabled+0xa/0x10
 \_\_mutex\_lock.isra.6+0x2b5/0x4a0
 \_\_mlx5\_ib\_dereg\_mr+0x606/0x870 \[mlx5\_ib\]
 ? \_\_xa\_erase+0x4a/0xa0
 ? \_cond\_resched+0x15/0x30
 ? wait\_for\_completion+0x31/0x100
 ib\_dereg\_mr\_user+0x48/0xc0 \[ib\_core\]
 ? rdmacg\_uncharge\_hierarchy+0xa0/0x100
 destroy\_hw\_idr\_uobject+0x20/0x50 \[ib\_uverbs\]
 uverbs\_destroy\_uobject+0x37/0x150 \[ib\_uverbs\]
 \_\_uverbs\_cleanup\_ufile+0xda/0x140 \[ib\_uverbs\]
 uverbs\_destroy\_ufile\_hw+0x3a/0xf0 \[ib\_uverbs\]
 ib\_uverbs\_remove\_one+0xc3/0x140 \[ib\_uverbs\]
 remove\_client\_context+0x8b/0xd0 \[ib\_core\]
 disable\_device+0x8c/0x130 \[ib\_core\]
 \_\_ib\_unregister\_device+0x10d/0x180 \[ib\_core\]
 ib\_unregister\_device+0x21/0x30 \[ib\_core\]
 \_\_mlx5\_ib\_remove+0x1e4/0x1f0 \[mlx5\_ib\]
 auxiliary\_bus\_remove+0x1e/0x30
 device\_release\_driver\_internal+0x103/0x1f0
 bus\_remove\_device+0xf7/0x170
 device\_del+0x181/0x410
 mlx5\_rescan\_drivers\_locked.part.10+0xa9/0x1d0 \[mlx5\_core\]
 mlx5\_disable\_lag+0x253/0x260 \[mlx5\_core\]
 mlx5\_lag\_disable\_change+0x89/0xc0 \[mlx5\_core\]
 mlx5\_eswitch\_disable+0x67/0xa0 \[mlx5\_core\]
 mlx5\_unload+0x15/0xd0 \[mlx5\_core\]
 mlx5\_unload\_one+0x71/0xc0 \[mlx5\_core\]
 mlx5\_sync\_reset\_reload\_work+0x83/0x100 \[mlx5\_core\]
 process\_one\_work+0x1a7/0x360
 worker\_thread+0x30/0x390
 ? create\_worker+0x1a0/0x1a0
 kthread+0x116/0x130
 ? kthread\_flush\_work\_fn+0x10/0x10
 ret\_from\_fork+0x22/0x40

## Affected and fixed versions

- Linux: \>= 921fcf2971a1e8d3b904ba2c2905b96f4ec3d4ad, \< 33deba9bf5c34335182342588315f3db7dbc56d3; \>= 6b0acf6a94c31efa43fce4edc22413a3390f9c05, \< c8fb5c965ac7d0104872a8e4f6451f3bc6328199; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< 6d838873da9cb97551d42316967cc82bf8f8031b; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< 613f5d4139b6ba801ccd93f9a28943be60d903bc; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< ebc2164a4cd4314503f1a0c8e7aaf76d7e5fa211; 09ef1c03a7ac2b57be8aeb0c7a75d538ded2562a; 542bd62b7a7f37182c9ef192c2bd25d118c144e4; \>= 6.6.64, \< 6.6.160; \>= 6.12.2, \< 6.12.75; \>= 6.1.191, \< 6.2; … (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45973. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45973.md
Affected: Linux >= 921fcf2971a1e8d3b904ba2c2905b96f4ec3d4ad, < 33deba9bf5c34335182342588315f3db7dbc56d3; >= 6b0acf6a94c31efa43fce4edc22413a3390f9c05, < c8fb5c965ac7d0104872a8e4f6451f3bc6328199; >= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, < 6d838873da9cb97551d42316967cc82bf8f8031b; >= ede132a5cf559f3ab35a4c2…
Fixed in: Linux 33deba9bf5c34335182342588315f3db7dbc56d3, Linux 6d838873da9cb97551d42316967cc82bf8f8031b, Linux 613f5d4139b6ba801ccd93f9a28943be60d903bc, Linux 6.6.160, Linux 6.12.75, Linux 6.2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45973 being exploited?

There is no confirmed exploitation: CVE-2026-45973 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-45973?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45973?

Linux \>= 921fcf2971a1e8d3b904ba2c2905b96f4ec3d4ad, \< 33deba9bf5c34335182342588315f3db7dbc56d3; \>= 6b0acf6a94c31efa43fce4edc22413a3390f9c05, \< c8fb5c965ac7d0104872a8e4f6451f3bc6328199; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< 6d838873da9cb97551d42316967cc82bf8f8031b; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< 613f5d4139b6ba801ccd93f9a28943be60d903bc; \>= ede132a5cf559f3ab35a4c28bac4f4a6c20334d8, \< ebc2164a4cd4314503f1a0c8e7aaf76d7e5fa211; 09ef1c03a7ac2b57be8aeb0c7a75d538ded2562a; 542bd62b7a7f37182c9ef192c2bd25d118c144e4; \>= 6.6.64, \< 6.6.160; \>= 6.12.2, \< 6.12.75; \>= 6.1.191, \< 6.2; …; Linux 6.13.

### Is there a fix for CVE-2026-45973?

Yes. Fixed in Linux 33deba9bf5c34335182342588315f3db7dbc56d3, Linux 6d838873da9cb97551d42316967cc82bf8f8031b, Linux 613f5d4139b6ba801ccd93f9a28943be60d903bc, Linux 6.6.160, Linux 6.12.75, Linux 6.2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-45973?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c8fb5c965ac7d0104872a8e4f6451f3bc6328199>
- patch: <https://git.kernel.org/stable/c/6d838873da9cb97551d42316967cc82bf8f8031b>
- patch: <https://git.kernel.org/stable/c/613f5d4139b6ba801ccd93f9a28943be60d903bc>
- patch: <https://git.kernel.org/stable/c/ebc2164a4cd4314503f1a0c8e7aaf76d7e5fa211>
- other: <https://git.kernel.org/stable/c/33deba9bf5c34335182342588315f3db7dbc56d3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45973>

HTML: <https://flawdb.com/CVE-2026-45973> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45973>
