{"id":"CVE-2022-50055","state":"PUBLISHED","title":"iavf: Fix adminq error handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niavf: Fix adminq error handling\n\niavf_alloc_asq_bufs/iavf_alloc_arq_bufs allocates with dma_alloc_coherent\nmemory for VF mailbox.\nFree DMA regions for both ASQ and ARQ in case error happens during\nconfiguration of ASQ/ARQ registers.\nWithout this change it is possible to see when unloading interface:\n74626.583369: dma_debug_device_change: device driver has pending DMA allocations while released from device [count=32]\nOne of leaked entries details: [device address=0x0000000b27ff9000] [size=4096 bytes] [mapped with DMA_BIDIRECTIONAL] [mapped as coherent]","publishedAt":"2025-06-18T11:01:59.568Z","updatedAt":"2026-05-11T19:11:58.564Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"ff289f2be5899efd0e897d2b434a78e36df2c69b","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"4fe80492d53971d9a49f39f3c86d2d67c6f3638a","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"dab6b551f5ba4c79a0dd4970dd8533c37a7b100f","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"35c63581fdefdcbaeae8cded18908523252353ad","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"419831617ed349992c84344dbd9e627f9e68f842","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/iavf/iavf_adminq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.14","versionType":"semver"},{"version":"5.4.211","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.138","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.63","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.4","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/iavf/iavf_adminq.c"]}],"references":["https://git.kernel.org/stable/c/ff289f2be5899efd0e897d2b434a78e36df2c69b","https://git.kernel.org/stable/c/4fe80492d53971d9a49f39f3c86d2d67c6f3638a","https://git.kernel.org/stable/c/dab6b551f5ba4c79a0dd4970dd8533c37a7b100f","https://git.kernel.org/stable/c/35c63581fdefdcbaeae8cded18908523252353ad","https://git.kernel.org/stable/c/419831617ed349992c84344dbd9e627f9e68f842"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50055.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50055","state":"PUBLISHED","datePublished":"2025-06-18T11:01:59.568Z","dateUpdated":"2026-05-11T19:11:58.564Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-06-18T10:57:27.403Z"},"containers":{"cna":{"title":"iavf: Fix adminq error handling","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niavf: Fix adminq error handling\n\niavf_alloc_asq_bufs/iavf_alloc_arq_bufs allocates with dma_alloc_coherent\nmemory for VF mailbox.\nFree DMA regions for both ASQ and ARQ in case error happens during\nconfiguration of ASQ/ARQ registers.\nWithout this change it is possible to see when unloading interface:\n74626.583369: dma_debug_device_change: device driver has pending DMA allocations while released from device [count=32]\nOne of leaked entries details: [device address=0x0000000b27ff9000] [size=4096 bytes] [mapped with DMA_BIDIRECTIONAL] [mapped as coherent]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"ff289f2be5899efd0e897d2b434a78e36df2c69b","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"4fe80492d53971d9a49f39f3c86d2d67c6f3638a","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"dab6b551f5ba4c79a0dd4970dd8533c37a7b100f","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"35c63581fdefdcbaeae8cded18908523252353ad","versionType":"git"},{"version":"d358aa9a7a2d5f91b1d33d5d4e27c2e46638d123","status":"affected","lessThan":"419831617ed349992c84344dbd9e627f9e68f842","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/iavf/iavf_adminq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.14","versionType":"semver"},{"version":"5.4.211","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.138","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.63","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.4","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/iavf/iavf_adminq.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ff289f2be5899efd0e897d2b434a78e36df2c69b"},{"url":"https://git.kernel.org/stable/c/4fe80492d53971d9a49f39f3c86d2d67c6f3638a"},{"url":"https://git.kernel.org/stable/c/dab6b551f5ba4c79a0dd4970dd8533c37a7b100f"},{"url":"https://git.kernel.org/stable/c/35c63581fdefdcbaeae8cded18908523252353ad"},{"url":"https://git.kernel.org/stable/c/419831617ed349992c84344dbd9e627f9e68f842"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:11:58.564Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"5.4.211"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"5.10.138"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"5.15.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"5.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}