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

CVE record · `CVE-2023-52974`

- **Identifiers:** `CVE-2023-52974`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Mar 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Mar 2025, 16:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 to before 496af9d3682ed4c28fb734342a09e6cc0c056ea4` (git)
  - affected: `a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 to before 6abd4698f4c8a78e7bbfc421205c060c199554a0` (git)
  - affected: `a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 to before d4d765f4761f9e3a2d62992f825aeee593bcb6b9` (git)
  - affected: `a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 to before 9758ffe1c07b86aefd7ca8e40d9a461293427ca0` (git)
  - affected: `a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 to before 0aaabdb900c7415caa2006ef580322f7eac5f6b6` (git)
  - affected: `a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 to before 61e43ebfd243bcbad11be26bd921723027b77441` (git)
  - affected: `a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 to before f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.39`
  - unaffected: `before 2.6.39` (semver)
  - unaffected: `4.14.306 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.273 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.232 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.168 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.93 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.11 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0029, the 22nd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 27 Mar 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-52974](https://www.cve.org/CVERecord?id=CVE-2023-52974)
- [NVD: CVE-2023-52974](https://nvd.nist.gov/vuln/detail/CVE-2023-52974)

### References from the CNA

- <https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4>
- <https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0>
- <https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9>
- <https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0>
- <https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6>
- <https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441>
- <https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-52974>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-52974/>. Everything for agents: <https://agentprime.io/llms.txt>.
