Linux
igbvf: Fix leak in TX DMA error cleanup
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < e42b7225c45f57b42306b80cdd3bda202bae7293
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < e3ed89c257f6361f13df23023cd10ace830330ad
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < 56726ff12cb6759ab90d6f5332c2377aeca7d249
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < 31089f4eab42e0fc248ec80c26f9b0bad59ba4cc
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < bc25d56c03e41c10bc4b40e99ca5d7b941675c04
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < 845a9cdd9b03b7b6fa8de3ee80579780350a7f65
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < df07003b5a6c6c9fce60d765d6a3da815a74c41c
- >= c1fa347f20f17f14a4a1575727fa24340e8a9117, < 0565052b7e2f436b7f1541f4849da96dc0aa7a0e
Fixed in e42b7225c45f57b42306b80cdd3bda202bae7293, e3ed89c257f6361f13df23023cd10ace830330ad, 56726ff12cb6759ab90d6f5332c2377aeca7d249, 31089f4eab42e0fc248ec80c26f9b0bad59ba4cc, bc25d56c03e41c10bc4b40e99ca5d7b941675c04, 845a9cdd9b03b7b6fa8de3ee80579780350a7f65, df07003b5a6c6c9fce60d765d6a3da815a74c41c, 0565052b7e2f436b7f1541f4849da96dc0aa7a0e
- 2.6.33
Fixed in 0, 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to e42b7225c45f57b42306b80cdd3bda202bae7293 or e3ed89c257f6361f13df23023cd10ace830330ad or 56726ff12cb6759ab90d6f5332c2377aeca7d249 or 31089f4eab42e0fc248ec80c26f9b0bad59ba4cc or bc25d56c03e41c10bc4b40e99ca5d7b941675c04 or 845a9cdd9b03b7b6fa8de3ee80579780350a7f65 or df07003b5a6c6c9fce60d765d6a3da815a74c41c or 0565052b7e2f436b7f1541f4849da96dc0aa7a0e or later.
Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.151 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.