CVE-2023-54184 Details
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsit: Free cmds before session free Commands from recovery entries are freed after session has been closed. That leads to use-after-free at command free or NPE with such call trace: Time2Retain timer expired for SID: 1, cleaning up iSCSI session. BUG: kernel NULL pointer dereference, address: 0000000000000140 RIP: 0010:sbitmap_queue_clear+0x3a/0xa0 Call Trace: target_release_cmd_kref+0xd1/0x1f0 [target_core_mod] transport_generic_free_cmd+0xd1/0x180 [target_core_mod] iscsit_free_cmd+0x53/0xd0 [iscsi_target_mod] iscsit_free_connection_recovery_entries+0x29d/0x320 [iscsi_target_mod] iscsit_close_session+0x13a/0x140 [iscsi_target_mod] iscsit_check_post_dataout+0x440/0x440 [iscsi_target_mod] call_timer_fn+0x24/0x140 Move cleanup of recovery enrties to before session freeing.
A use-after-free vulnerability has been identified in the iSCSI target component of the Linux kernel. This issue arises because commands from recovery entries are freed after the associated iSCSI session has been closed. The vulnerability can lead to a null pointer dereference, causing a kernel crash. The problem was introduced in the iSCSI target module and affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1911cca5916b6e106de7afa3ec0a38447158216c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4621e24c9257c6379343bf0c11b473817cf7edcd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4ce221d295f53e6c6b835ab33181e735482c9aac | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/89f5055f9b0b57c7e7f02e32df95ef401f809b71 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a7a4def6c7046e090bb10c6d550fdeb487db98ba | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/d8990b5a4d065f38f35d69bcd627ec5a7f8330ca | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion