{"id":"CVE-2026-89506","state":"PUBLISHED","title":"RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR\n\nThe original commit missed that three drivers (mthca, irdma, siw) have UHW\ndata associated with reg_mr that cannot be passed through the ioctl. They\nalso assume that the udata cannot be NULL, so failing to pass a valid\nudata can trigger a NULL udata crash in those drivers.\n\nThis never happens in real systems since in rdma-core ibv_cmd_reg_mr_ex()\ndoes not accept a udata and those three drivers don't use it, however a\nmalicious userspace could trigger it.","publishedAt":"2026-09-11T19:43:53.350Z","updatedAt":"2026-10-19T08:47:57.692Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b2e45049dc06a876bc6b138218ddeb0814502ef","status":"affected","lessThan":"71d5c41ac583df09a7c32199bef7d42de7267d07","versionType":"git"},{"version":"5b2e45049dc06a876bc6b138218ddeb0814502ef","status":"affected","lessThan":"9e71d0f4944ba5641e01db29b3256c963656d671","versionType":"git"},{"version":"5b2e45049dc06a876bc6b138218ddeb0814502ef","status":"affected","lessThan":"011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/uverbs_std_types_mr.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/uverbs_std_types_mr.c"]}],"references":["https://git.kernel.org/stable/c/71d5c41ac583df09a7c32199bef7d42de7267d07","https://git.kernel.org/stable/c/9e71d0f4944ba5641e01db29b3256c963656d671","https://git.kernel.org/stable/c/011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89506.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89506","state":"PUBLISHED","datePublished":"2026-09-11T19:43:53.350Z","dateUpdated":"2026-10-19T08:47:57.692Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.716Z"},"containers":{"cna":{"title":"RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR\n\nThe original commit missed that three drivers (mthca, irdma, siw) have UHW\ndata associated with reg_mr that cannot be passed through the ioctl. They\nalso assume that the udata cannot be NULL, so failing to pass a valid\nudata can trigger a NULL udata crash in those drivers.\n\nThis never happens in real systems since in rdma-core ibv_cmd_reg_mr_ex()\ndoes not accept a udata and those three drivers don't use it, however a\nmalicious userspace could trigger it."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b2e45049dc06a876bc6b138218ddeb0814502ef","status":"affected","lessThan":"71d5c41ac583df09a7c32199bef7d42de7267d07","versionType":"git"},{"version":"5b2e45049dc06a876bc6b138218ddeb0814502ef","status":"affected","lessThan":"9e71d0f4944ba5641e01db29b3256c963656d671","versionType":"git"},{"version":"5b2e45049dc06a876bc6b138218ddeb0814502ef","status":"affected","lessThan":"011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/uverbs_std_types_mr.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/uverbs_std_types_mr.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/71d5c41ac583df09a7c32199bef7d42de7267d07"},{"url":"https://git.kernel.org/stable/c/9e71d0f4944ba5641e01db29b3256c963656d671"},{"url":"https://git.kernel.org/stable/c/011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:47:57.692Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}