RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf, Kernel 71d5c41ac583df09a7c32199bef7d42de7267d07, Kernel 9e71d0f4944ba5641e01db29b3256c963656d671 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=5b2e45049dc06a876bc6b138218ddeb0814502ef <011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf, >=5b2e45049dc06a876bc6b138218ddeb0814502ef <71d5c41ac583df09a7c32199bef7d42de7267d07, >=5b2e45049dc06a876bc6b138218ddeb0814502ef <9e71d0f4944ba5641e01db29b3256c963656d671 | 011199f46f44a9fd93a9e5ab5d7fd1328d80e9bf, 71d5c41ac583df09a7c32199bef7d42de7267d07, 9e71d0f4944ba5641e01db29b3256c963656d671 |
| linux-kernel: Kernel | >=6.17.0 <6.18.50, >=6.19.0 <7.2.4 | 6.18.50, 7.2.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket