# CVE-2026-89508: RDMA/ucma: Lock the handler in ucma\_set\_ib\_path()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:43:54.682Z
- **Modified:** 2026-10-19T09:17:45.060Z

## Who should check

- Anyone running Linux \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 3dd07b369371a2f29e1c3caf1ade85bb92b4c551; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< b2da0d488a1c72956ebb0a57015ee8ee6a2f7748; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< a7f8d26e653ee43b0b572984b8ec544d3b3b6f3c; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 71dc206f2e2a645dac78879768762451aa1799f7; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 764586f8f6180084c5a7d622120f526acc6ce0c9; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 28ac2dd416482d1c763c4af5d61af465b387fb50; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 43a7d8ae9f645dc00235cfa4bf57673c20b769f8; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< ecbe7d36dc2de07e5dfbb4a8ff5b315ab43de820
- Anyone running Linux 5.10

## Description

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

RDMA/ucma: Lock the handler in ucma\_set\_ib\_path()

ucma\_set\_ib\_path() calls ucma\_event\_handler() straight from the write()
path, without the handler lock that keeps ctx-\>file stable while a uevent
is queued.  The handler re-reads ctx-\>file for every dereference:

	mutex\_lock(&ctx-\>file-\>mut);			/\* file A \*/
	list\_add\_tail(&uevent-\>list, &ctx-\>file-\>event\_list);	/\* file B \*/
	mutex\_unlock(&ctx-\>file-\>mut);			/\* file B \*/
	wake\_up\_interruptible(&ctx-\>file-\>poll\_wait);	/\* file B \*/

A concurrent ucma\_migrate\_id() reassigns ctx-\>file while the SET\_OPTION
caller sleeps in mutex\_lock(), so the list\_add\_tail() lands on file B's
event\_list while only file A's mutex is held, racing every other user of
that list:

  BUG: KASAN: slab-use-after-free in \_\_list\_add\_valid\_or\_report+0x1aa/0x1c0
  Read of size 8 at addr ffff888153c6a418 by task poc\_corr/486
  Call Trace:
   \_\_list\_add\_valid\_or\_report+0x1aa/0x1c0
   ucma\_event\_handler+0x1be/0xc00
   ucma\_set\_ib\_path+0x45e/0x710
   ucma\_set\_option+0x32e/0x590
   ucma\_write+0x1f9/0x330
  Allocated by task 505:
   ucma\_write\_cm\_event+0x1a1/0x660
  Freed by task 505:
   kfree+0x1da/0x4c0
   ucma\_get\_event+0x5d5/0x7e0

The freed object is a ucma\_event that another thread dequeued from file B's
list under file B's mutex.  File A's mut is left held on top of that,
wedging its next writer in uninterruptible sleep.

This path needs a bound and address-resolved cm\_id, so it requires an RDMA
device to be present.

Take the handler lock around the call.

## Affected and fixed versions

- Linux: \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 3dd07b369371a2f29e1c3caf1ade85bb92b4c551; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< b2da0d488a1c72956ebb0a57015ee8ee6a2f7748; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< a7f8d26e653ee43b0b572984b8ec544d3b3b6f3c; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 71dc206f2e2a645dac78879768762451aa1799f7; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 764586f8f6180084c5a7d622120f526acc6ce0c9; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 28ac2dd416482d1c763c4af5d61af465b387fb50; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 43a7d8ae9f645dc00235cfa4bf57673c20b769f8; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< ecbe7d36dc2de07e5dfbb4a8ff5b315ab43de820 (cvelist)
- Linux: 5.10 (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-89508. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89508.md
Affected: Linux >= 09e328e47a695b0d346598f5d6593ee598e64885, < 3dd07b369371a2f29e1c3caf1ade85bb92b4c551; >= 09e328e47a695b0d346598f5d6593ee598e64885, < b2da0d488a1c72956ebb0a57015ee8ee6a2f7748; >= 09e328e47a695b0d346598f5d6593ee598e64885, < a7f8d26e653ee43b0b572984b8ec544d3b3b6f3c; >= 09e328e47a695b0d346598f…
Fixed in: Linux 3dd07b369371a2f29e1c3caf1ade85bb92b4c551, Linux 71dc206f2e2a645dac78879768762451aa1799f7, Linux 764586f8f6180084c5a7d622120f526acc6ce0c9, Linux 28ac2dd416482d1c763c4af5d61af465b387fb50, Linux 43a7d8ae9f645dc00235cfa4bf57673c20b769f8

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-89508 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 3dd07b369371a2f29e1c3caf1ade85bb92b4c551; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< b2da0d488a1c72956ebb0a57015ee8ee6a2f7748; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< a7f8d26e653ee43b0b572984b8ec544d3b3b6f3c; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 71dc206f2e2a645dac78879768762451aa1799f7; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 764586f8f6180084c5a7d622120f526acc6ce0c9; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 28ac2dd416482d1c763c4af5d61af465b387fb50; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< 43a7d8ae9f645dc00235cfa4bf57673c20b769f8; \>= 09e328e47a695b0d346598f5d6593ee598e64885, \< ecbe7d36dc2de07e5dfbb4a8ff5b315ab43de820; Linux 5.10.

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

Yes. Fixed in Linux 3dd07b369371a2f29e1c3caf1ade85bb92b4c551, Linux 71dc206f2e2a645dac78879768762451aa1799f7, Linux 764586f8f6180084c5a7d622120f526acc6ce0c9, Linux 28ac2dd416482d1c763c4af5d61af465b387fb50, Linux 43a7d8ae9f645dc00235cfa4bf57673c20b769f8. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/3dd07b369371a2f29e1c3caf1ade85bb92b4c551>
- other: <https://git.kernel.org/stable/c/b2da0d488a1c72956ebb0a57015ee8ee6a2f7748>
- other: <https://git.kernel.org/stable/c/a7f8d26e653ee43b0b572984b8ec544d3b3b6f3c>
- other: <https://git.kernel.org/stable/c/71dc206f2e2a645dac78879768762451aa1799f7>
- other: <https://git.kernel.org/stable/c/764586f8f6180084c5a7d622120f526acc6ce0c9>
- other: <https://git.kernel.org/stable/c/28ac2dd416482d1c763c4af5d61af465b387fb50>
- other: <https://git.kernel.org/stable/c/43a7d8ae9f645dc00235cfa4bf57673c20b769f8>
- other: <https://git.kernel.org/stable/c/ecbe7d36dc2de07e5dfbb4a8ff5b315ab43de820>

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

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