Skip to main content
← All vulnerabilities
CVE-2026-89506

RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.50, 7.2.4
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR The original commit missed that three drivers (mthca, irdma, siw) have UHW data associated with reg_mr that cannot be passed through the ioctl. They also assume that the udata cannot be NULL, so failing to pass a valid udata can trigger a NULL udata crash in those drivers. This never happens in real systems since in rdma-core ibv_cmd_reg_mr_ex() does not accept a udata and those three drivers don't use it, however a malicious userspace could trigger it.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5b2e45049dc06a876bc6b138218ddeb0814502ef · fixed in 71d5c41ac583df09a7c32199bef7d42de7267d07; From 5b2e45049dc06a876bc6b138218ddeb0814502ef · fixed in 9e71d0f4944ba5641e01db29b3256c963656d671; From 5b2e45049dc06a876bc6b138218ddeb0814502ef · fixed in 011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf

  • Linux Linux

    6.17

  • KernelLinux

    From 6.17.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4

References 3

git.kernel.org