CVE-2022-48690

Source
https://cve.org/CVERecord?id=CVE-2022-48690
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48690.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48690
Downstream
Related
Published
2024-05-03T17:44:31Z
Modified
2026-08-12T03:51:29Z
Summary
ice: Fix DMA mappings leak
Details

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48690.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
617f3e1b588c802517c236087561c6bcb0b4afd6
Fixed
07f40e9f0ff342eb3e97d5c544783b7cb641689c
Fixed
7e753eb675f0523207b184558638ee2eed6c9ac2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48690.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48690.json"