Description
In the Linux kernel, the following vulnerability has been resolved: net: atlantic: free RX pages of consumed but not refilled buffers aq_ring_rx_deinit() only walks [sw_head, sw_tail), the region posted to hardware. Since the page reuse strategy was added, a cleaned RX buffer keeps its page (and its DMA mapping) in the ring for reuse, and refill is batched: aq_ring_rx_fill() returns early until AQ_CFG_RX_REFILL_THRES slots are free. Slots that were consumed but not yet reposted therefore sit in the complementary [sw_tail, sw_head) gap with a live page, and the deinit walk never visits them: up to a refill batch worth of pages and DMA mappings leak on every interface down. Walk the whole ring instead and release whatever is still there. Also bail out if the buffer ring is already gone: a partial aq_ptp_ring_alloc() failure frees the ring but leaves aq_nic set, so aq_ptp_ring_deinit() still gets here on the unwind path.
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
46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < 1e58b0bab40dcbdfc04acaba6a221d40801c3770affected46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < 30c473ea097ef0c93b064281b3e295c97d17e28baffected46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < 17c99dd86f169c7a3e73d6778e79ef5b1ed3ceacaffected46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < ff451bc4290b79c04f1c5cfa928d448f9d47ecf5affected46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < 64e1346bc66b947eb80b848e4c8d9828ba50e0feaffected46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < 782cc40b7ade4614a8aec0b948b8cf95c69f8d4baffected46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < 24d87dc28ddd3771dd0e88719209811809729439affected46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 to < e8e7471ef686b6c002218fee9671cc61992ae01aaffected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.152 to ≤ 6.6.*unaffected6.12.104 to ≤ 6.12.*unaffected6.18.45 to ≤ 6.18.*unaffected7.1.9 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/1e58b0bab40dcbdfc04acaba6a221d40801c3770 ↗
- https://git.kernel.org/stable/c/30c473ea097ef0c93b064281b3e295c97d17e28b ↗
- https://git.kernel.org/stable/c/17c99dd86f169c7a3e73d6778e79ef5b1ed3ceac ↗
- https://git.kernel.org/stable/c/ff451bc4290b79c04f1c5cfa928d448f9d47ecf5 ↗
- https://git.kernel.org/stable/c/64e1346bc66b947eb80b848e4c8d9828ba50e0fe ↗
- https://git.kernel.org/stable/c/782cc40b7ade4614a8aec0b948b8cf95c69f8d4b ↗
- https://git.kernel.org/stable/c/24d87dc28ddd3771dd0e88719209811809729439 ↗
- https://git.kernel.org/stable/c/e8e7471ef686b6c002218fee9671cc61992ae01a ↗