CVE-2021-47026
published 2024-02-28CVE-2021-47026: 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…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.24%
15.0th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.38-1 (bookworm) | linux 5.10.38-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 6a98d71daea186247005099758af549e6afdd244 < b64415c6b3476cf9fa4d0aea3807065b8403a937 | b64415c6b3476cf9fa4d0aea3807065b8403a937 |
| linux | linux | >= 6a98d71daea186247005099758af549e6afdd244 < 676171f9405dcaa45a33d18241c32f387dbaae39 | 676171f9405dcaa45a33d18241c32f387dbaae39 |
| linux | linux | >= 6a98d71daea186247005099758af549e6afdd244 < d3cca8067d43dfee4a3535c645b55f618708dccb | d3cca8067d43dfee4a3535c645b55f618708dccb |
| linux | linux | >= 6a98d71daea186247005099758af549e6afdd244 < 7f4a8592ff29f19c5a2ca549d0973821319afaad | 7f4a8592ff29f19c5a2ca549d0973821319afaad |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 5.11 < 5.11.21 | 5.11.21 |
| linux | linux_kernel | >= 5.12 < 5.12.4 | 5.12.4 |
| linux | linux_kernel | >= 5.8 < 5.10.37 | 5.10.37 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2021-47026: In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: destroy sysfs after removing session from active list A session can
osv·2024-02-28·CVSS 7.8
CVE-2021-47026 [HIGH] CVE-2021-47026: In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-clt: destroy sysfs after removing session from active list A session can
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 co
GHSA
GHSA-h6m9-gq43-hhq2: In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs-clt: destroy sysfs after removing session from active list
A session c
ghsa_unreviewed·2024-02-28
CVE-2021-47026 [HIGH] CWE-416 GHSA-h6m9-gq43-hhq2: In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs-clt: destroy sysfs after removing session from active list
A session c
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 the
Red Hat
kernel: RDMA/rtrs-clt: destroy sysfs after removing session from active list
vendor_redhat·2024-02-28·CVSS 7.8
CVE-2021-47026 [HIGH] CWE-416 kernel: RDMA/rtrs-clt: destroy sysfs after removing session from active list
kernel: RDMA/rtrs-clt: destroy sysfs after removing session from active list
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. T
Debian
CVE-2021-47026: linux - In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-c...
vendor_debian·2021·CVSS 7.8
CVE-2021-47026 [HIGH] CVE-2021-47026: linux - In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs-c...
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 co
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/676171f9405dcaa45a33d18241c32f387dbaae39https://git.kernel.org/stable/c/7f4a8592ff29f19c5a2ca549d0973821319afaadhttps://git.kernel.org/stable/c/b64415c6b3476cf9fa4d0aea3807065b8403a937https://git.kernel.org/stable/c/d3cca8067d43dfee4a3535c645b55f618708dccbhttps://git.kernel.org/stable/c/676171f9405dcaa45a33d18241c32f387dbaae39https://git.kernel.org/stable/c/7f4a8592ff29f19c5a2ca549d0973821319afaadhttps://git.kernel.org/stable/c/b64415c6b3476cf9fa4d0aea3807065b8403a937https://git.kernel.org/stable/c/d3cca8067d43dfee4a3535c645b55f618708dccb
2024-02-28
Published