5.5medium
iavf: Fix adminq error handling
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 before ff289f2be5899efd0e897d2b434a78e36df2c69b, from d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 before 4fe80492d53971d9a49f39f3c86d2d67c6f3638a, from d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 before dab6b551f5ba4c79a0dd4970dd8533c37a7b100f, from d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 before 35c63581fdefdcbaeae8cded18908523252353ad, from d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 before 419831617ed349992c84344dbd9e627f9e68f842, 3.14 Not affected: before 3.14, from 5.4.211 up to 5.4.*, from 5.10.138 up to 5.10.*, from 5.15.63 up to 5.15.*, from 5.19.4 up to 5.19.*, from 6.0 up to * | CVE List |
| linux linux_kernel | from 3.14 before 5.4.211, from 5.5 before 5.10.138, from 5.11 before 5.15.63, from 5.16 before 5.19.4, 6.0 | NVD |
What each source says
CVE List
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]
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iavf: Se corrige el error de administración de iavf_alloc_asq_bufs/iavf_alloc_arq_bufs al asignar memoria con dma_alloc_coherent para el buzón VF. Se liberan regiones DMA para ASQ y ARQ en caso de error durante la configuración de los registros ASQ/ARQ. Sin este cambio, al descargar la interfaz, se puede observar lo siguiente: 74626.583369: dma_debug_device_change: el controlador del dispositivo tiene asignaciones de DMA pendientes al ser liberado del dispositivo [count=32]. Una de las entradas filtradas detalla: [device address=0x0000000b27ff9000] [size=4096 bytes] [mapeado con DMA_BIDIRECTIONAL] [mapeado como coherente]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50055 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50055 changed 2026-06-17 | Public domain |