In the Linux kernel, the following vulnerability has been resolved: igbvf: Fix leak in TX DMA error cleanup If an error is encountered while mapping TX buffers, the driver should unmap any buffers already mapped for that skb. Because count is incremented before each frag mapping, it will always match the correct number of unmappings needed when dma_error is reached. Decrementing count before the while loop in dma_error causes an off-by-one error. If any mapping was successful before an unsuccessful mapping, exactly one DMA mapping (the head) would leak. This bug was introduced by a 2010 fix for an endless loop in dma_error. All other affected drivers have already been fixed.
https://git.kernel.org/stable/c/e42b7225c45f57b42306b80cdd3bda202bae7293
https://git.kernel.org/stable/c/e3ed89c257f6361f13df23023cd10ace830330ad
https://git.kernel.org/stable/c/df07003b5a6c6c9fce60d765d6a3da815a74c41c
https://git.kernel.org/stable/c/bc25d56c03e41c10bc4b40e99ca5d7b941675c04
https://git.kernel.org/stable/c/845a9cdd9b03b7b6fa8de3ee80579780350a7f65
https://git.kernel.org/stable/c/56726ff12cb6759ab90d6f5332c2377aeca7d249
https://git.kernel.org/stable/c/31089f4eab42e0fc248ec80c26f9b0bad59ba4cc
https://git.kernel.org/stable/c/0565052b7e2f436b7f1541f4849da96dc0aa7a0e