Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-64033

RDMA/rtrs: Fix use-after-free in path file creation cleanup
Back to all
CVE

CVE-2026-64033

RDMA/rtrs: Fix use-after-free in path file creation cleanup

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 rtrssrvcreatepathfiles(), 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

kobjectput(&srvpath->kobj) before

rtrssrvdestroyoncesysfsrootfolders(srv_path).

kobjectput() may drop the last reference to srvpath->kobj and invoke the

release callback, rtrssrvrelease(), which frees srv_path. The following

call to rtrssrvdestroyoncesysfsrootfolders(srv_path) then

dereferences srvpath internally to access srvpath->srv, resulting in a

use-after-free.

This failure path is reached before rtrssrvcreatepathfiles() returns

success, so the successful-path lifetime handling is not involved.

Fix this by destroying the sysfs root folders before calling

kobjectput(&srvpath->kobj), so srv_path is still valid while the helper

accesses it.

This issue was found by a static analysis tool I am developing.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/00904a73272b9f3ef3952fe69a833909dccad1ef, https://git.kernel.org/stable/c/01e42aabaf7632beb4bf235c7238b96c746d4144, https://git.kernel.org/stable/c/548f3956e53a7f7bde912d8129010b8986d5e602, https://git.kernel.org/stable/c/5b74373390113fba798a76b483837029ab010fef, https://git.kernel.org/stable/c/92060ab1c5115674cf319175550f85f68405121f, https://git.kernel.org/stable/c/b0e9706fb2859064bb6c677554c4d20c713aa8e0, https://git.kernel.org/stable/c/eae62c5451e67e8b033c1681fd3b85d7e9a9a28f, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64033.json, https://nvd.nist.gov/vuln/detail/CVE-2026-64033, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00488%
EPSS Percentile
0.40169%
Introduced Version
bab17b761c8974a869b04462be5d4dd9aad366b4,ae4c81644e9105d9f7f713bb0d444737bb6a0cf1,5.15.61,0,5.16.0,5.17.0,6.2.0,6.7.0,6.13.0
Fix Available
01e42aabaf7632beb4bf235c7238b96c746d4144,5b74373390113fba798a76b483837029ab010fef,5.15.209,6.1.175,6.6.142,6.12.92,6.18.34,7.0.11,6.1.176-1,6.12.94-1,5.15.0-1112.119~20.04.1,5.15.0-1117.126~20.04.1,5.15.0-1117.126~20.04.2,5.15.0-1112.122~20.04.1,5.15.0-186.196~20.04.1,5.15.0-1106.110~20.04.1,5.15.0-1107.113~20.04.1,5.15.0-184.194~20.04.1,5.15.0-1064.66~20.04.1,5.15.0-1109.115~20.04.1,7.0.0-28.28~24.04.1,7.0.0-1016.16~24.04.1,7.0.0-28.28.1~24.04.3,5.15.0-186.196,5.15.0-1112.119,5.15.0-1117.126,5.15.0-1112.122,5.15.0-1108.114,5.15.0-1095.103,5.15.0-1106.110,5.15.0-1107.113,5.15.0-1104.109,5.15.0-184.194,5.15.0-1107.108,5.15.0-1064.66,5.15.0-1053.53,5.15.0-1109.115,5.15.0-1075.79

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading