CVE-2026-139224: nvme-fabrics: reset io_queues before computing the queue mapping

Published Nov 30, 2026
·
Updated

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

nvme-fabrics: reset ioqueues before computing the queue mapping

nvmfsetioqueues only sets the ioqueues entries of the queue types it hands out, but the array is reused on every reconnect. When the controller grants fewer queues on a reconnect, stale entries survive and nvmfmapqueues maps CPUs to hardware contexts that don't exist anymore, which crashes blkmqmapswqueue with a NULL pointer dereference. E.g. with nrioqueues=8, nrwritequeues=8 and nrpollqueues=8, 24 queues are mapped 8/8/8 (default/read/poll). If the controller grants only 16 queues on the reconnect, the poll map still starts at hardware context 16.

Clear the array before computing the new mapping.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Reset the io_queues array before computing the queue mapping on reconnect.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this failure?

Systems using Linux NVMe over Fabrics are exposed when a controller reconnect occurs and grants fewer I/O queues than it granted previously. The stale queue mappings can then point CPUs at hardware contexts that no longer exist.

2

What conditions trigger the crash?

An affected controller must first establish queue mappings and later reconnect with a reduced queue allocation. If stale entries remain in the reused io_queues array, mapping can reach a nonexistent hardware context and cause blk_mq_map_swqueue to dereference a NULL pointer.

3

Is a normal initial connection sufficient to trigger the issue?

No. The described condition requires a reconnect after a prior connection, with the controller granting fewer queues on the reconnect than before.

4

What is the impact if the condition is reached?

The kernel can crash in blk_mq_map_swqueue because of a NULL pointer dereference.

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