CVE-2023-54100

scsi: qedi: Fix use after free bug in qedi_remove()

7.8 high EPSS 0.17%

Published 24 Dec 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-54100

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54100 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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().

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.04% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4b1068f5d74b6cc92319bd7eba40809b1222e73f, before fa19c533ab19161298f0780bcc6523af88f6fd20
affected from 4b1068f5d74b6cc92319bd7eba40809b1222e73f, before 5e756a59cee6a8a79b9059c5bdf0ecbf5bb8d151
affected from 4b1068f5d74b6cc92319bd7eba40809b1222e73f, before 3738a230831e861503119ee2691c4a7dc56ed60a
affected from 4b1068f5d74b6cc92319bd7eba40809b1222e73f, before 89f6023fc321c958a0fb11f143a6eb4544ae3940
affected from 4b1068f5d74b6cc92319bd7eba40809b1222e73f, before 124027cd1a624ce0347adcd59241a9966a726b22
affected from 4b1068f5d74b6cc92319bd7eba40809b1222e73f, before c5749639f2d0a1f6cbe187d05f70c2e7c544d748
Other versions: unaffected
Linux
affected 5.7
unaffected before 5.7
unaffected from 5.10.180 up to and including 5.10.*
unaffected from 5.15.112 up to and including 5.15.*
unaffected from 6.1.29 up to and including 6.1.*
unaffected from 6.2.16 up to and including 6.2.*
unaffected from 6.3.3 up to and including 6.3.*
unaffected 6.4 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54100 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54100

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54100
trivy image --scanners vuln IMAGE | grep CVE-2023-54100

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54100 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.