CVE-2022-48690

In the Linux kernel, the following vulnerability has been resolved: ice: Fix DMA mappings leak Fix leak, when user changes ring parameters. During reallocation of RX buffers, new DMA mappings are created for those buffers. New buffers with different RX ring count should substitute older ones, but those buffers were freed in ice_vsi_cfg_rxq and reallocated again with ice_alloc_rx_buf. kfree on rx_buf caused leak of already mapped DMA. Reallocate ZC with xdp_buf struct, when BPF program loads. Reallocate back to rx_buf, when BPF program unloads. If BPF program is loaded/unloaded and XSK pools are created, reallocate RX queues accordingly in XDP_SETUP_XSK_POOL handler. Steps for reproduction: while : do for ((i=0; i<=8160; i=i+32)) do ethtool -G enp130s0f0 rx $i tx $i sleep 0.5 ethtool -g enp130s0f0 done done
CVSS

No CVSS.

Configurations

No configuration.

History

03 May 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-03 18:15

Updated : 2024-05-06 12:44


NVD link : CVE-2022-48690

Mitre link : CVE-2022-48690

CVE.ORG link : CVE-2022-48690


JSON object : View

Products Affected

No product.

CWE

No CWE.