7.8
HIGH
CVE-2023-52974
"Linux Kernel SCSI iscsi_tcp Use-After-Free Vulnerability"
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.

INFO

Published Date :

March 27, 2025, 5:15 p.m.

Last Modified :

April 1, 2025, 3:39 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2023-52974 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-52974 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-52974 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 01, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.232 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.14.306 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.273 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.11
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3 Types: Patch
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 27, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-416
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 27, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6
    Added Reference https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4
    Added Reference https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441
    Added Reference https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0
    Added Reference https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0
    Added Reference https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9
    Added Reference https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-52974 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-52974 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability