# CVE-2023-53525: RDMA/cma: Allow UD qp\_type to join multicast only

> 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.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-10-01T11:46:11.188Z
- **Modified:** 2026-06-17T06:45:31.933Z

## Who should check

- Anyone running Linux \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< ae11498851423d6de27aebfe12a5ee85060ab1d5; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 48e8e7851dc0b1584d83817a78fc7108c8904b54; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 02eabb635bc64bd1e3a7cf887d6d182bffb64b99; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< bb18b9dbac2bbdf7695e0bfaac4bf944ff7b207d; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 58e84f6b3e84e46524b7e5a916b53c1ad798bc8f; b8d1adbff983be0b54f61c9a4169609d7fab0620; feed39c8d1282279fcb30612aa0e8d2635c11280; \>= 5.8.17, \< 5.9; \>= 5.9.2, \< 5.10
- Anyone running Linux 5.10

## Description

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

RDMA/cma: Allow UD qp\_type to join multicast only

As for multicast:
- The SIDR is the only mode that makes sense;
- Besides PS\_UDP, other port spaces like PS\_IB is also allowed, as it is
  UD compatible. In this case qkey also needs to be set \[1\].

This patch allows only UD qp\_type to join multicast, and set qkey to
default if it's not set, to fix an uninit-value error: the ib-\>rec.qkey
field is accessed without being initialized.

=====================================================
BUG: KMSAN: uninit-value in cma\_set\_qkey drivers/infiniband/core/cma.c:510 \[inline\]
BUG: KMSAN: uninit-value in cma\_make\_mc\_event+0xb73/0xe00 drivers/infiniband/core/cma.c:4570
 cma\_set\_qkey drivers/infiniband/core/cma.c:510 \[inline\]
 cma\_make\_mc\_event+0xb73/0xe00 drivers/infiniband/core/cma.c:4570
 cma\_iboe\_join\_multicast drivers/infiniband/core/cma.c:4782 \[inline\]
 rdma\_join\_multicast+0x2b83/0x30a0 drivers/infiniband/core/cma.c:4814
 ucma\_process\_join+0xa76/0xf60 drivers/infiniband/core/ucma.c:1479
 ucma\_join\_multicast+0x1e3/0x250 drivers/infiniband/core/ucma.c:1546
 ucma\_write+0x639/0x6d0 drivers/infiniband/core/ucma.c:1732
 vfs\_write+0x8ce/0x2030 fs/read\_write.c:588
 ksys\_write+0x28c/0x520 fs/read\_write.c:643
 \_\_do\_sys\_write fs/read\_write.c:655 \[inline\]
 \_\_se\_sys\_write fs/read\_write.c:652 \[inline\]
 \_\_ia32\_sys\_write+0xdb/0x120 fs/read\_write.c:652
 do\_syscall\_32\_irqs\_on arch/x86/entry/common.c:114 \[inline\]
 \_\_do\_fast\_syscall\_32+0x96/0xf0 arch/x86/entry/common.c:180
 do\_fast\_syscall\_32+0x34/0x70 arch/x86/entry/common.c:205
 do\_SYSENTER\_32+0x1b/0x20 arch/x86/entry/common.c:248
 entry\_SYSENTER\_compat\_after\_hwframe+0x4d/0x5c

Local variable ib.i created at:
cma\_iboe\_join\_multicast drivers/infiniband/core/cma.c:4737 \[inline\]
rdma\_join\_multicast+0x586/0x30a0 drivers/infiniband/core/cma.c:4814
ucma\_process\_join+0xa76/0xf60 drivers/infiniband/core/ucma.c:1479

CPU: 0 PID: 29874 Comm: syz-executor.3 Not tainted 5.16.0-rc3-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

\[1\] https://lore.kernel.org/linux-rdma/20220117183832.GD84788@nvidia.com/

## Affected and fixed versions

- Linux: \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< ae11498851423d6de27aebfe12a5ee85060ab1d5; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 48e8e7851dc0b1584d83817a78fc7108c8904b54; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 02eabb635bc64bd1e3a7cf887d6d182bffb64b99; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< bb18b9dbac2bbdf7695e0bfaac4bf944ff7b207d; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 58e84f6b3e84e46524b7e5a916b53c1ad798bc8f; b8d1adbff983be0b54f61c9a4169609d7fab0620; feed39c8d1282279fcb30612aa0e8d2635c11280; \>= 5.8.17, \< 5.9; \>= 5.9.2, \< 5.10 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 5.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53525.md
Affected: Linux >= b5de0c60cc30c2a3513c7188c73f3f29acc29234, < ae11498851423d6de27aebfe12a5ee85060ab1d5; >= b5de0c60cc30c2a3513c7188c73f3f29acc29234, < 48e8e7851dc0b1584d83817a78fc7108c8904b54; >= b5de0c60cc30c2a3513c7188c73f3f29acc29234, < 02eabb635bc64bd1e3a7cf887d6d182bffb64b99; >= b5de0c60cc30c2a3513c718…
Fixed in: Linux 48e8e7851dc0b1584d83817a78fc7108c8904b54, Linux 02eabb635bc64bd1e3a7cf887d6d182bffb64b99, Linux 58e84f6b3e84e46524b7e5a916b53c1ad798bc8f, Linux 5.9, Linux 5.10

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-2023-53525 being exploited?

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

### How serious is CVE-2023-53525?

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

### Which versions are affected by CVE-2023-53525?

Linux \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< ae11498851423d6de27aebfe12a5ee85060ab1d5; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 48e8e7851dc0b1584d83817a78fc7108c8904b54; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 02eabb635bc64bd1e3a7cf887d6d182bffb64b99; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< bb18b9dbac2bbdf7695e0bfaac4bf944ff7b207d; \>= b5de0c60cc30c2a3513c7188c73f3f29acc29234, \< 58e84f6b3e84e46524b7e5a916b53c1ad798bc8f; b8d1adbff983be0b54f61c9a4169609d7fab0620; feed39c8d1282279fcb30612aa0e8d2635c11280; \>= 5.8.17, \< 5.9; \>= 5.9.2, \< 5.10; Linux 5.10.

### Is there a fix for CVE-2023-53525?

Yes. Fixed in Linux 48e8e7851dc0b1584d83817a78fc7108c8904b54, Linux 02eabb635bc64bd1e3a7cf887d6d182bffb64b99, Linux 58e84f6b3e84e46524b7e5a916b53c1ad798bc8f, Linux 5.9, Linux 5.10. Upgrade Linux to 5.10 or later.

### How do I check if I'm affected by CVE-2023-53525?

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/ae11498851423d6de27aebfe12a5ee85060ab1d5>
- patch: <https://git.kernel.org/stable/c/48e8e7851dc0b1584d83817a78fc7108c8904b54>
- patch: <https://git.kernel.org/stable/c/02eabb635bc64bd1e3a7cf887d6d182bffb64b99>
- patch: <https://git.kernel.org/stable/c/bb18b9dbac2bbdf7695e0bfaac4bf944ff7b207d>
- patch: <https://git.kernel.org/stable/c/58e84f6b3e84e46524b7e5a916b53c1ad798bc8f>

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

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