{"id":"CVE-2026-92507","summary":"RDMA/core: Fix potential use after free in ib_dealloc_pd_user()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Fix potential use after free in ib_dealloc_pd_user()\n\nWhen accessing a PD via the netlink path the only synchronization\nmechanism for the said PD is rdma_restrack_get().\nCurrently, rdma_restrack_del() is invoked at the end of\nib_dealloc_pd_user(), which is too late, since by that point\nvendor-specific resources associated with the PD might already be\nfreed. This can leave a short window where the PD remains accessible\nthrough restrack, leading to a potential use-after-free.\n\nFix this by moving the rdma_restrack_begin_del() call to the start of\nib_dealloc_pd_user(), ensuring that the PD is removed from restrack\nbefore its internal resources are released. This guarantees that no new\nusers hold references to a PD that is in the process of destruction.\n\nIn addition, this change preserves the intended inverted order\nbetween create and destroy routines: resources are added to\nrestrack at the end of successful creation, and hence shall be removed\nfrom the restrack first thing during the destruction flow, which keeps\nthe lifecycle management consistent and predictable.","modified":"2026-09-18T03:48:40.934719802Z","published":"2026-09-17T16:10:18.748Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92507.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66d65f36d39759e9f62dc746dc71d862f20f827f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7647363fa02046da681acc3c827d9f301c06e0e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b90e701342275f414e36e7421c502237df241ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c06f2856a1d7e75a5ff247fc05224aa2452e7265"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d9c0daf9362aad2aeed1d9c5536d108772a8d31c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df0e9efe61ca706a07b1c9bf93fcb9032455efc4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92507.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92507"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"91a7c58fce065506fd98954d27694e5d83c96638"},{"fixed":"df0e9efe61ca706a07b1c9bf93fcb9032455efc4"},{"fixed":"7647363fa02046da681acc3c827d9f301c06e0e7"},{"fixed":"d9c0daf9362aad2aeed1d9c5536d108772a8d31c"},{"fixed":"66d65f36d39759e9f62dc746dc71d862f20f827f"},{"fixed":"c06f2856a1d7e75a5ff247fc05224aa2452e7265"},{"fixed":"8b90e701342275f414e36e7421c502237df241ad"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92507.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92507.json"}}],"schema_version":"1.9.0"}