PT-2025-49710 · Linux+2 · Linux Kernel+2
Published
2025-12-09
·
Updated
2026-02-24
·
CVE-2022-50679
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contained a flaw related to DMA mappings within the i40e network driver. Specifically, a memory leak occurred during the reallocation of RX (receive) buffers. This issue stemmed from the incorrect handling of DMA mappings when buffers were reallocated, leading to a
kfree operation on already mapped DMA memory. The problem was triggered when BPF programs were loaded and unloaded, and XSK pools were created, causing RX queues to be improperly reallocated. The root cause was that new buffers with different RX ring counts were substituting older ones, but the older buffers were freed in i40e configure rx ring and reallocated again with i40e alloc rx bi, resulting in the memory leak. The fix involves reallocating ZC with the rx bi zc struct when a BPF program loads and reallocating it back to rx bi when the BPF program unloads. Additionally, RX queues should be reallocated accordingly in the XSP SETUP XSK POOL handler when BPF programs are loaded/unloaded and XSK pools are created.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux Kernel
Red Hat
I40E