CVE-2023-52974scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
- 7.8HighCVSS base score
- 0.29%Exploitation in 30 daysEPSS · top 78% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 17 months later
· 17 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.29% · top 78% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 – < 496af9d3682ed4c28fb734342a09e6cc0c056ea4
- affected a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 – < 6abd4698f4c8a78e7bbfc421205c060c199554a0
- affected a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 – < d4d765f4761f9e3a2d62992f825aeee593bcb6b9
- affected a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 – < 9758ffe1c07b86aefd7ca8e40d9a461293427ca0
- affected a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 – < 0aaabdb900c7415caa2006ef580322f7eac5f6b6
- affected a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 – < 61e43ebfd243bcbad11be26bd921723027b77441
- affected a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 – < f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3
- affected 2.6.39
- unaffected < 2.6.39
- unaffected 4.14.306 – ≤ 4.14.*
- unaffected 4.19.273 – ≤ 4.19.*
- unaffected 5.4.232 – ≤ 5.4.*
- unaffected 5.10.168 – ≤ 5.10.*
- unaffected 5.15.93 – ≤ 5.15.*
- unaffected 6.1.11 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References
References7
- https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4 (opens in a new tab)
- https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0 (opens in a new tab)
- https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9 (opens in a new tab)
- https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0 (opens in a new tab)
- https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6 (opens in a new tab)
- https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441 (opens in a new tab)
- https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-59746 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-52974)Record last updated .