{"id":"CVE-2026-92509","state":"PUBLISHED","title":"RDMA/core: Fix potential use after free in counter_release()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Fix potential use after free in counter_release()\n\nWhen accessing a counter via the netlink path the only synchronization\nmechanism for the said counter is rdma_restrack_get().\nCurrently, rdma_restrack_del() is invoked at the end of\ncounter_release(), which is too late, since by that point\nvendor-specific resources associated with the counter might already be\nfreed. This can leave a short window where the counter remains\naccessible through restrack, leading to a potential use-after-free.\n\nFix this by moving the rdma_restrack_del() call to be before the\nfreeing of the vendor-specific resources, ensuring that the counter is\nremoved from restrack before its internal resources are released.\nThis guarantees that no new users hold references to a counter that is\nin the process of destruction.","publishedAt":"2026-09-17T16:10:20.100Z","updatedAt":"2026-10-19T09:04:15.303Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"5eb0c57a8b568eb08f464861d84d518a2af939ac","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"d5cc211e8c39e46f357d30a092d683e84d560de9","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"2f0c6705e26ba92c0c6b0b0908a2d3f35a039d5b","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"8c013e3a8d8273da4d47bf1c27f016a3551996f5","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"64c72390d8407ea86de712a477c796b07d37abc4","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"235ef2d0e750885c29340b0fc40620a7a4f52e12","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/counters.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/counters.c"]}],"references":["https://git.kernel.org/stable/c/5eb0c57a8b568eb08f464861d84d518a2af939ac","https://git.kernel.org/stable/c/d5cc211e8c39e46f357d30a092d683e84d560de9","https://git.kernel.org/stable/c/2f0c6705e26ba92c0c6b0b0908a2d3f35a039d5b","https://git.kernel.org/stable/c/8c013e3a8d8273da4d47bf1c27f016a3551996f5","https://git.kernel.org/stable/c/64c72390d8407ea86de712a477c796b07d37abc4","https://git.kernel.org/stable/c/235ef2d0e750885c29340b0fc40620a7a4f52e12"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/92xxx/CVE-2026-92509.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-92509","state":"PUBLISHED","datePublished":"2026-09-17T16:10:20.100Z","dateUpdated":"2026-10-19T09:04:15.303Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-16T12:21:13.872Z"},"containers":{"cna":{"title":"RDMA/core: Fix potential use after free in counter_release()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Fix potential use after free in counter_release()\n\nWhen accessing a counter via the netlink path the only synchronization\nmechanism for the said counter is rdma_restrack_get().\nCurrently, rdma_restrack_del() is invoked at the end of\ncounter_release(), which is too late, since by that point\nvendor-specific resources associated with the counter might already be\nfreed. This can leave a short window where the counter remains\naccessible through restrack, leading to a potential use-after-free.\n\nFix this by moving the rdma_restrack_del() call to be before the\nfreeing of the vendor-specific resources, ensuring that the counter is\nremoved from restrack before its internal resources are released.\nThis guarantees that no new users hold references to a counter that is\nin the process of destruction."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"5eb0c57a8b568eb08f464861d84d518a2af939ac","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"d5cc211e8c39e46f357d30a092d683e84d560de9","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"2f0c6705e26ba92c0c6b0b0908a2d3f35a039d5b","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"8c013e3a8d8273da4d47bf1c27f016a3551996f5","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"64c72390d8407ea86de712a477c796b07d37abc4","versionType":"git"},{"version":"99fa331dc8629be55ac7a0cca0dc56492070ddac","status":"affected","lessThan":"235ef2d0e750885c29340b0fc40620a7a4f52e12","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/counters.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/counters.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5eb0c57a8b568eb08f464861d84d518a2af939ac"},{"url":"https://git.kernel.org/stable/c/d5cc211e8c39e46f357d30a092d683e84d560de9"},{"url":"https://git.kernel.org/stable/c/2f0c6705e26ba92c0c6b0b0908a2d3f35a039d5b"},{"url":"https://git.kernel.org/stable/c/8c013e3a8d8273da4d47bf1c27f016a3551996f5"},{"url":"https://git.kernel.org/stable/c/64c72390d8407ea86de712a477c796b07d37abc4"},{"url":"https://git.kernel.org/stable/c/235ef2d0e750885c29340b0fc40620a7a4f52e12"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:04:15.303Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}