CVE-2026-74334

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

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • da5c8507821573b8ed6e3f47e009f273493ffaf7 to before 845c6b355226195dad1f26b300c4830f57034e8bAffected
  • da5c8507821573b8ed6e3f47e009f273493ffaf7 to before 7a0cbb5721a1da81e902d73b6049f85ca8f3fc0aAffected
  • da5c8507821573b8ed6e3f47e009f273493ffaf7 to before 05e26f34597e9c38bb5b340d86b179b23673869fAffected
  • da5c8507821573b8ed6e3f47e009f273493ffaf7 to before a07cba1296aaa81bf9b914486ca957aaff196247Affected
  • da5c8507821573b8ed6e3f47e009f273493ffaf7 to before 1a132ee4e655288d9a0937ea5109a0d038431ae9Affected
  • da5c8507821573b8ed6e3f47e009f273493ffaf7 to before 50d5c02ab8e62325548bd3a6e6b758a9dcd6e7c3Affected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.