Description
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.
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
701a0fd5231866db08cebcd502894699f49cb960 to < 690ecc13a4032e5cae1dc6659512f32b033533b0affected701a0fd5231866db08cebcd502894699f49cb960 to < 2b19fe277645fd1aeb18fd4ecdcf31966080dee7affected701a0fd5231866db08cebcd502894699f49cb960 to < bcd43ee1f25b682151df213c06a99b2e1c1cf2e5affected701a0fd5231866db08cebcd502894699f49cb960 to < e054dcd990d8180cde529ea28ce0838e76a5ad5eaffected701a0fd5231866db08cebcd502894699f49cb960 to < 67a7614bde310da006ab259f4f163d3fb0f9e253affected701a0fd5231866db08cebcd502894699f49cb960 to < 80d977f280b4eccd4ac5369871d0ecb2b9c9a49daffected701a0fd5231866db08cebcd502894699f49cb960 to < a0f247d63489a107bbc3b712a77b302af2a2a173affected701a0fd5231866db08cebcd502894699f49cb960 to < 14fa65d10f5696b063a7d8d26e8291ea84a2c6edaffected
Linux Linux
Default version status: affected
4.5affected0 to < 4.5unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/690ecc13a4032e5cae1dc6659512f32b033533b0 ↗
- https://git.kernel.org/stable/c/2b19fe277645fd1aeb18fd4ecdcf31966080dee7 ↗
- https://git.kernel.org/stable/c/bcd43ee1f25b682151df213c06a99b2e1c1cf2e5 ↗
- https://git.kernel.org/stable/c/e054dcd990d8180cde529ea28ce0838e76a5ad5e ↗
- https://git.kernel.org/stable/c/67a7614bde310da006ab259f4f163d3fb0f9e253 ↗
- https://git.kernel.org/stable/c/80d977f280b4eccd4ac5369871d0ecb2b9c9a49d ↗
- https://git.kernel.org/stable/c/a0f247d63489a107bbc3b712a77b302af2a2a173 ↗
- https://git.kernel.org/stable/c/14fa65d10f5696b063a7d8d26e8291ea84a2c6ed ↗