RDMA/uverbs: Guard legacy bundles without method_elm
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.
CVE-2026-89505
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89505
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7122ff96068a03595bde2fbafaca82ca2ed8084e",
"lessThan": "edae84e5461749ed9adf9fcf5c6e075381040ac3",
"versionType": "git"
},
{
"status": "affected",
"version": "7122ff96068a03595bde2fbafaca82ca2ed8084e",
"lessThan": "60a42d510113f46de47e86a84bf5758597644487",
"versionType": "git"
}
],
"programFiles": [
"drivers/infiniband/core/ib_core_uverbs.c",
"drivers/infiniband/core/uverbs_main.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7.1"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "7.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/infiniband/core/ib_core_uverbs.c",
"drivers/infiniband/core/uverbs_main.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89505
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #35032 · Revision 1
- Added to Heist Feed
- Publisher date