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

RDMA/nldev: Fix locking when accessing mr->pd

Sashiko points out that, due to rereg_mr, the PD is actually variable and
all the touches in nldev are racy.

Use mr->device instead of mr->pd->device.

Getting the PD restrack ID is more tricky. To avoid disturbing all the
happy paths, add an rdma_restrack_sync() operation which is sort of like
flush_workqueue() or synchronize_irq(): after it returns, all the old
nldev touches to the mr are gone and everything sees the new PD. This
makes it safe to reach into the PD pointer.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from a race condition in the Linux kernel's RDMA/nldev subsystem. When rereg_mr reassigns the protection domain (PD), concurrent accesses to mr->pd become unsafe, potentially allowing an attacker to read or write to the wrong PD, leading to memory corruption or incorrect device context. The weakness is a classic race condition (CWE-366).

Affected Systems

All releases of the Linux kernel that contain the vulnerable RDMA/nldev code are affected. The patch addresses the issue in the kernel code base; exact kernel versions are not specified, so it is safest to assume all earlier kernel versions are vulnerable until patched.

Risk and Exploitability

The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, indicating no public exploitation has been reported. However, the nature of the race condition means that if an attacker can trigger concurrent RDMA operations or control the rereg_mr flow, they could potentially corrupt memory or disrupt RDMA functionality. This CVSS score of 7.8 categorizes it as high severity, and combined with low exploitation probability warrants prompt remediation.

Generated by OpenCVE AI on August 22, 2026 at 01:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the latest RDMA/nldev fix from commit 1a132ee4e655288d9a0937ea5109a0d038431ae9.
  • If a kernel upgrade is not immediately possible, disable RDMA/nldev functionality or unload the related kernel modules to eliminate the vulnerable code path from the system.
  • If disabling RDMA is not an option, add explicit rdma_restrack_sync() calls around operations that may touch mr->pd to force synchronization and prevent concurrent access races.

Generated by OpenCVE AI on August 22, 2026 at 01:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Wed, 19 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/nldev: Fix locking when accessing mr->pd Sashiko points out that, due to rereg_mr, the PD is actually variable and all the touches in nldev are racy. Use mr->device instead of mr->pd->device. Getting the PD restrack ID is more tricky. To avoid disturbing all the happy paths, add an rdma_restrack_sync() operation which is sort of like flush_workqueue() or synchronize_irq(): after it returns, all the old nldev touches to the mr are gone and everything sees the new PD. This makes it safe to reach into the PD pointer.
Title RDMA/nldev: Fix locking when accessing mr->pd
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:46:03.176Z

Reserved: 2026-08-15T05:44:03.885Z

Link: CVE-2026-74334

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:34.280

Modified: 2026-08-17T06:19:27.890

Link: CVE-2026-74334

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74334 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T01:30:17Z

Weaknesses
  • CWE-366

    Race Condition within a Thread