CVE-2026-139224
nvme-fabrics: reset io_queues before computing the queue mapping
Check your servers for CVE-2026-139224
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-2026-139224 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-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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5651cd3c43368873d0787b52acb2e0e08f3c5da4, before 94498c0363440da72de04cd8a3bff6465f4f4886 affected from 5651cd3c43368873d0787b52acb2e0e08f3c5da4, before 8bf33026231edefd87bbedbf21f4cf57924732ee affected from 5651cd3c43368873d0787b52acb2e0e08f3c5da4, before 7cd360c2fb439e60c777c00f2d49e6bbecbe83b0 affected from 5651cd3c43368873d0787b52acb2e0e08f3c5da4, before 2cde8f0ce90d3b78e74c6aed54c22374505552d2 affected from 5651cd3c43368873d0787b52acb2e0e08f3c5da4, before 0402ae823759c4dc695596f00a039dfd078b2e37 affected from 5651cd3c43368873d0787b52acb2e0e08f3c5da4, before 9588769af5fc8ac12290d48ce1014a78916681fc affected d8a303bd8452396a928f5ca2c7957167b2d185f0 affected 3111e132f46e64440878d7b855fc1709d20ff7d8 affected from 5.1.9, before 5.2 affected from 5.1.13, before 5.2
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 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-2026-139224 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139224
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-2026-139224
trivy image --scanners vuln IMAGE | grep CVE-2026-139224
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/94498c0363440da72de04cd8a3bff6465f4f4886 git.kernel.org
- https://git.kernel.org/stable/c/8bf33026231edefd87bbedbf21f4cf57924732ee git.kernel.org
- https://git.kernel.org/stable/c/7cd360c2fb439e60c777c00f2d49e6bbecbe83b0 git.kernel.org
- https://git.kernel.org/stable/c/2cde8f0ce90d3b78e74c6aed54c22374505552d2 git.kernel.org
- https://git.kernel.org/stable/c/0402ae823759c4dc695596f00a039dfd078b2e37 git.kernel.org
- https://git.kernel.org/stable/c/9588769af5fc8ac12290d48ce1014a78916681fc git.kernel.org
Source: the record CVE-2026-139224 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse