CVE-2023-52974
Last modified
CVE-2023-52974 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 4.14.306 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.273 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.232 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.168 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.93 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.11 | — |
| Linux | Linux Kernel | 6.2 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-52974?
How severe is CVE-2023-52974?
How do I fix CVE-2023-52974?
Are you affected by CVE-2023-52974?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
