iavf: Fix adminq error handling (Linux Linux)

CVE-2022-50055
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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]

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 < ff289f2be5899efd0e897d2b434a78e36df2c69b ; affected d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 < 4fe80492d53971d9a49f39f3c86d2d67c6f3638a ; affected d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 < dab6b551f5ba4c79a0dd4970dd8533c37a7b100f ; affected d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 < 35c63581fdefdcbaeae8cded18908523252353ad ; affected d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123 < 419831617ed349992c84344dbd9e627f9e68f842
Linux · Linuxaffected 3.14 ; unaffected 0 < 3.14 ; unaffected 5.4.211 ≤ 5.4.* ; unaffected 5.10.138 ≤ 5.10.* ; unaffected 5.15.63 ≤ 5.15.* ; unaffected 5.19.4 ≤ 5.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD