RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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