{"id":"CVE-2023-52974","published":"2025-03-27T16:43:13Z","modified":"2026-08-05T09:12:12Z","title":"scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress\n\nIf during iscsi_sw_tcp_session_create() iscsi_tcp_r2tpool_alloc() fails,\nuserspace could be accessing the host's ipaddress attr. If we then free the\nsession via iscsi_session_teardown() while userspace is still accessing the\nsession we will hit a use after free bug.\n\nSet the tcp_sw_host->session after we have completed session creation and\ncan no longer fail.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22354,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4","tags":[]},{"url":"https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0","tags":[]},{"url":"https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9","tags":[]},{"url":"https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0","tags":[]},{"url":"https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6","tags":[]},{"url":"https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441","tags":[]},{"url":"https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3","tags":[]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":4.47},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a79af8a64d395bd89de8695a5ea5e1a7f01f02a8, < 496af9d3682ed4c28fb734342a09e6cc0c056ea4",">= a79af8a64d395bd89de8695a5ea5e1a7f01f02a8, < 6abd4698f4c8a78e7bbfc421205c060c199554a0",">= a79af8a64d395bd89de8695a5ea5e1a7f01f02a8, < d4d765f4761f9e3a2d62992f825aeee593bcb6b9",">= a79af8a64d395bd89de8695a5ea5e1a7f01f02a8, < 9758ffe1c07b86aefd7ca8e40d9a461293427ca0",">= a79af8a64d395bd89de8695a5ea5e1a7f01f02a8, < 0aaabdb900c7415caa2006ef580322f7eac5f6b6",">= a79af8a64d395bd89de8695a5ea5e1a7f01f02a8, < 61e43ebfd243bcbad11be26bd921723027b77441",">= a79af8a64d395bd89de8695a5ea5e1a7f01f02a8, < f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3"]},{"vendor":"Linux","product":"Linux","versions":["2.6.39"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-03-27T16:59:50.791219Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59746","exploited":false,"provenance":"source"}}