CVE-2026-139224

Source
https://cve.org/CVERecord?id=CVE-2026-139224
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139224.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139224
Downstream
Published
2026-11-30T13:32:45Z
Modified
2026-11-30T15:00:19Z
Summary
nvme-fabrics: reset io_queues before computing the queue mapping
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139224.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5651cd3c43368873d0787b52acb2e0e08f3c5da4
Fixed
94498c0363440da72de04cd8a3bff6465f4f4886
Fixed
8bf33026231edefd87bbedbf21f4cf57924732ee
Fixed
7cd360c2fb439e60c777c00f2d49e6bbecbe83b0
Fixed
2cde8f0ce90d3b78e74c6aed54c22374505552d2
Fixed
0402ae823759c4dc695596f00a039dfd078b2e37
Fixed
9588769af5fc8ac12290d48ce1014a78916681fc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d8a303bd8452396a928f5ca2c7957167b2d185f0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3111e132f46e64440878d7b855fc1709d20ff7d8

Affected versions

v5.*
v5.1.10
v5.1.11
v5.1.12
v5.1.13
v5.1.14
v5.1.15
v5.1.16
v5.1.17
v5.1.18
v5.1.19
v5.1.20
v5.1.21
v5.1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139224.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1.13
Fixed
5.2
Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139224.json"