{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52974","id":"CVE-2023-52974","title":"scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress","description":"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 ","descriptionLong":"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.","published":"2025-03-27T16:43:13.792Z","updated":"2026-10-28T02:31:14.668585872Z","reserved":"2025-03-27T16:40:15.737Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a79af8a64d395bd89de8695a5ea5e1a7f01f02a8","lessThan":"496af9d3682ed4c28fb734342a09e6cc0c056ea4","status":"affected","versionType":"git"},{"version":"a79af8a64d395bd89de8695a5ea5e1a7f01f02a8","lessThan":"6abd4698f4c8a78e7bbfc421205c060c199554a0","status":"affected","versionType":"git"},{"version":"a79af8a64d395bd89de8695a5ea5e1a7f01f02a8","lessThan":"d4d765f4761f9e3a2d62992f825aeee593bcb6b9","status":"affected","versionType":"git"},{"version":"a79af8a64d395bd89de8695a5ea5e1a7f01f02a8","lessThan":"9758ffe1c07b86aefd7ca8e40d9a461293427ca0","status":"affected","versionType":"git"},{"version":"a79af8a64d395bd89de8695a5ea5e1a7f01f02a8","lessThan":"0aaabdb900c7415caa2006ef580322f7eac5f6b6","status":"affected","versionType":"git"},{"version":"a79af8a64d395bd89de8695a5ea5e1a7f01f02a8","lessThan":"61e43ebfd243bcbad11be26bd921723027b77441","status":"affected","versionType":"git"},{"version":"a79af8a64d395bd89de8695a5ea5e1a7f01f02a8","lessThan":"f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.39","status":"affected"},{"version":"0","lessThan":"2.6.39","status":"unaffected","versionType":"semver"},{"version":"4.14.306","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.273","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.232","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.168","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.93","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.11","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52974.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52974","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00292,"epssPercentile":0.22225,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52974","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52974","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52974","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52974","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}