What’s Vulnerable › Vulnerabilities
CVE-2022-48690: ice: Fix DMA mappings leak
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-03 · updated 2026-06-17
- Weakness: CWE-401
Description
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
Affected products
- Linux kernel: from 5.16.1 before 5.19.9; 5.16, 5.16-rc7, 5.16-rc8, 6.0-rc1, 6.0-rc2, 6.0-rc3 (+1) — fixed in 5.19.9
How to fix
Upgrade to a fixed version: Linux kernel 5.19.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/07f40e9f0ff342eb3e97d5c544783b7cb641689c
- https://git.kernel.org/stable/c/7e753eb675f0523207b184558638ee2eed6c9ac2
- https://git.kernel.org/stable/c/07f40e9f0ff342eb3e97d5c544783b7cb641689c
- https://git.kernel.org/stable/c/7e753eb675f0523207b184558638ee2eed6c9ac2
Get alerted when CVE-2022-48690 or the next vulnerability affects your stack