net: atlantic: free RX pages of consumed but not refilled buffers
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.2
References 8
git.kernel.org
- stable/c/1e58b0bab40dcbdfc04acaba6a221d40801c3770
- stable/c/30c473ea097ef0c93b064281b3e295c97d17e28b
- stable/c/17c99dd86f169c7a3e73d6778e79ef5b1ed3ceac
- stable/c/ff451bc4290b79c04f1c5cfa928d448f9d47ecf5
- stable/c/64e1346bc66b947eb80b848e4c8d9828ba50e0fe
- stable/c/782cc40b7ade4614a8aec0b948b8cf95c69f8d4b
- stable/c/24d87dc28ddd3771dd0e88719209811809729439
- stable/c/e8e7471ef686b6c002218fee9671cc61992ae01a