In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs: Fix use-after-free in path file creation cleanup In the error path of… (CVE-2026-64033)
In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs: Fix use-after-free in path file creation cleanup In the error path of rtrs_srv_create_path_files(), the sysfs root folders may already have been created and srv_path->kobj may already have been initialized. If a later step fails, the cleanup currently calls kobject_put(&srv_path->kobj) before rtrs_srv_destroy_once_sysfs_root_folders(srv_path). kobject_put() may drop the last reference to srv_path->kobj and invoke the release callback, rtrs_srv_release(), which frees srv_path. The following call to rtrs_srv_destroy_once_sysfs_root_folders(srv_path) then dereferences srv_path internally to access srv_path->srv, resulting in a use-after-free. This failure path is reached before rtrs_srv_create_path_files() returns success, so the successful-path lifetime handling is not involved. Fix this by destroying the sysfs root folders before calling kobject_put(&srv_path->kobj), so srv_path is still valid while the helper accesses it. This issue was found by a static analysis tool I am developing.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel RDMA/rtrs subsystem involves a use-after-free condition triggered in the error handling path of rtrs_srv_create_path_files(). Specifically, if an error occurs after sysfs root folders and the kobject srv_path->kobj have been partially initialized, the cleanup sequence incorrectly calls kobject_put(&srv_path->kobj) before destroying the sysfs root folders. This can cause srv_path to be freed prematurely via the release callback, leading to a use-after-free when rtrs_srv_destroy_once_sysfs_root_folders(srv_path) subsequently accesses srv_path. The issue was fixed by changing the cleanup order to destroy sysfs root folders before calling kobject_put(), preventing access to freed memory.
Potential Impact
This use-after-free vulnerability could lead to kernel memory corruption or instability if triggered. However, it occurs only in an error path during path file creation cleanup in the RDMA/rtrs kernel component. There are no known exploits in the wild. The impact is limited to affected Linux kernel versions containing this code path.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability has been resolved in the Linux kernel by reordering cleanup calls in the affected function. Users should monitor official Linux kernel advisories and apply updates when available to remediate this issue.
In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs: Fix use-after-free in path file creation cleanup In the error path of… (CVE-2026-64033)
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs: Fix use-after-free in path file creation cleanup In the error path of rtrs_srv_create_path_files(), the sysfs root folders may already have been created and srv_path->kobj may already have been initialized. If a later step fails, the cleanup currently calls kobject_put(&srv_path->kobj) before rtrs_srv_destroy_once_sysfs_root_folders(srv_path). kobject_put() may drop the last reference to srv_path->kobj and invoke the release callback, rtrs_srv_release(), which frees srv_path. The following call to rtrs_srv_destroy_once_sysfs_root_folders(srv_path) then dereferences srv_path internally to access srv_path->srv, resulting in a use-after-free. This failure path is reached before rtrs_srv_create_path_files() returns success, so the successful-path lifetime handling is not involved. Fix this by destroying the sysfs root folders before calling kobject_put(&srv_path->kobj), so srv_path is still valid while the helper accesses it. This issue was found by a static analysis tool I am developing.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel RDMA/rtrs subsystem involves a use-after-free condition triggered in the error handling path of rtrs_srv_create_path_files(). Specifically, if an error occurs after sysfs root folders and the kobject srv_path->kobj have been partially initialized, the cleanup sequence incorrectly calls kobject_put(&srv_path->kobj) before destroying the sysfs root folders. This can cause srv_path to be freed prematurely via the release callback, leading to a use-after-free when rtrs_srv_destroy_once_sysfs_root_folders(srv_path) subsequently accesses srv_path. The issue was fixed by changing the cleanup order to destroy sysfs root folders before calling kobject_put(), preventing access to freed memory.
Potential Impact
This use-after-free vulnerability could lead to kernel memory corruption or instability if triggered. However, it occurs only in an error path during path file creation cleanup in the RDMA/rtrs kernel component. There are no known exploits in the wild. The impact is limited to affected Linux kernel versions containing this code path.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability has been resolved in the Linux kernel by reordering cleanup calls in the affected function. Users should monitor official Linux kernel advisories and apply updates when available to remediate this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2qpc-f6fh-fxg4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64033"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a92a4a8d598912d1f2
Added to database: 07/19/2026, 19:38:17 UTC
Last enriched: 07/19/2026, 19:56:58 UTC
Last updated: 07/20/2026, 19:41:22 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.