CVE-2023-52974

HIGH

Linux Kernel < 4.14.306 - Use-After-Free in iSCSI TCP Session Login

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0026
EPSS Percentile 17.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (18)
Linux/Linux < 2.6.39
Linux/Linux 2.6.39
Linux/Linux 4.14.306 - 4.14.*
Linux/Linux 4.19.273 - 4.19.*
Linux/Linux 5.10.168 - 5.10.*
Linux/Linux 5.15.93 - 5.15.*
Linux/Linux 5.4.232 - 5.4.*
Linux/Linux 6.1.11 - 6.1.*
Linux/Linux 6.2
Linux/Linux a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 - 0aaabdb900c7415caa2006ef580322f7eac5f6b6
... and 8 more
Published Mar 27, 2025
Tracked Since Feb 18, 2026