{"id":"CVE-2026-89505","summary":"RDMA/uverbs: Guard legacy bundles without method_elm","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/uverbs: Guard legacy bundles without method_elm\n\nThe legacy write() path dispatches through a uverbs_api_write_method, but\nthe uverbs_attr_bundle passed to provider code does not have an ioctl\nmethod element. If malformed provider input causes the common uverbs\nvalidation code to emit an error message, uverbs_get_handler_fn()\ndereferences the uninitialized method_elm pointer.\n\nInitialize method_elm explicitly for legacy bundles and make\nuverbs_get_handler_fn() return NULL when no ioctl method is present. The\nlegacy dispatcher continues to use its local write method, while the ioctl\npath continues to use the registered ioctl handler.","modified":"2026-09-13T03:47:18.595532719Z","published":"2026-09-11T19:43:52.690Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89505.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/60a42d510113f46de47e86a84bf5758597644487"},{"type":"WEB","url":"https://git.kernel.org/stable/c/edae84e5461749ed9adf9fcf5c6e075381040ac3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89505.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89505"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7122ff96068a03595bde2fbafaca82ca2ed8084e"},{"fixed":"edae84e5461749ed9adf9fcf5c6e075381040ac3"},{"fixed":"60a42d510113f46de47e86a84bf5758597644487"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89505.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89505.json"}}],"schema_version":"1.9.0"}