CVE-2023-52974: scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
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.
Security readout for executives and security teams
Plain-English summary
CVE-2023-52974 is a Linux kernel memory safety flaw in the iSCSI TCP login path. A local user could potentially trigger a use-after-free condition, with high impact to confidentiality, integrity, and availability. It is not listed in CISA KEV, and the provided sources do not show active exploitation.
Executive priority
Treat as a high-priority kernel maintenance issue, especially for storage-connected Linux servers. It requires local access, which reduces internet-scale urgency, but successful exploitation could have full system impact. Patch through normal emergency or accelerated kernel update processes based on local-user exposure.
Technical view
The flaw is CWE-416 in scsi/iscsi_tcp. If iscsi_tcp_r2tpool_alloc() fails during iscsi_sw_tcp_session_create(), userspace may still access the SCSI host ipaddress attribute while iscsi_session_teardown() frees the session. The fix delays setting tcp_sw_host->session until session creation cannot fail.
Likely exposure
Exposure is most relevant to Linux systems with the kernel iSCSI TCP functionality present or used. The CVSS vector is local, low complexity, low privileges, and no user interaction. Exact distribution package exposure must be confirmed against vendor kernels and backports.
Exploitation context
The CVE record rates this 7.8 CVSS v3.1 and local-only. The described condition depends on iSCSI TCP session creation failure and concurrent userspace access to the host ipaddress attribute. No provided source or KEV status supports active exploitation.
Researcher notes
The source bundle provides upstream stable commit references but not distribution-specific fixed package versions. Version data appears kernel-line oriented and should be validated against vendor backports. Avoid assuming exploit availability; none is evidenced here.
Mitigation direction
Update Linux kernels to versions containing the referenced stable fixes.
Check your Linux distribution security advisories for backported kernel fixes.
Prioritize systems using iSCSI TCP or allowing local user access.
If updates are delayed, review vendor guidance for supported workarounds.
Validation and detection
Inventory Linux kernel versions across servers and appliances.
Identify systems using or loading the iscsi_tcp kernel component.
Compare installed kernels against vendor advisories and stable fix commits.
Confirm remediation through package changelogs or vendor CVE status pages.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
8Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.