{"id":"CVE-2026-93267","revision":"dfef4fefe3a340e687cd115ae0a788a4","records":[{"revision":"dfef4fefe3a340e687cd115ae0a788a4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-93267","aliases":[],"title":"RDMA/core: Fix potential use after free in uverbs_free_dmah()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Fix potential use after free in uverbs_free_dmah()\n\nWhen accessing a dmah via the netlink path the only synchronization\nmechanism for the said dmah is rdma_restrack_get().\nCurrently, rdma_restrack_del() is invoked at the end of\nuverbs_free_dmah(), which is too late, since by that point\nvendor-specific resources associated with the dmah might already be\nfreed. This can leave a short window where the dmah 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\nuverbs_free_dmah(), ensuring that the dmah is removed from restrack\nbefore its internal resources are released. This guarantees that no new\nusers hold references to a dmah 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.","state":0,"publishedAt":"2026-09-24T15:52:06.415+00:00","modifiedAt":"2026-10-19T09:08:20.283+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/core/uverbs_std_types_dmah.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"d83edab562a496a42720902a1d2effccd05c37c5\",\n                            \"lessThan\": \"8b22722f45a29a7c0900b1d4d0bc5da5492ece10\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d83edab562a496a42720902a1d2effccd05c37c5\",\n                            \"lessThan\": \"bfc119a40c04bbe3daad826f2160ccbfae6c64ce\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d83edab562a496a42720902a1d2effccd05c37c5\",\n                            \"lessThan\": \"2696626a0be5877f445fb647c25ef43930c777e6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/core/uverbs_std_types_dmah.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.17\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.17\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/8b22722f45a29a7c0900b1d4d0bc5da5492ece10","https://git.kernel.org/stable/c/bfc119a40c04bbe3daad826f2160ccbfae6c64ce","https://git.kernel.org/stable/c/2696626a0be5877f445fb647c25ef43930c777e6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-93267","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-93267","identifiers":["CVE-2026-93267"]},"retained":false,"historicalAffected":[]}],"coverage":[]}