igbvf: Fix leak in TX DMA error cleanup
28Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 9.8epss 0.5%
probabilidade de exploração
0.5%top 57% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/0565052b7e2f436b7f1541f4849da96dc0aa7a0ehttps://git.kernel.org/stable/c/31089f4eab42e0fc248ec80c26f9b0bad59ba4cchttps://git.kernel.org/stable/c/56726ff12cb6759ab90d6f5332c2377aeca7d249https://git.kernel.org/stable/c/845a9cdd9b03b7b6fa8de3ee80579780350a7f65https://git.kernel.org/stable/c/bc25d56c03e41c10bc4b40e99ca5d7b941675c04https://git.kernel.org/stable/c/df07003b5a6c6c9fce60d765d6a3da815a74c41chttps://git.kernel.org/stable/c/e3ed89c257f6361f13df23023cd10ace830330adhttps://git.kernel.org/stable/c/e42b7225c45f57b42306b80cdd3bda202bae7293