# CVE-2022-48726: RDMA/ucma: Protect mc during concurrent multicast leaves

> 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-06-20T11:13:15.957Z
- **Modified:** 2026-08-05T08:51:58.060Z

## Who should check

- Anyone running Linux \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 75c610212b9f1756b9384911d3a2c347eee8031c; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 2923948ffe0835f7114e948b35bcc42bc9b3baa1; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< ee2477e8ccd3d978eeac0dc5a981b286d9bb7b0a; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 36e8169ec973359f671f9ec7213547059cae972e
- Anyone running Linux 5.10

## Description

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

RDMA/ucma: Protect mc during concurrent multicast leaves

Partially revert the commit mentioned in the Fixes line to make sure that
allocation and erasing multicast struct are locked.

  BUG: KASAN: use-after-free in ucma\_cleanup\_multicast drivers/infiniband/core/ucma.c:491 \[inline\]
  BUG: KASAN: use-after-free in ucma\_destroy\_private\_ctx+0x914/0xb70 drivers/infiniband/core/ucma.c:579
  Read of size 8 at addr ffff88801bb74b00 by task syz-executor.1/25529
  CPU: 0 PID: 25529 Comm: syz-executor.1 Not tainted 5.16.0-rc7-syzkaller \#0
  Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
  Call Trace:
   \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
   dump\_stack\_lvl+0xcd/0x134 lib/dump\_stack.c:106
   print\_address\_description.constprop.0.cold+0x8d/0x320 mm/kasan/report.c:247
   \_\_kasan\_report mm/kasan/report.c:433 \[inline\]
   kasan\_report.cold+0x83/0xdf mm/kasan/report.c:450
   ucma\_cleanup\_multicast drivers/infiniband/core/ucma.c:491 \[inline\]
   ucma\_destroy\_private\_ctx+0x914/0xb70 drivers/infiniband/core/ucma.c:579
   ucma\_destroy\_id+0x1e6/0x280 drivers/infiniband/core/ucma.c:614
   ucma\_write+0x25c/0x350 drivers/infiniband/core/ucma.c:1732
   vfs\_write+0x28e/0xae0 fs/read\_write.c:588
   ksys\_write+0x1ee/0x250 fs/read\_write.c:643
   do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
   do\_syscall\_64+0x35/0xb0 arch/x86/entry/common.c:80
   entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae

Currently the xarray search can touch a concurrently freeing mc as the
xa\_for\_each() is not surrounded by any lock. Rather than hold the lock for
a full scan hold it only for the effected items, which is usually an empty
list.

## Affected and fixed versions

- Linux: \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 75c610212b9f1756b9384911d3a2c347eee8031c; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 2923948ffe0835f7114e948b35bcc42bc9b3baa1; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< ee2477e8ccd3d978eeac0dc5a981b286d9bb7b0a; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 36e8169ec973359f671f9ec7213547059cae972e (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 36e8169ec973359f671f9ec7213547059cae972e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48726.md
Affected: Linux >= 95fe51096b7adf1d1e7315c49c75e2f75f162584, < 75c610212b9f1756b9384911d3a2c347eee8031c; >= 95fe51096b7adf1d1e7315c49c75e2f75f162584, < 2923948ffe0835f7114e948b35bcc42bc9b3baa1; >= 95fe51096b7adf1d1e7315c49c75e2f75f162584, < ee2477e8ccd3d978eeac0dc5a981b286d9bb7b0a; >= 95fe51096b7adf1d1e7315c…
Fixed in: Linux 75c610212b9f1756b9384911d3a2c347eee8031c, Linux 2923948ffe0835f7114e948b35bcc42bc9b3baa1, Linux 36e8169ec973359f671f9ec7213547059cae972e

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-2022-48726 being exploited?

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

### How serious is CVE-2022-48726?

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

### Which versions are affected by CVE-2022-48726?

Linux \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 75c610212b9f1756b9384911d3a2c347eee8031c; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 2923948ffe0835f7114e948b35bcc42bc9b3baa1; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< ee2477e8ccd3d978eeac0dc5a981b286d9bb7b0a; \>= 95fe51096b7adf1d1e7315c49c75e2f75f162584, \< 36e8169ec973359f671f9ec7213547059cae972e; Linux 5.10.

### Is there a fix for CVE-2022-48726?

Yes. Fixed in Linux 75c610212b9f1756b9384911d3a2c347eee8031c, Linux 2923948ffe0835f7114e948b35bcc42bc9b3baa1, Linux 36e8169ec973359f671f9ec7213547059cae972e. Upgrade Linux to 36e8169ec973359f671f9ec7213547059cae972e or later.

### How do I check if I'm affected by CVE-2022-48726?

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/75c610212b9f1756b9384911d3a2c347eee8031c>
- patch: <https://git.kernel.org/stable/c/2923948ffe0835f7114e948b35bcc42bc9b3baa1>
- patch: <https://git.kernel.org/stable/c/ee2477e8ccd3d978eeac0dc5a981b286d9bb7b0a>
- patch: <https://git.kernel.org/stable/c/36e8169ec973359f671f9ec7213547059cae972e>

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

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