CVE-2023-54100
published high CVSS 3.1 · 7.8scsi: qedi: Fix use after free bug in qedi_remove()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4b1068f5d74b6cc92319bd7eba40809b1222e73f to < fa19c533ab19161298f0780bcc6523af88f6fd20 · 4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151 · 4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 3738a230831e861503119ee2691c4a7dc56ed60a · 4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 89f6023fc321c958a0fb11f143a6eb4544ae3940 · 4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 124027cd1a624ce0347adcd59241a9966a726b22 · 4b1068f5d74b6cc92319bd7eba40809b1222e73f to < c5749639f2d0a1f6cbe187d05f70c2e7c544d748 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 5.10.180 through 5.10.* (unaffected · semver) · 5.15.112 through 5.15.* (unaffected · semver) · 6.1.29 through 6.1.* (unaffected · semver) · 6.2.16 through 6.2.* (unaffected · semver) · 6.3.3 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 | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-034 | 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 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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: qedi: Fix use after free bug in qedi_remove() In qedi_probe() we call __qedi_probe() which initializes &qedi->recovery_work with qedi_recovery_handler() and &qedi->board_disable_work with qedi_board_disable_work(). When qedi_schedule_recovery_handler() is called, schedule_delayed_work() will finally start the work. In qedi_remove(), which is called to remove the driver, the following sequence may be observed: Fix this by finishing the work before cleanup in qedi_remove(). CPU0 CPU1 |qedi_recovery_handler qedi_remove | __qedi_remove | iscsi_host_free | scsi_host_put | //free shost | |iscsi_host_for_each_session |//use qedi->shost Cancel recovery_work and board_disable_work in __qedi_remove().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The race is between local PCI driver teardown (unbind/rmmod/hotplug of the QLogic FastLinQ iSCSI device) and a locally-schedulable recovery work item; there is no remote or network-facing path into `qedi_remove()` or the devlink health-reporter recover op. AC:L - An attacker with local access controls the timing of the device-removal side and can repeatedly re-trigger the recovery/board-disable work (devlink fw_fatal recover, MFW error paths) to widen the window, so the race can be driven deterministically rather than depending on conditions outside the attacker's influence. PR:L - Consistent with prior scoring of this driver-teardown UAF class (e.g. CVE-2025-37838), a low-privileged local account on a host exporting the qedi device/devlink interfaces is treated as sufficient; no authentication beyond local account access is needed to reach the racing work handler. UI:N - Both sides of the race are attacker-driven administrative/driver events; no victim action such as opening a file or mounting a filesystem is required. S:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `qedi_ctx` is embedded in the freed `Scsi_Host` allocation, so the handler reads `qedi->shost`, `qedi->cdev`, and `qedi->pdev` out of freed slab memory; an attacker who reclaims that slot obtains a controlled read primitive and can disclose arbitrary kernel memory. I:H - `qedi_recovery_handler()` calls `__qedi_remove()` followed by `__qedi_probe()` on the freed context, writing function pointers, work_structs, and DMA state into the reclaimed allocation — a powerful write primitive suitable for control-flow hijacking. A:H - Even unexploited, dereferencing and re-initializing the freed `Scsi_Host`/`qedi_ctx` and iterating its session list produces slab corruption and a kernel oops/panic.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4b1068f5d74b6cc92319bd7eba40809b1222e73f to < fa19c533ab19161298f0780bcc6523af88f6fd20 (affected · git)4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151 (affected · git)4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 3738a230831e861503119ee2691c4a7dc56ed60a (affected · git)4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 89f6023fc321c958a0fb11f143a6eb4544ae3940 (affected · git)4b1068f5d74b6cc92319bd7eba40809b1222e73f to < 124027cd1a624ce0347adcd59241a9966a726b22 (affected · git)4b1068f5d74b6cc92319bd7eba40809b1222e73f to < c5749639f2d0a1f6cbe187d05f70c2e7c544d748 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.7 (affected)0 to < 5.7 (unaffected · semver)5.10.180 through 5.10.* (unaffected · semver)5.15.112 through 5.15.* (unaffected · semver)6.1.29 through 6.1.* (unaffected · semver)6.2.16 through 6.2.* (unaffected · semver)6.3.3 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/124027cd1a624ce0347adcd59241a9966a726b22
- https://git.kernel.org/stable/c/3738a230831e861503119ee2691c4a7dc56ed60a
- https://git.kernel.org/stable/c/5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151
- https://git.kernel.org/stable/c/89f6023fc321c958a0fb11f143a6eb4544ae3940
- https://git.kernel.org/stable/c/c5749639f2d0a1f6cbe187d05f70c2e7c544d748
- https://git.kernel.org/stable/c/fa19c533ab19161298f0780bcc6523af88f6fd20
Provider assertions
1Linux · cna
scsi: qedi: Fix use after free bug in qedi_remove()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa5a7c17daa0d132d73e0696778d67f524c78c97eb4c647c92540aedc9fcb95b
- Ingested
- 23 Sep 2026, 08:15:07 UTC
- Source record
- Official CVE record