CVE-2023-52974

scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress

HIGH
7.8
CVSS Score
Published: March 27, 2025 at 04:43 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.14.3062.6.39 ≤ v < 4.14.3062.6.39 ≤ v < 4.19.2732.6.39 ≤ v < 5.10.1682.6.39 ≤ v < 5.15.932.6.39 ≤ v < 5.4.2322.6.39 ≤ v < 6.1.112.6.39 ≤ v < 6.24.15 ≤ v < 4.19.2734.20 ≤ v < 5.4.2325.11 ≤ v < 5.15.935.16 ≤ v < 6.1.115.5 ≤ v < 5.10.1686.2 rc16.2 rc26.2 rc36.2 rc46.2 rc5a79af8a64d395bd89de8695a5ea5e1a7f01f02a8
Vendor states this is fixed in 0aaabdb900c7415caa2006ef580322f7eac5f6b6 (fixed)
Vendor states this is fixed in 496af9d3682ed4c28fb734342a09e6cc0c056ea4 (fixed)
Vendor states this is fixed in 61e43ebfd243bcbad11be26bd921723027b77441 (fixed)
Vendor states this is fixed in 6abd4698f4c8a78e7bbfc421205c060c199554a0 (fixed)
Vendor states this is fixed in 9758ffe1c07b86aefd7ca8e40d9a461293427ca0 (fixed)
Vendor states this is fixed in d4d765f4761f9e3a2d62992f825aeee593bcb6b9 (fixed)
Vendor states this is fixed in f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3 (fixed)
Vendor states this is fixed in 2.6.39 (unaffected)
Vendor states this is fixed in 4.14.306 (unaffected)
Vendor states this is fixed in 4.19.273 (unaffected)
Vendor states this is fixed in 5.10.168 (unaffected)
Vendor states this is fixed in 5.15.93 (unaffected)
Vendor states this is fixed in 5.4.232 (unaffected)
Vendor states this is fixed in 6.1.11 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card