RDMA/core: Fix potential use after free in counter_release()
In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix potential use after free in counter_release() When accessing a counter via the netlink path the only synchronization mechanism for the said counter is rdma_restrack_get(). Currently, rdma_restrack_del() is invoked at the end of counter_release(), which is too late, since by that point vendor-specific resources associated with the counter might already be freed. This can leave a short window where the counter remains accessible through restrack, leading to a potential use-after-free. Fix this by moving the rdma_restrack_del() call to be before the freeing of the vendor-specific resources, ensuring that the counter is removed from restrack before its internal resources are released. This guarantees that no new users hold references to a counter that is in the process of destruction.
CVE-2026-92509
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-92509
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": "99fa331dc8629be55ac7a0cca0dc56492070ddac",
"lessThan": "5eb0c57a8b568eb08f464861d84d518a2af939ac",
"versionType": "git"
},
{
"status": "affected",
"version": "99fa331dc8629be55ac7a0cca0dc56492070ddac",
"lessThan": "d5cc211e8c39e46f357d30a092d683e84d560de9",
"versionType": "git"
},
{
"status": "affected",
"version": "99fa331dc8629be55ac7a0cca0dc56492070ddac",
"lessThan": "2f0c6705e26ba92c0c6b0b0908a2d3f35a039d5b",
"versionType": "git"
},
{
"status": "affected",
"version": "99fa331dc8629be55ac7a0cca0dc56492070ddac",
"lessThan": "8c013e3a8d8273da4d47bf1c27f016a3551996f5",
"versionType": "git"
},
{
"status": "affected",
"version": "99fa331dc8629be55ac7a0cca0dc56492070ddac",
"lessThan": "64c72390d8407ea86de712a477c796b07d37abc4",
"versionType": "git"
},
{
"status": "affected",
"version": "99fa331dc8629be55ac7a0cca0dc56492070ddac",
"lessThan": "235ef2d0e750885c29340b0fc40620a7a4f52e12",
"versionType": "git"
}
],
"programFiles": [
"drivers/infiniband/core/counters.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.3"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/infiniband/core/counters.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-92509
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #37758 · Revision 1
- Added to Heist Feed
- Publisher date