← Back to CVE Explorer

CVE-2026-89505

Full vulnerability record from the local CVENow database.

Description

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-11 20:19:32.807000
Last modified
2026-10-19 09:17:44.760000
View original CVE JSON
{
  "id": "CVE-2026-89505",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-11T20:19:32.807",
  "lastModified": "2026-10-19T09:17:44.760",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/infiniband/core/ib_core_uverbs.c",
            "drivers/infiniband/core/uverbs_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "7122ff96068a03595bde2fbafaca82ca2ed8084e",
              "lessThan": "edae84e5461749ed9adf9fcf5c6e075381040ac3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7122ff96068a03595bde2fbafaca82ca2ed8084e",
              "lessThan": "60a42d510113f46de47e86a84bf5758597644487",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/infiniband/core/ib_core_uverbs.c",
            "drivers/infiniband/core/uverbs_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "7.1",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "7.1",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.4",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/60a42d510113f46de47e86a84bf5758597644487",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/edae84e5461749ed9adf9fcf5c6e075381040ac3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}