Kernel memory corruption via RTRS session-removal race
Published Feb 28, 2024 · Updated May 11, 2026
Use-after-free in the Linux kernel RTRS client allows local users to corrupt kernel memory during concurrent session removal. rtrs_clt_remove_path_from_sysfs frees sess->stats before removing the session from the active list, so rtrs_clt_request or get_next_path_min_inflight can update the freed object. Reachability requires an active RTRS client session and a race between path removal and I/O or path selection; the documented consequence is use-after-free access to session statistics.
Summary
What happened
Use-after-free in the Linux kernel RTRS client allows local users to corrupt kernel memory during concurrent session removal. rtrs_clt_remove_path_from_sysfs frees sess->stats before removing the session from the active list, so rtrs_clt_request or get_next_path_min_inflight can update the freed object. Reachability requires an active RTRS client session and a race between path removal and I/O or path selection; the documented consequence is use-after-free access to session statistics.
The record
- CVE
- CVE-2021-47026
- Published
- Feb 28, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 28, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.8
- Affected versionversion=6a98d71daea186247005099758af549e6afdd244 <676171f9405dcaa45a33d18241c32f387dbaae39
- Affected versionversion=6a98d71daea186247005099758af549e6afdd244 <7f4a8592ff29f19c5a2ca549d0973821319afaad
- Affected versionversion=6a98d71daea186247005099758af549e6afdd244 <b64415c6b3476cf9fa4d0aea3807065b8403a937
- Affected versionversion=6a98d71daea186247005099758af549e6afdd244 <d3cca8067d43dfee4a3535c645b55f618708dccb
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo