CVE-2026-98217 (GCVE-0-2026-98217)
Vulnerability from cvelistv5 – Published: 2026-10-06 08:44 – Updated: 2026-10-19 09:15
VLAI
EPSS
VEX
Title
IB/mlx4: Fix use-after-free on pkey sysfs registration failure
Summary
In the Linux kernel, the following vulnerability has been resolved:
IB/mlx4: Fix use-after-free on pkey sysfs registration failure
register_pkey_tree() ignores errors from register_one_pkey_tree() and
continues registering the remaining slaves. The per-slave error path has
already released the pkey parent kobjects, but their pointers remain
stored in the device. A later device cleanup therefore passes the stale
pointers to kobject_put(), causing a use-after-free.
Clear the parent pointers after releasing a failed slave tree and skip
unregistered trees during device cleanup. This preserves the existing
best-effort registration behavior while preventing a second cleanup of
the failed tree.
Severity
No CVSS data available.
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < 791471421d848ce13e84f4b21c9e19973d471c4e
(git)
Affected: c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < 734f066933484f6c7cedea0312763249beed5845 (git) Affected: c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < a07bee32127d7c4cd3b1bb9a088e21d0c93634c9 (git) Affected: c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < cf20d7476754c00eec04ae23d3e929de33ce0345 (git) Affected: c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < 0c3482e965b18bc242e54e899d1c4d391ca8e5e3 (git) Affected: c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < ffb80872617b5f9b3dd1536ec2909029fa66f228 (git) Affected: c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < ced1186fea7c77e16681c7ef4802897885989c3b (git) Affected: c1e7e466120b80ce49e91af0c9da1ce6dee4844a , < 1af874e9f4ce22ccf8b10ab5462f32c70d3be21a (git) |
|
| Linux | Linux |
Affected:
3.7
Unaffected: 0 , < 3.7 (semver) Unaffected: 5.10.271 , ≤ 5.10.* (semver) Unaffected: 5.15.222 , ≤ 5.15.* (semver) Unaffected: 6.1.189 , ≤ 6.1.* (semver) Unaffected: 6.6.158 , ≤ 6.6.* (semver) Unaffected: 6.12.112 , ≤ 6.12.* (semver) Unaffected: 6.18.54 , ≤ 6.18.* (semver) Unaffected: 7.2.8 , ≤ 7.2.* (semver) Unaffected: 7.3 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/infiniband/hw/mlx4/sysfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "791471421d848ce13e84f4b21c9e19973d471c4e",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "734f066933484f6c7cedea0312763249beed5845",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "a07bee32127d7c4cd3b1bb9a088e21d0c93634c9",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "cf20d7476754c00eec04ae23d3e929de33ce0345",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "0c3482e965b18bc242e54e899d1c4d391ca8e5e3",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "ffb80872617b5f9b3dd1536ec2909029fa66f228",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "ced1186fea7c77e16681c7ef4802897885989c3b",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "1af874e9f4ce22ccf8b10ab5462f32c70d3be21a",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/infiniband/hw/mlx4/sysfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.7"
},
{
"lessThan": "3.7",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.222",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.54",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.271",
"versionStartIncluding": "3.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.222",
"versionStartIncluding": "3.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.189",
"versionStartIncluding": "3.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.158",
"versionStartIncluding": "3.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.112",
"versionStartIncluding": "3.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.54",
"versionStartIncluding": "3.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.8",
"versionStartIncluding": "3.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3",
"versionStartIncluding": "3.7",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nIB/mlx4: Fix use-after-free on pkey sysfs registration failure\n\nregister_pkey_tree() ignores errors from register_one_pkey_tree() and\ncontinues registering the remaining slaves. The per-slave error path has\nalready released the pkey parent kobjects, but their pointers remain\nstored in the device. A later device cleanup therefore passes the stale\npointers to kobject_put(), causing a use-after-free.\n\nClear the parent pointers after releasing a failed slave tree and skip\nunregistered trees during device cleanup. This preserves the existing\nbest-effort registration behavior while preventing a second cleanup of\nthe failed tree."
}
],
"providerMetadata": {
"dateUpdated": "2026-10-19T09:15:47.995Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/791471421d848ce13e84f4b21c9e19973d471c4e"
},
{
"url": "https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845"
},
{
"url": "https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9"
},
{
"url": "https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345"
},
{
"url": "https://git.kernel.org/stable/c/0c3482e965b18bc242e54e899d1c4d391ca8e5e3"
},
{
"url": "https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228"
},
{
"url": "https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b"
},
{
"url": "https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a"
}
],
"title": "IB/mlx4: Fix use-after-free on pkey sysfs registration failure",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-98217",
"datePublished": "2026-10-06T08:44:53.152Z",
"dateReserved": "2026-09-25T10:25:14.326Z",
"dateUpdated": "2026-10-19T09:15:47.995Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-98217",
"date": "2026-11-24",
"epss": "0.00177",
"percentile": "0.07155"
},
"microsoft_vex": {
"current_release_date": "2026-11-12T17:37:52.000Z",
"cve": "CVE-2026-98217",
"id": "msrc_CVE-2026-98217",
"initial_release_date": "2026-10-07T01:16:17.000Z",
"product_status:fixed": "2",
"product_status:known_affected": "2",
"product_status:under_investigation": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "IB/mlx4: Fix use-after-free on pkey sysfs registration failure",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98217.json",
"version": "5"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/infiniband/hw/mlx4/sysfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "791471421d848ce13e84f4b21c9e19973d471c4e",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "734f066933484f6c7cedea0312763249beed5845",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "a07bee32127d7c4cd3b1bb9a088e21d0c93634c9",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "cf20d7476754c00eec04ae23d3e929de33ce0345",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "0c3482e965b18bc242e54e899d1c4d391ca8e5e3",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "ffb80872617b5f9b3dd1536ec2909029fa66f228",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "ced1186fea7c77e16681c7ef4802897885989c3b",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
},
{
"lessThan": "1af874e9f4ce22ccf8b10ab5462f32c70d3be21a",
"status": "affected",
"version": "c1e7e466120b80ce49e91af0c9da1ce6dee4844a",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/infiniband/hw/mlx4/sysfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.7"
},
{
"lessThan": "3.7",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.222",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.54",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nIB/mlx4: Fix use-after-free on pkey sysfs registration failure\n\nregister_pkey_tree() ignores errors from register_one_pkey_tree() and\ncontinues registering the remaining slaves. The per-slave error path has\nalready released the pkey parent kobjects, but their pointers remain\nstored in the device. A later device cleanup therefore passes the stale\npointers to kobject_put(), causing a use-after-free.\n\nClear the parent pointers after releasing a failed slave tree and skip\nunregistered trees during device cleanup. This preserves the existing\nbest-effort registration behavior while preventing a second cleanup of\nthe failed tree."
}
],
"id": "CVE-2026-98217",
"lastModified": "2026-10-19T10:18:22.473",
"metrics": {},
"published": "2026-10-06T09:18:08.423",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/0c3482e965b18bc242e54e899d1c4d391ca8e5e3"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1af874e9f4ce22ccf8b10ab5462f32c70d3be21a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/734f066933484f6c7cedea0312763249beed5845"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/791471421d848ce13e84f4b21c9e19973d471c4e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a07bee32127d7c4cd3b1bb9a088e21d0c93634c9"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ced1186fea7c77e16681c7ef4802897885989c3b"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/cf20d7476754c00eec04ae23d3e929de33ce0345"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ffb80872617b5f9b3dd1536ec2909029fa66f228"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-24T22:40:06+00:00",
"cve": "CVE-2026-98217",
"id": "CVE-2026-98217",
"initial_release_date": "2026-10-06T00:00:00+00:00",
"product_status:known_affected": "202",
"product_status:known_not_affected": "77",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: IB/mlx4: Fix use-after-free on pkey sysfs registration failure",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98217.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-10-08T16:50:14Z",
"cve": "CVE-2026-98217",
"id": "CVE-2026-98217",
"initial_release_date": "2026-10-08T16:50:14Z",
"product_status:known_affected": "297",
"product_status:known_not_affected": "50",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-98217",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98217.json",
"version": "2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…