CVE-2024-41082

nvme-fabrics: use reserved tag for reg read/write command

No CVSS score yet EPSS 0.27%

Published 29 Jul 2024 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2024-41082

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-2024-41082 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:

nvme-fabrics: use reserved tag for reg read/write command

In some scenarios, if too many commands are issued by nvme command in the same time by user tasks, this may exhaust all tags of admin_q. If a reset (nvme reset or IO timeout) occurs before these commands finish, reconnect routine may fail to update nvme regs due to insufficient tags, which will cause kernel hang forever. In order to workaround this issue, maybe we can let reg_read32()/reg_read64()/reg_write32() use reserved tags. This maybe safe for nvmf:

1. For the disable ctrl path, we will not issue connect command 2. For the enable ctrl / fw activate path, since connect and reg_xx() are called serially.

So the reserved tags may still be enough while reg_xx() use reserved tags.

Exploitation

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

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6, before 2f07bdd363e95b71959d1ea1a7bca53c9e1f1efb
affected from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6, before cc91c461cf3902993364ea85d8814ba7786c95b1
affected from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6, before 165da9c67a26f08c9b956c15d701da7690f45bcb
affected from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6, before 7dc3bfcb4c9cc58970fff6aaa48172cb224d85aa
Other versions: unaffected
Linux
affected 5.4
unaffected before 5.4
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.9.11 up to and including 6.9.*
unaffected 6.10 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-2024-41082 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-41082

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-2024-41082
trivy image --scanners vuln IMAGE | grep CVE-2024-41082

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-2024-41082 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.