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

CVE-2026-74334
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected da5c8507821573b8ed6e3f47e009f273493ffaf7 < 845c6b355226195dad1f26b300c4830f57034e8b ; affected da5c8507821573b8ed6e3f47e009f273493ffaf7 < 7a0cbb5721a1da81e902d73b6049f85ca8f3fc0a ; affected da5c8507821573b8ed6e3f47e009f273493ffaf7 < 05e26f34597e9c38bb5b340d86b179b23673869f ; affected da5c8507821573b8ed6e3f47e009f273493ffaf7 < a07cba1296aaa81bf9b914486ca957aaff196247 ; affected da5c8507821573b8ed6e3f47e009f273493ffaf7 < 1a132ee4e655288d9a0937ea5109a0d038431ae9 ; affected da5c8507821573b8ed6e3f47e009f273493ffaf7 < 50d5c02ab8e62325548bd3a6e6b758a9dcd6e7c3
Linux · Linuxaffected 4.18 ; unaffected 0 < 4.18 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD