net: atlantic: free RX pages of consumed but not refilled buffers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ff451bc4290b79c04f1c5cfa928d448f9d47ecf5, Kernel 17c99dd86f169c7a3e73d6778e79ef5b1ed3ceac, Kernel 1e58b0bab40dcbdfc04acaba6a221d40801c3770 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <ff451bc4290b79c04f1c5cfa928d448f9d47ecf5, >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <17c99dd86f169c7a3e73d6778e79ef5b1ed3ceac, >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <1e58b0bab40dcbdfc04acaba6a221d40801c3770, >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <24d87dc28ddd3771dd0e88719209811809729439, >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <30c473ea097ef0c93b064281b3e295c97d17e28b, >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <64e1346bc66b947eb80b848e4c8d9828ba50e0fe, >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <782cc40b7ade4614a8aec0b948b8cf95c69f8d4b, >=46f4c29d9de6e4a9d4ed7de9a37dd42501d89f86 <e8e7471ef686b6c002218fee9671cc61992ae01a, =5.2 | ff451bc4290b79c04f1c5cfa928d448f9d47ecf5, 17c99dd86f169c7a3e73d6778e79ef5b1ed3ceac, 1e58b0bab40dcbdfc04acaba6a221d40801c3770, 24d87dc28ddd3771dd0e88719209811809729439, 30c473ea097ef0c93b064281b3e295c97d17e28b, 64e1346bc66b947eb80b848e4c8d9828ba50e0fe, 782cc40b7ade4614a8aec0b948b8cf95c69f8d4b, e8e7471ef686b6c002218fee9671cc61992ae01a |
| linux-kernel: Kernel | >=5.16.0 <6.1.183, >=5.2.0 <5.10.265, >=6.13.0 <6.18.45, >=6.19.0 <7.1.9, >=6.2.0 <6.6.152, >=6.7.0 <6.12.104, >=5.11.0 <5.15.216 | 6.1.183, 5.10.265, 6.18.45, 7.1.9, 6.6.152, 6.12.104, 5.15.216 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket