CVE-2023-52974 Details
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress If during iscsi_sw_tcp_session_create() iscsi_tcp_r2tpool_alloc() fails, userspace could be accessing the host's ipaddress attr. If we then free the session via iscsi_session_teardown() while userspace is still accessing the session we will hit a use after free bug. Set the tcp_sw_host->session after we have completed session creation and can no longer fail.
A use-after-free vulnerability has been identified in the Linux kernel's SCSI iSCSI TCP session management. The issue arises during the session login process when the allocation of a resource pool fails. In such cases, userspace may still be accessing the session's host IP address attribute. If the session is then terminated while it is still being accessed, it leads to a use-after-free condition. This vulnerability affects several versions of the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.14.306 >= 4.15, < 4.19.273 >= 4.20, < 5.4.232 >= 5.5, < 5.10.168 >= 5.11, < 5.15.93 >= 5.16, < 6.1.11 6.2 rc1 6.2 rc2 6.2 rc3 6.2 rc4 6.2 rc5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2025 | Initial Analysis | [email protected] |
| Mar 27, 2025 | CVE Modified | CISA-ADP |
| Mar 27, 2025 | New CVE Received | kernel.org |