Description
In the Linux kernel, the following vulnerability has been resolved: nvme-fabrics: clear the poll map if no poll queues are mapped blk_mq_alloc_tag_set sets the nr_queues of every map to nr_hw_queues. When nr_poll_queues is set but no queues are left for polling, nvmf_map_queues skips the poll map and leaves it this way, with all CPUs mapped to hctx 0. The queue then claims poll support, polled I/O ends up on hctx 0, which isn't a poll queue, and hctx 0 is marked as a poll hctx, so even the Connect command of the first I/O queue is marked as polled. Clear the poll map when no poll queues are mapped, so polled I/O is rejected with -EOPNOTSUPP.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
5651cd3c43368873d0787b52acb2e0e08f3c5da4 to < 81e65ef4eb6db24a2d46aa36d36129ad25631111affected5651cd3c43368873d0787b52acb2e0e08f3c5da4 to < cdd0837de3afb0c86d88f9ce06c878f96496f7b6affected5651cd3c43368873d0787b52acb2e0e08f3c5da4 to < 725776b35028c8d68c9c0da803deb422a4312acaaffected5651cd3c43368873d0787b52acb2e0e08f3c5da4 to < d1d655889a125a1d12e1fa37fdaab304006b6d8baffected5651cd3c43368873d0787b52acb2e0e08f3c5da4 to < 1fb8f424e4f039495a88a4ded10ced729bd3cb1faffected5651cd3c43368873d0787b52acb2e0e08f3c5da4 to < 36ede1aa85d5d74c39ed375a906f6eadb15cee5baffectedd8a303bd8452396a928f5ca2c7957167b2d185f0affected5.1.9 to < 5.2affected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/81e65ef4eb6db24a2d46aa36d36129ad25631111 ↗
- https://git.kernel.org/stable/c/cdd0837de3afb0c86d88f9ce06c878f96496f7b6 ↗
- https://git.kernel.org/stable/c/725776b35028c8d68c9c0da803deb422a4312aca ↗
- https://git.kernel.org/stable/c/d1d655889a125a1d12e1fa37fdaab304006b6d8b ↗
- https://git.kernel.org/stable/c/1fb8f424e4f039495a88a4ded10ced729bd3cb1f ↗
- https://git.kernel.org/stable/c/36ede1aa85d5d74c39ed375a906f6eadb15cee5b ↗