{"api_version":"1","generated_at":"2026-07-24T18:52:22+00:00","cve":"CVE-2026-64033","urls":{"html":"https://cve.report/CVE-2026-64033","api":"https://cve.report/api/cve/CVE-2026-64033.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64033","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64033"},"summary":{"title":"RDMA/rtrs: Fix use-after-free in path file creation cleanup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs: Fix use-after-free in path file creation cleanup\n\nIn the error path of rtrs_srv_create_path_files(), the sysfs root folders\nmay already have been created and srv_path->kobj may already have been\ninitialized. If a later step fails, the cleanup currently calls\nkobject_put(&srv_path->kobj) before\nrtrs_srv_destroy_once_sysfs_root_folders(srv_path).\n\nkobject_put() may drop the last reference to srv_path->kobj and invoke the\nrelease callback, rtrs_srv_release(), which frees srv_path. The following\ncall to rtrs_srv_destroy_once_sysfs_root_folders(srv_path) then\ndereferences srv_path internally to access srv_path->srv, resulting in a\nuse-after-free.\n\nThis failure path is reached before rtrs_srv_create_path_files() returns\nsuccess, so the successful-path lifetime handling is not involved.\n\nFix this by destroying the sysfs root folders before calling\nkobject_put(&srv_path->kobj), so srv_path is still valid while the helper\naccesses it.\n\nThis issue was found by a static analysis tool I am developing.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-19 16:17:43","updated_at":"2026-07-20 15:17:04"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":9.8,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/eae62c5451e67e8b033c1681fd3b85d7e9a9a28f","name":"https://git.kernel.org/stable/c/eae62c5451e67e8b033c1681fd3b85d7e9a9a28f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b0e9706fb2859064bb6c677554c4d20c713aa8e0","name":"https://git.kernel.org/stable/c/b0e9706fb2859064bb6c677554c4d20c713aa8e0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/01e42aabaf7632beb4bf235c7238b96c746d4144","name":"https://git.kernel.org/stable/c/01e42aabaf7632beb4bf235c7238b96c746d4144","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/548f3956e53a7f7bde912d8129010b8986d5e602","name":"https://git.kernel.org/stable/c/548f3956e53a7f7bde912d8129010b8986d5e602","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5b74373390113fba798a76b483837029ab010fef","name":"https://git.kernel.org/stable/c/5b74373390113fba798a76b483837029ab010fef","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/00904a73272b9f3ef3952fe69a833909dccad1ef","name":"https://git.kernel.org/stable/c/00904a73272b9f3ef3952fe69a833909dccad1ef","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/92060ab1c5115674cf319175550f85f68405121f","name":"https://git.kernel.org/stable/c/92060ab1c5115674cf319175550f85f68405121f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64033","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64033","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bab17b761c8974a869b04462be5d4dd9aad366b4 01e42aabaf7632beb4bf235c7238b96c746d4144 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae4c81644e9105d9f7f713bb0d444737bb6a0cf1 548f3956e53a7f7bde912d8129010b8986d5e602 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae4c81644e9105d9f7f713bb0d444737bb6a0cf1 00904a73272b9f3ef3952fe69a833909dccad1ef git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae4c81644e9105d9f7f713bb0d444737bb6a0cf1 92060ab1c5115674cf319175550f85f68405121f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae4c81644e9105d9f7f713bb0d444737bb6a0cf1 eae62c5451e67e8b033c1681fd3b85d7e9a9a28f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae4c81644e9105d9f7f713bb0d444737bb6a0cf1 b0e9706fb2859064bb6c677554c4d20c713aa8e0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae4c81644e9105d9f7f713bb0d444737bb6a0cf1 5b74373390113fba798a76b483837029ab010fef git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.61 5.15.209 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.209 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.175 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.142 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.92 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.34 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.11 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"64033","cve":"CVE-2026-64033","epss":"0.001720000","percentile":"0.069020000","score_date":"2026-07-20","updated_at":"2026-07-21 00:13:13"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"01e42aabaf7632beb4bf235c7238b96c746d4144","status":"affected","version":"bab17b761c8974a869b04462be5d4dd9aad366b4","versionType":"git"},{"lessThan":"548f3956e53a7f7bde912d8129010b8986d5e602","status":"affected","version":"ae4c81644e9105d9f7f713bb0d444737bb6a0cf1","versionType":"git"},{"lessThan":"00904a73272b9f3ef3952fe69a833909dccad1ef","status":"affected","version":"ae4c81644e9105d9f7f713bb0d444737bb6a0cf1","versionType":"git"},{"lessThan":"92060ab1c5115674cf319175550f85f68405121f","status":"affected","version":"ae4c81644e9105d9f7f713bb0d444737bb6a0cf1","versionType":"git"},{"lessThan":"eae62c5451e67e8b033c1681fd3b85d7e9a9a28f","status":"affected","version":"ae4c81644e9105d9f7f713bb0d444737bb6a0cf1","versionType":"git"},{"lessThan":"b0e9706fb2859064bb6c677554c4d20c713aa8e0","status":"affected","version":"ae4c81644e9105d9f7f713bb0d444737bb6a0cf1","versionType":"git"},{"lessThan":"5b74373390113fba798a76b483837029ab010fef","status":"affected","version":"ae4c81644e9105d9f7f713bb0d444737bb6a0cf1","versionType":"git"},{"lessThan":"5.15.209","status":"affected","version":"5.15.61","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.17"},{"lessThan":"5.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.209","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.175","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.142","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.92","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.34","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.209","versionStartIncluding":"5.15.61","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.175","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.142","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.92","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.34","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"5.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs: Fix use-after-free in path file creation cleanup\n\nIn the error path of rtrs_srv_create_path_files(), the sysfs root folders\nmay already have been created and srv_path->kobj may already have been\ninitialized. If a later step fails, the cleanup currently calls\nkobject_put(&srv_path->kobj) before\nrtrs_srv_destroy_once_sysfs_root_folders(srv_path).\n\nkobject_put() may drop the last reference to srv_path->kobj and invoke the\nrelease callback, rtrs_srv_release(), which frees srv_path. The following\ncall to rtrs_srv_destroy_once_sysfs_root_folders(srv_path) then\ndereferences srv_path internally to access srv_path->srv, resulting in a\nuse-after-free.\n\nThis failure path is reached before rtrs_srv_create_path_files() returns\nsuccess, so the successful-path lifetime handling is not involved.\n\nFix this by destroying the sysfs root folders before calling\nkobject_put(&srv_path->kobj), so srv_path is still valid while the helper\naccesses it.\n\nThis issue was found by a static analysis tool I am developing."}],"metrics":[{"cvssV3_1":{"baseScore":9.8,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-07-20T13:42:36.830Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/01e42aabaf7632beb4bf235c7238b96c746d4144"},{"url":"https://git.kernel.org/stable/c/548f3956e53a7f7bde912d8129010b8986d5e602"},{"url":"https://git.kernel.org/stable/c/00904a73272b9f3ef3952fe69a833909dccad1ef"},{"url":"https://git.kernel.org/stable/c/92060ab1c5115674cf319175550f85f68405121f"},{"url":"https://git.kernel.org/stable/c/eae62c5451e67e8b033c1681fd3b85d7e9a9a28f"},{"url":"https://git.kernel.org/stable/c/b0e9706fb2859064bb6c677554c4d20c713aa8e0"},{"url":"https://git.kernel.org/stable/c/5b74373390113fba798a76b483837029ab010fef"}],"title":"RDMA/rtrs: Fix use-after-free in path file creation cleanup","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64033","datePublished":"2026-07-19T15:39:22.872Z","dateReserved":"2026-07-19T07:54:57.028Z","dateUpdated":"2026-07-20T13:42:36.830Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-19 16:17:43","lastModifiedDate":"2026-07-20 15:17:04","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64033","Ordinal":"1","Title":"RDMA/rtrs: Fix use-after-free in path file creation cleanup","CVE":"CVE-2026-64033","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64033","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs: Fix use-after-free in path file creation cleanup\n\nIn the error path of rtrs_srv_create_path_files(), the sysfs root folders\nmay already have been created and srv_path->kobj may already have been\ninitialized. If a later step fails, the cleanup currently calls\nkobject_put(&srv_path->kobj) before\nrtrs_srv_destroy_once_sysfs_root_folders(srv_path).\n\nkobject_put() may drop the last reference to srv_path->kobj and invoke the\nrelease callback, rtrs_srv_release(), which frees srv_path. The following\ncall to rtrs_srv_destroy_once_sysfs_root_folders(srv_path) then\ndereferences srv_path internally to access srv_path->srv, resulting in a\nuse-after-free.\n\nThis failure path is reached before rtrs_srv_create_path_files() returns\nsuccess, so the successful-path lifetime handling is not involved.\n\nFix this by destroying the sysfs root folders before calling\nkobject_put(&srv_path->kobj), so srv_path is still valid while the helper\naccesses it.\n\nThis issue was found by a static analysis tool I am developing.","Type":"Description","Title":"RDMA/rtrs: Fix use-after-free in path file creation cleanup"}]}}}