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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:32:45.773Z
- Modified: 2026-11-30T14:18:43.007Z
- Assigned by: Linux

## Description

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

nvme-fabrics: reset io_queues before computing the queue mapping

nvmf_set_io_queues only sets the io_queues 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
nvmf_map_queues maps CPUs to hardware contexts that don't exist anymore,
which crashes blk_mq_map_swqueue with a NULL pointer dereference.  E.g.
with nr_io_queues=8, nr_write_queues=8 and nr_poll_queues=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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5651cd3c43368873d0787b52acb2e0e08f3c5da4 before 94498c0363440da72de04cd8a3bff6465f4f4886; from 5651cd3c43368873d0787b52acb2e0e08f3c5da4 before 8bf33026231edefd87bbedbf21f4cf57924732ee; from 5651cd3c43368873d0787b52acb2e0e08f3c5da4 before 7cd360c2fb439e60c777c00f2d49e6bbecbe83b0; from 5651cd3c43368873d0787b52acb2e0e08f3c5da4 before 2cde8f0ce90d3b78e74c6aed54c22374505552d2; from 5651cd3c43368873d0787b52acb2e0e08f3c5da4 before 0402ae823759c4dc695596f00a039dfd078b2e37; from 5651cd3c43368873d0787b52acb2e0e08f3c5da4 before 9588769af5fc8ac12290d48ce1014a78916681fc; d8a303bd8452396a928f5ca2c7957167b2d185f0; 3111e132f46e64440878d7b855fc1709d20ff7d8; from 5.1.9 before 5.2; from 5.1.13 before 5.2; 5.2 (not affected: before 5.2; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/94498c0363440da72de04cd8a3bff6465f4f4886>
- <https://git.kernel.org/stable/c/8bf33026231edefd87bbedbf21f4cf57924732ee>
- <https://git.kernel.org/stable/c/7cd360c2fb439e60c777c00f2d49e6bbecbe83b0>
- <https://git.kernel.org/stable/c/2cde8f0ce90d3b78e74c6aed54c22374505552d2>
- <https://git.kernel.org/stable/c/0402ae823759c4dc695596f00a039dfd078b2e37>
- <https://git.kernel.org/stable/c/9588769af5fc8ac12290d48ce1014a78916681fc>

## Sources

- CVE List: [CVE-2026-139224](https://www.cve.org/CVERecord?id=CVE-2026-139224), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139224](https://nvd.nist.gov/vuln/detail/CVE-2026-139224), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139224 · Whole record: https://cve.day/CVE-2026-139224.json · Rebuilt by cve.day 2026-11-30T14:32:56.515Z
