CVE-2024-27435
nvme: fix reconnection fail due to reserved tag allocation
Check your servers for CVE-2024-27435
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-27435 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
nvme: fix reconnection fail due to reserved tag allocation
We found a issue on production environment while using NVMe over RDMA, admin_q reconnect failed forever while remote target and network is ok. After dig into it, we found it may caused by a ABBA deadlock due to tag allocation. In my case, the tag was hold by a keep alive request waiting inside admin_q, as we quiesced admin_q while reset ctrl, so the request maked as idle and will not process before reset success. As fabric_q shares tagset with admin_q, while reconnect remote target, we need a tag for connect command, but the only one reserved tag was held by keep alive command which waiting inside admin_q. As a result, we failed to reconnect admin_q forever. In order to fix this issue, I think we should keep two reserved tags for admin queue.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 31 May 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.
| Product | Versions |
|---|---|
| Linux |
affected from ed01fee283a067c72b2d6500046080dbc1bb9dae, before 149afee5c7418ec5db9d7387b9c9a5c1eb7ea2a8 affected from ed01fee283a067c72b2d6500046080dbc1bb9dae, before ff2f90f88d78559802466ad1c84ac5bda4416b3a affected from ed01fee283a067c72b2d6500046080dbc1bb9dae, before 6851778504cdb49431809b4ba061903d5f592c96 affected from ed01fee283a067c72b2d6500046080dbc1bb9dae, before 262da920896e2f2ab0e3947d9dbee0aa09045818 affected from ed01fee283a067c72b2d6500046080dbc1bb9dae, before de105068fead55ed5c07ade75e9c8e7f86a00d1d
Other versions: unaffected
|
| Linux |
affected 5.12 unaffected before 5.12 unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 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-27435 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27435
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-27435
trivy image --scanners vuln IMAGE | grep CVE-2024-27435
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
- https://git.kernel.org/stable/c/149afee5c7418ec5db9d7387b9c9a5c1eb7ea2a8 git.kernel.org
- https://git.kernel.org/stable/c/ff2f90f88d78559802466ad1c84ac5bda4416b3a git.kernel.org
- https://git.kernel.org/stable/c/6851778504cdb49431809b4ba061903d5f592c96 git.kernel.org
- https://git.kernel.org/stable/c/262da920896e2f2ab0e3947d9dbee0aa09045818 git.kernel.org
- https://git.kernel.org/stable/c/de105068fead55ed5c07ade75e9c8e7f86a00d1d git.kernel.org
Source: the record CVE-2024-27435 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.
Vulnpocalypse