CVE-2023-52974

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52974
Downstream
Related
Published
2025-03-27T17:15:44Z
Modified
2025-08-09T19:01:28Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

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

If during iscsiswtcpsessioncreate() iscsitcpr2tpoolalloc() fails, userspace could be accessing the host's ipaddress attr. If we then free the session via iscsisession_teardown() while userspace is still accessing the session we will hit a use after free bug.

Set the tcpswhost->session after we have completed session creation and can no longer fail.

References

Affected packages