CVE-2024-27435: nvme: fix reconnection fail due to reserved tag allocation

Published May 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nvme: fix reconnection fail due to reserved tag allocation

The Linux kernel CVE team has assigned CVE-2024-27435 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051710-CVE-2024-27435-c465@gregkh/T

Other sources

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, adminq 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 adminq, as we quiesced adminq while reset ctrl, so the request maked as idle and will not process before reset success. As fabricq shares tagset with adminq, 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 adminq. As a result, we failed to reconnect adminq forever. In order to fix this issue, I think we should keep two reserved tags for admin queue.

NVD

Affected Software

18 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Linux Linux kernel>=5.12.1<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
Linux Linux kernel=5.12
Linux Linux kernel=5.12-rc4
Linux Linux kernel=5.12-rc5
Linux Linux kernel=5.12-rc6
Linux Linux kernel=5.12-rc7
Linux Linux kernel=5.12-rc8
redhat/kernel<6.1.83
6.1.83
redhat/kernel<6.6.23
6.6.23
redhat/kernel<6.7.11
6.7.11
redhat/kernel<6.8.2
6.8.2
redhat/kernel<6.9
6.9
Microsoft azl3 hyperv-daemons 6.6.35.1-1
Microsoft azl3 hyperv-daemons 6.6.22.1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.83
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.23
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.7.11
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.2
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9
  7. Upgrade

    Upgrade Linux kernel nvme: fix reconnection fail due to reserved tag allocation to a version that resolves this vulnerability.

    Fixed in CVE-2024-27435
  8. Compensating control

    For NVMe over RDMA environments affected by CVE-2024-27435, ensure reconnect/reset handling does not leave reserved NVMe tag(s) held by a keep-alive request within admin_q, since fabric_q shares the same tagset and the connect command cannot obtain a reserved tag until the admin_q-resident keep-alive can complete.

Event History

May 17, 2024
CVE Published
via MITRE·12:12 PM
Data Sourced
via MITRE·12:12 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
RemedyWeaknessAffected Software
Data Sourced
via Red Hat·10:26 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:15 AM
Description
Sep 11, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27435?

CVE-2024-27435 is considered a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-27435?

To fix CVE-2024-27435, update the Linux kernel to version 6.1.83 or later, depending on your distribution.

3

Which Linux kernel versions are affected by CVE-2024-27435?

CVE-2024-27435 affects several kernel versions including various 6.x versions and specific 5.10 versions.

4

What types of systems are impacted by CVE-2024-27435?

CVE-2024-27435 impacts systems running affected versions of the Linux kernel, which may include servers, desktops, and embedded systems.

5

Is there a workaround for CVE-2024-27435?

There are no known workarounds for CVE-2024-27435; the best practice is to apply the available kernel update.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203