net: hip04: fix RX buffer leak on build_skb failure
0Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Track
probabilidad de explotación
—
explotación observada
noninguna fuente lo reporta
In the Linux kernel, the following vulnerability has been resolved:
net: hip04: fix RX buffer leak on build_skb failure
When build_skb() fails in hip04_rx_poll(), the driver jumps to the
refill path without releasing the current RX buffer and its DMA mapping.
Installing a replacement buffer then overwrites the slot references and
leaks both resources.
Keep the current slot intact and return budget so NAPI retries the same
buffer. Also free a newly allocated RX fragment when dma_map_single()
fails.
This issue was found by an in-house static analysis tool.
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/14fa65d10f5696b063a7d8d26e8291ea84a2c6edhttps://git.kernel.org/stable/c/67a7614bde310da006ab259f4f163d3fb0f9e253https://git.kernel.org/stable/c/80d977f280b4eccd4ac5369871d0ecb2b9c9a49dhttps://git.kernel.org/stable/c/a0f247d63489a107bbc3b712a77b302af2a2a173https://git.kernel.org/stable/c/e054dcd990d8180cde529ea28ce0838e76a5ad5e