Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-54184

published critical CVSS 3.1 · 9.8

scsi: target: iscsit: Free cmds before session free

Published
30 Dec 2025, 12:08:54 UTC
Updated
05 Aug 2026, 09:17:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux988e3a85463d9b6dabc681df3f8f131b23c19953 to < 89f5055f9b0b57c7e7f02e32df95ef401f809b71 · 988e3a85463d9b6dabc681df3f8f131b23c19953 to < 4621e24c9257c6379343bf0c11b473817cf7edcd · 988e3a85463d9b6dabc681df3f8f131b23c19953 to < 1911cca5916b6e106de7afa3ec0a38447158216c · 988e3a85463d9b6dabc681df3f8f131b23c19953 to < a7a4def6c7046e090bb10c6d550fdeb487db98ba · 988e3a85463d9b6dabc681df3f8f131b23c19953 to < 4ce221d295f53e6c6b835ab33181e735482c9aac · 988e3a85463d9b6dabc681df3f8f131b23c19953 to < d8990b5a4d065f38f35d69bcd627ec5a7f8330ca · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.12 (affected) · 0 to < 3.12 (unaffected · semver) · 5.4.244 through 5.4.* (unaffected · semver) · 5.10.181 through 5.10.* (unaffected · semver) · 5.15.113 through 5.15.* (unaffected · semver) · 6.1.30 through 6.1.* (unaffected · semver) · 6.3.4 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-034 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2023-047 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2023-228 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The LIO in-kernel iSCSI target (drivers/target/iscsi) serves remote initiators over TCP/3260, and the entire trigger sequence — ERL=2 login negotiation, issuing SCSI commands, and dropping the connection to strand them in a recovery entry — is performed purely with network PDUs from a remote peer. AC:L - The free-then-use ordering in iscsit_close_session() is unconditional, not a race, so a remote initiator deterministically reaches it by negotiating ErrorRecoveryLevel=2, leaving commands outstanding, and dropping the TCP connection until the Time2Retain timer expires; connection-recovery (default_erl=2) is a supported deployment configuration, i.e. part of the vulnerable configuration rather than a condition outside the attacker's control. PR:N - iscsi_conn_auth_required() defers entirely to the TPG/ACL authentication attribute, and iSCSI targets are routinely deployed with authentication disabled and/or generate_node_acls=1 (demo mode), letting any host that can reach TCP/3260 establish a normal session with no credentials whatsoever. UI:N - No action by any local user or administrator is needed; the attacker drives session setup, connection failure, and the Time2Retain expiry entirely from the network. S:U - The use-after-free corrupts kernel memory within the same security authority as the vulnerable kernel; no VM, IOMMU, or sandbox boundary is crossed. C:H - iscsit_free_cmd() dereferences struct iscsit_cmd objects living inside the kvfree'd sess_cmd_map and the freed se_sess, so contents of reallocated kernel memory are read back and acted upon; an attacker who reclaims that region with sprayed iSCSI data gains a controlled read/disclosure primitive. I:H - The UAF writes into freed memory (list_del_init on datain/r2t lists, cmd->conn = NULL, spinlock acquisition, sbitmap_queue_clear into the freed tag pool) and performs kfree() on cmd->buf_ptr and cmd->pdu_list pointers read out of freed memory, yielding arbitrary-free and heap-corruption primitives suitable for control-flow hijacking. A:H - The reported failure is a kernel NULL pointer dereference in sbitmap_queue_clear() from call_timer_fn() (softirq context), an immediate oops/panic that a remote attacker can trigger repeatedly by opening and abandoning sessions.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 988e3a85463d9b6dabc681df3f8f131b23c19953 to < 89f5055f9b0b57c7e7f02e32df95ef401f809b71 (affected · git)988e3a85463d9b6dabc681df3f8f131b23c19953 to < 4621e24c9257c6379343bf0c11b473817cf7edcd (affected · git)988e3a85463d9b6dabc681df3f8f131b23c19953 to < 1911cca5916b6e106de7afa3ec0a38447158216c (affected · git)988e3a85463d9b6dabc681df3f8f131b23c19953 to < a7a4def6c7046e090bb10c6d550fdeb487db98ba (affected · git)988e3a85463d9b6dabc681df3f8f131b23c19953 to < 4ce221d295f53e6c6b835ab33181e735482c9aac (affected · git)988e3a85463d9b6dabc681df3f8f131b23c19953 to < d8990b5a4d065f38f35d69bcd627ec5a7f8330ca (affected · git)Default: unaffected Linux · cna
Linux Linux 3.12 (affected)0 to < 3.12 (unaffected · semver)5.4.244 through 5.4.* (unaffected · semver)5.10.181 through 5.10.* (unaffected · semver)5.15.113 through 5.15.* (unaffected · semver)6.1.30 through 6.1.* (unaffected · semver)6.3.4 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

scsi: target: iscsit: Free cmds before session free

Provenance

Schema
5.2
Searchable
yes
Content hash
15845a52e6ee88676ac2cbe6398a01eea964fe6172f4d694d07e909a0bb42c37
Ingested
23 Sep 2026, 08:15:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected