RDMA/uverbs: Guard legacy bundles without method_elm
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 60a42d510113f46de47e86a84bf5758597644487 and Kernel edae84e5461749ed9adf9fcf5c6e075381040ac3.
In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Guard legacy bundles without method_elm The legacy write() path dispatches through a uverbs_api_write_method, but the uverbs_attr_bundle passed to provider code does not have an ioctl method element. If malformed provider input causes the common uverbs validation code to emit an error message, uverbs_get_handler_fn() dereferences the uninitialized method_elm pointer. Initialize method_elm explicitly for legacy bundles and make uverbs_get_handler_fn() return NULL when no ioctl method is present. The legacy dispatcher continues to use its local write method, while the ioctl path continues to use the registered ioctl handler.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=7122ff96068a03595bde2fbafaca82ca2ed8084e <60a42d510113f46de47e86a84bf5758597644487, >=7122ff96068a03595bde2fbafaca82ca2ed8084e <edae84e5461749ed9adf9fcf5c6e075381040ac3 | 60a42d510113f46de47e86a84bf5758597644487, edae84e5461749ed9adf9fcf5c6e075381040ac3 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket