{"id":"CVE-2026-139223","summary":"nvme-fabrics: clear the poll map if no poll queues are mapped","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-fabrics: clear the poll map if no poll queues are mapped\n\nblk_mq_alloc_tag_set sets the nr_queues of every map to nr_hw_queues.\nWhen nr_poll_queues is set but no queues are left for polling,\nnvmf_map_queues skips the poll map and leaves it this way, with all CPUs\nmapped to hctx 0.  The queue then claims poll support, polled I/O ends\nup on hctx 0, which isn't a poll queue, and hctx 0 is marked as a poll\nhctx, so even the Connect command of the first I/O queue is marked as\npolled.\n\nClear the poll map when no poll queues are mapped, so polled I/O is\nrejected with -EOPNOTSUPP.","modified":"2026-12-01T21:02:37.015412225Z","published":"2026-11-30T13:32:45.031Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139223.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1fb8f424e4f039495a88a4ded10ced729bd3cb1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36ede1aa85d5d74c39ed375a906f6eadb15cee5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/725776b35028c8d68c9c0da803deb422a4312aca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81e65ef4eb6db24a2d46aa36d36129ad25631111"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdd0837de3afb0c86d88f9ce06c878f96496f7b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1d655889a125a1d12e1fa37fdaab304006b6d8b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139223.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139223"},{"type":"PACKAGE","url":"https://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":"81e65ef4eb6db24a2d46aa36d36129ad25631111"},{"fixed":"cdd0837de3afb0c86d88f9ce06c878f96496f7b6"},{"fixed":"725776b35028c8d68c9c0da803deb422a4312aca"},{"fixed":"d1d655889a125a1d12e1fa37fdaab304006b6d8b"},{"fixed":"1fb8f424e4f039495a88a4ded10ced729bd3cb1f"},{"fixed":"36ede1aa85d5d74c39ed375a906f6eadb15cee5b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d8a303bd8452396a928f5ca2c7957167b2d185f0"}]}],"versions":["v5.1.21","v5.1.20","v5.1.19","v5.1.18","v5.1.17","v5.1.16","v5.1.15","v5.1.14","v5.1.13","v5.1.12","v5.1.11","v5.1.10","v5.1.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139223.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.9"},{"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-139223.json"}}],"schema_version":"1.9.2"}