Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5b2e45049dc06a876bc6b138218ddeb0814502ef before 71d5c41ac583df09a7c32199bef7d42de7267d07; affected 5b2e45049dc06a876bc6b138218ddeb0814502ef before 9e71d0f4944ba5641e01db29b3256c963656d671; affected 5b2e45049dc06a876bc6b138218ddeb0814502ef before 011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf |
| Linux / Linux | affected 6.17; unaffected 0 before 6.17; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.