Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c1fa347f20f17f14a4a1575727fa24340e8a9117 to < e42b7225c45f57b42306b80cdd3bda202bae7293affectedc1fa347f20f17f14a4a1575727fa24340e8a9117 to < e3ed89c257f6361f13df23023cd10ace830330adaffectedc1fa347f20f17f14a4a1575727fa24340e8a9117 to < 56726ff12cb6759ab90d6f5332c2377aeca7d249affectedc1fa347f20f17f14a4a1575727fa24340e8a9117 to < 31089f4eab42e0fc248ec80c26f9b0bad59ba4ccaffectedc1fa347f20f17f14a4a1575727fa24340e8a9117 to < bc25d56c03e41c10bc4b40e99ca5d7b941675c04affectedc1fa347f20f17f14a4a1575727fa24340e8a9117 to < 845a9cdd9b03b7b6fa8de3ee80579780350a7f65affectedc1fa347f20f17f14a4a1575727fa24340e8a9117 to < df07003b5a6c6c9fce60d765d6a3da815a74c41caffectedc1fa347f20f17f14a4a1575727fa24340e8a9117 to < 0565052b7e2f436b7f1541f4849da96dc0aa7a0eaffected
Linux Linux
Default version status: affected
2.6.33affected0 to < 2.6.33unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.151 to ≤ 6.6.*unaffected6.12.103 to ≤ 6.12.*unaffected6.18.44 to ≤ 6.18.*unaffected7.1.8 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/e42b7225c45f57b42306b80cdd3bda202bae7293 ↗
- https://git.kernel.org/stable/c/e3ed89c257f6361f13df23023cd10ace830330ad ↗
- https://git.kernel.org/stable/c/56726ff12cb6759ab90d6f5332c2377aeca7d249 ↗
- https://git.kernel.org/stable/c/31089f4eab42e0fc248ec80c26f9b0bad59ba4cc ↗
- https://git.kernel.org/stable/c/bc25d56c03e41c10bc4b40e99ca5d7b941675c04 ↗
- https://git.kernel.org/stable/c/845a9cdd9b03b7b6fa8de3ee80579780350a7f65 ↗
- https://git.kernel.org/stable/c/df07003b5a6c6c9fce60d765d6a3da815a74c41c ↗
- https://git.kernel.org/stable/c/0565052b7e2f436b7f1541f4849da96dc0aa7a0e ↗