Bug 2355469 (CVE-2023-52974) - CVE-2023-52974 kernel: scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
Summary: CVE-2023-52974 kernel: scsi: iscsi_tcp: Fix UAF during login when accessing t...
Keywords:
Status: NEW
Alias: CVE-2023-52974
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-27 17:03 UTC by OSIDB Bzimport
Modified: 2025-04-04 12:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-27 17:03:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.