Vulnerabilities · 2023 · Linux
CVE-2023-52974
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6 · Patch
- git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4 · Patch
- git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441 · Patch
- git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0 · Patch
- git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0 · Patch
- git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9 · Patch
- git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3 · Patch
- nvd.nist.gov/vuln/detail/CVE-2023-52974
- cve.org/CVERecord?id=CVE-2023-52974
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.