CVE-2021-47026RDMA/rtrs-clt: destroy sysfs after removing session from active list
- 7.8HighCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: destroy sysfs after removing session from active list A session can be removed dynamically by sysfs interface "remove_path" that eventually calls rtrs_clt_remove_path_from_sysfs function. The current rtrs_clt_remove_path_from_sysfs first removes the sysfs interfaces and frees sess->stats object. Second it removes the session from the active list. Therefore some functions could access non-connected session and access the freed sess->stats object even-if they check the session status before accessing the session. For instance rtrs_clt_request and get_next_path_min_inflight check the session status and try to send IO to the session. The session status could be changed when they are trying to send IO but they could not catch the change and update the statistics information in sess->stats object, and generate use-after-free problem. (see: "RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats") This patch changes the rtrs_clt_remove_path_from_sysfs to remove the session from the active session list and then destroy the sysfs interfaces. Each function still should check the session status because closing or error recovery paths can change the status.
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 6a98d71daea186247005099758af549e6afdd244 – < b64415c6b3476cf9fa4d0aea3807065b8403a937
- affected 6a98d71daea186247005099758af549e6afdd244 – < 676171f9405dcaa45a33d18241c32f387dbaae39
- affected 6a98d71daea186247005099758af549e6afdd244 – < d3cca8067d43dfee4a3535c645b55f618708dccb
- affected 6a98d71daea186247005099758af549e6afdd244 – < 7f4a8592ff29f19c5a2ca549d0973821319afaad
- affected 5.8
- unaffected < 5.8
- unaffected 5.10.37 – ≤ 5.10.*
- unaffected 5.11.21 – ≤ 5.11.*
- unaffected 5.12.4 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References4
- https://git.kernel.org/stable/c/b64415c6b3476cf9fa4d0aea3807065b8403a937 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/676171f9405dcaa45a33d18241c32f387dbaae39 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/d3cca8067d43dfee4a3535c645b55f618708dccb (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/7f4a8592ff29f19c5a2ca549d0973821319afaad (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33674 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47026)Record last updated .