PT-2026-61350 · Linux · Linux

CVE-2026-64033

·

Published

2026-07-19

·

Updated

2026-07-19

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-64033

Affected Products

Linux