What’s Vulnerable › Vulnerabilities

CVE-2022-50055: iavf: Fix adminq error handling

Description

In the Linux kernel, the following vulnerability has been resolved: iavf: Fix adminq error handling iavf_alloc_asq_bufs/iavf_alloc_arq_bufs allocates with dma_alloc_coherent memory for VF mailbox. Free DMA regions for both ASQ and ARQ in case error happens during configuration of ASQ/ARQ registers. Without this change it is possible to see when unloading interface: 74626.583369: dma_debug_device_change: device driver has pending DMA allocations while released from device [count=32] One of leaked entries details: [device address=0x0000000b27ff9000] [size=4096 bytes] [mapped with DMA_BIDIRECTIONAL] [mapped as coherent]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.138, 5.15.63, 5.19.4, 5.4.211. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50055 or the next vulnerability affects your stack